Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
- 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
Mfa response info specific to TOTP auth for StartMfa.
Instance Attribute Summary collapse
-
#finalize_enrollment_time ⇒ String
The time by which the enrollment must finish.
-
#hashing_algorithm ⇒ String
The hashing algorithm used to generate the verification code.
-
#period_sec ⇒ Fixnum
Duration in seconds at which the verification code will change.
-
#session_info ⇒ String
An encoded string that represents the enrollment session.
-
#shared_secret_key ⇒ String
A base 32 encoded string that represents the shared TOTP secret.
-
#verification_code_length ⇒ Fixnum
The length of the verification code that needs to be generated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
constructor
A new instance of GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
Returns a new instance of GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo.
2825 2826 2827 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finalize_enrollment_time ⇒ String
The time by which the enrollment must finish.
Corresponds to the JSON property finalizeEnrollmentTime
2794 2795 2796 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2794 def finalize_enrollment_time @finalize_enrollment_time end |
#hashing_algorithm ⇒ String
The hashing algorithm used to generate the verification code.
Corresponds to the JSON property hashingAlgorithm
2799 2800 2801 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2799 def hashing_algorithm @hashing_algorithm end |
#period_sec ⇒ Fixnum
Duration in seconds at which the verification code will change.
Corresponds to the JSON property periodSec
2804 2805 2806 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2804 def period_sec @period_sec end |
#session_info ⇒ String
An encoded string that represents the enrollment session.
Corresponds to the JSON property sessionInfo
2809 2810 2811 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2809 def session_info @session_info end |
#shared_secret_key ⇒ String
A base 32 encoded string that represents the shared TOTP secret. The base 32
encoding is the one specified by RFC4648#section-6. (This is the same as the base 32 encoding
from RFC3548#section-5.)
Corresponds to the JSON property sharedSecretKey
2818 2819 2820 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2818 def shared_secret_key @shared_secret_key end |
#verification_code_length ⇒ Fixnum
The length of the verification code that needs to be generated.
Corresponds to the JSON property verificationCodeLength
2823 2824 2825 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2823 def verification_code_length @verification_code_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2830 2831 2832 2833 2834 2835 2836 2837 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2830 def update!(**args) @finalize_enrollment_time = args[:finalize_enrollment_time] if args.key?(:finalize_enrollment_time) @hashing_algorithm = args[:hashing_algorithm] if args.key?(:hashing_algorithm) @period_sec = args[:period_sec] if args.key?(:period_sec) @session_info = args[:session_info] if args.key?(:session_info) @shared_secret_key = args[:shared_secret_key] if args.key?(:shared_secret_key) @verification_code_length = args[:verification_code_length] if args.key?(:verification_code_length) end |