Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest

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

FinalizePasskeyEnrollment request. Registers passkey as a first factor for the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest.



2578
2579
2580
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2578

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#authenticator_registration_responseGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse

Authenticator response to register a new FIDO key. Corresponds to the JSON property authenticatorRegistrationResponse



2565
2566
2567
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2565

def authenticator_registration_response
  @authenticator_registration_response
end

#id_tokenString

Required. The GCIP ID token of the signed-in user Corresponds to the JSON property idToken

Returns:

  • (String)


2570
2571
2572
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2570

def id_token
  @id_token
end

#tenant_idString

Optional. The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project. Corresponds to the JSON property tenantId

Returns:

  • (String)


2576
2577
2578
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2576

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2583
2584
2585
2586
2587
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2583

def update!(**args)
  @authenticator_registration_response = args[:authenticator_registration_response] if args.key?(:authenticator_registration_response)
  @id_token = args[:id_token] if args.key?(:id_token)
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
end