Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_configGoogle::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
end

#client_idString

OAuth client ID. Corresponds to the JSON property clientId

Returns:

  • (String)


459
460
461
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 459

def client_id
  @client_id
end

#client_secretString

OAuth client secret. Corresponds to the JSON property clientSecret

Returns:

  • (String)


464
465
466
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 464

def client_secret
  @client_secret
end

#enabledBoolean Also known as: enabled?

True if allows the user to sign in with the provider. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


469
470
471
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 469

def enabled
  @enabled
end

#nameString

The name of the DefaultSupportedIdpConfig resource, for example: "projects/my- awesome-project/defaultSupportedIdpConfigs/google.com" Corresponds to the JSON property name

Returns:

  • (String)


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