Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions

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

Parameters for signing a challenge with a FIDO key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions

Returns a new instance of GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions.



2850
2851
2852
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2850

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

Instance Attribute Details

#challengeString

The FIDO challenge. Corresponds to the JSON property challenge NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2838
2839
2840
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2838

def challenge
  @challenge
end

#rp_idString

The relying party identifier. Corresponds to the JSON property rpId

Returns:

  • (String)


2843
2844
2845
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2843

def rp_id
  @rp_id
end

#user_verificationString

The requirements regarding user verification. Corresponds to the JSON property userVerification

Returns:

  • (String)


2848
2849
2850
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2848

def user_verification
  @user_verification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2855
2856
2857
2858
2859
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2855

def update!(**args)
  @challenge = args[:challenge] if args.key?(:challenge)
  @rp_id = args[:rp_id] if args.key?(:rp_id)
  @user_verification = args[:user_verification] if args.key?(:user_verification)
end