Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria

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

Criteria for the authenticator to create a registered FIDO key.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_attachmentString

The preferred authenticator attachment modality. Corresponds to the JSON property authenticatorAttachment

Returns:

  • (String)


2197
2198
2199
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2197

def authenticator_attachment
  @authenticator_attachment
end

#require_resident_keyBoolean Also known as: require_resident_key?

Whether resident key is required. Corresponds to the JSON property requireResidentKey

Returns:

  • (Boolean)


2202
2203
2204
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2202

def require_resident_key
  @require_resident_key
end

#user_verificationString

The Relying Party's user verification requirements. Corresponds to the JSON property userVerification

Returns:

  • (String)


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