Class: Google::Apis::CloudidentityV1beta1::OidcRpConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::OidcRpConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
OIDC RP (relying party) configuration.
Instance Attribute Summary collapse
-
#client_id ⇒ String
OAuth2 client ID for OIDC.
-
#client_secret ⇒ String
Input only.
-
#redirect_uris ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OidcRpConfig
constructor
A new instance of OidcRpConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OidcRpConfig
Returns a new instance of OidcRpConfig.
3816 3817 3818 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
OAuth2 client ID for OIDC.
Corresponds to the JSON property clientId
3804 3805 3806 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3804 def client_id @client_id end |
#client_secret ⇒ String
Input only. OAuth2 client secret for OIDC.
Corresponds to the JSON property clientSecret
3809 3810 3811 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3809 def client_secret @client_secret end |
#redirect_uris ⇒ Array<String>
Output only. The URL(s) that this client may use in authentication requests.
Corresponds to the JSON property redirectUris
3814 3815 3816 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3814 def redirect_uris @redirect_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3821 3822 3823 3824 3825 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3821 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @client_secret = args[:client_secret] if args.key?(:client_secret) @redirect_uris = args[:redirect_uris] if args.key?(:redirect_uris) end |