Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
Instance Attribute Summary collapse
-
#apple_sign_in_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig
Additional config for SignInWithApple.
-
#client_id ⇒ String
OAuth client ID.
-
#client_secret ⇒ String
OAuth client secret.
-
#enabled ⇒ Boolean
(also: #enabled?)
True if allows the user to sign in with the provider.
-
#name ⇒ String
The name of the DefaultSupportedIdpConfig resource, for example: "projects/my- awesome-project/defaultSupportedIdpConfigs/google.com" Corresponds to the JSON property
name
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.
478 479 480 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apple_sign_in_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig
Additional config for SignInWithApple.
Corresponds to the JSON property appleSignInConfig
454 455 456 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 454 def apple_sign_in_config @apple_sign_in_config end |
#client_id ⇒ String
OAuth client ID.
Corresponds to the JSON property clientId
459 460 461 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 459 def client_id @client_id end |
#client_secret ⇒ String
OAuth client secret.
Corresponds to the JSON property clientSecret
464 465 466 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 464 def client_secret @client_secret end |
#enabled ⇒ Boolean Also known as: enabled?
True if allows the user to sign in with the provider.
Corresponds to the JSON property enabled
469 470 471 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 469 def enabled @enabled end |
#name ⇒ String
The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-
awesome-project/defaultSupportedIdpConfigs/google.com"
Corresponds to the JSON property name
476 477 478 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 476 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
483 484 485 486 487 488 489 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 483 def update!(**args) @apple_sign_in_config = args[:apple_sign_in_config] if args.key?(:apple_sign_in_config) @client_id = args[:client_id] if args.key?(:client_id) @client_secret = args[:client_secret] if args.key?(:client_secret) @enabled = args[:enabled] if args.key?(:enabled) @name = args[:name] if args.key?(:name) end |