Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
- 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
Criteria for the authenticator to create a registered FIDO key.
Instance Attribute Summary collapse
-
#authenticator_attachment ⇒ String
The preferred authenticator attachment modality.
-
#require_resident_key ⇒ Boolean
(also: #require_resident_key?)
Whether resident key is required.
-
#user_verification ⇒ String
The Relying Party's user verification requirements.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
constructor
A new instance of GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
Returns a new instance of GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria.
2210 2211 2212 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authenticator_attachment ⇒ String
The preferred authenticator attachment modality.
Corresponds to the JSON property authenticatorAttachment
2197 2198 2199 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2197 def @authenticator_attachment end |
#require_resident_key ⇒ Boolean Also known as: require_resident_key?
Whether resident key is required.
Corresponds to the JSON property requireResidentKey
2202 2203 2204 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2202 def require_resident_key @require_resident_key end |
#user_verification ⇒ String
The Relying Party's user verification requirements.
Corresponds to the JSON property userVerification
2208 2209 2210 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2208 def user_verification @user_verification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2215 2216 2217 2218 2219 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2215 def update!(**args) @authenticator_attachment = args[:authenticator_attachment] if args.key?(:authenticator_attachment) @require_resident_key = args[:require_resident_key] if args.key?(:require_resident_key) @user_verification = args[:user_verification] if args.key?(:user_verification) end |