Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
- 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
-
#challenge ⇒ String
The FIDO challenge.
-
#rp_id ⇒ String
The relying party identifier.
-
#user_verification ⇒ String
The requirements regarding user verification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
constructor
A new instance of GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#challenge ⇒ String
The FIDO challenge.
Corresponds to the JSON property challenge
NOTE: Values are automatically base64 encoded/decoded in the client library.
2838 2839 2840 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2838 def challenge @challenge end |
#rp_id ⇒ String
The relying party identifier.
Corresponds to the JSON property rpId
2843 2844 2845 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2843 def rp_id @rp_id end |
#user_verification ⇒ String
The requirements regarding user verification.
Corresponds to the JSON property userVerification
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 |