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.
413 414 415 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 413 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
389 390 391 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 389 def apple_sign_in_config @apple_sign_in_config end |
#client_id ⇒ String
OAuth client ID.
Corresponds to the JSON property clientId
394 395 396 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 394 def client_id @client_id end |
#client_secret ⇒ String
OAuth client secret.
Corresponds to the JSON property clientSecret
399 400 401 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 399 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
404 405 406 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 404 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
411 412 413 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 411 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
418 419 420 421 422 423 424 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 418 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 |