Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig
- 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
Configuration related to local sign in methods.
Instance Attribute Summary collapse
-
#allow_duplicate_emails ⇒ Boolean
(also: #allow_duplicate_emails?)
Whether to allow more than one account to have the same email.
-
#anonymous ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Anonymous
Configuration options related to authenticating an anonymous user.
-
#email ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Email
Configuration options related to authenticating a user by their email address.
-
#hash_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2HashConfig
History information of the hash algorithm and key.
-
#phone_number ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PhoneNumber
Configuration options related to authenticated a user by their phone number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SignInConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2SignInConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SignInConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2SignInConfig.
1671 1672 1673 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_duplicate_emails ⇒ Boolean Also known as: allow_duplicate_emails?
Whether to allow more than one account to have the same email.
Corresponds to the JSON property allowDuplicateEmails
1647 1648 1649 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1647 def allow_duplicate_emails @allow_duplicate_emails end |
#anonymous ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Anonymous
Configuration options related to authenticating an anonymous user.
Corresponds to the JSON property anonymous
1653 1654 1655 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1653 def anonymous @anonymous end |
#email ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Email
Configuration options related to authenticating a user by their email address.
Corresponds to the JSON property email
1658 1659 1660 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1658 def email @email end |
#hash_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2HashConfig
History information of the hash algorithm and key. Different accounts'
passwords may be generated by different version.
Corresponds to the JSON property hashConfig
1664 1665 1666 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1664 def hash_config @hash_config end |
#phone_number ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PhoneNumber
Configuration options related to authenticated a user by their phone number.
Corresponds to the JSON property phoneNumber
1669 1670 1671 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1669 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1676 1677 1678 1679 1680 1681 1682 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1676 def update!(**args) @allow_duplicate_emails = args[:allow_duplicate_emails] if args.key?(:allow_duplicate_emails) @anonymous = args[:anonymous] if args.key?(:anonymous) @email = args[:email] if args.key?(:email) @hash_config = args[:hash_config] if args.key?(:hash_config) @phone_number = args[:phone_number] if args.key?(:phone_number) end |