Class: Google::Apis::CloudidentityV1::OidcRpConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::OidcRpConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/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.
2833 2834 2835 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
OAuth2 client ID for OIDC.
Corresponds to the JSON property clientId
2821 2822 2823 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2821 def client_id @client_id end |
#client_secret ⇒ String
Input only. OAuth2 client secret for OIDC.
Corresponds to the JSON property clientSecret
2826 2827 2828 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2826 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
2831 2832 2833 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2831 def redirect_uris @redirect_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2838 2839 2840 2841 2842 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2838 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 |