Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest

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

Starts passkey enrollment for passkey as a first factor by returning the FIDO challenge.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest

Returns a new instance of GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest.



3286
3287
3288
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 3286

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

Instance Attribute Details

#id_tokenString

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

Returns:

  • (String)


3278
3279
3280
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 3278

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)


3284
3285
3286
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 3284

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3291
3292
3293
3294
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 3291

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