Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo

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

Mfa response info specific to TOTP auth for StartMfa.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo

Returns a new instance of GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo.



2927
2928
2929
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2927

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

Instance Attribute Details

#finalize_enrollment_timeString

The time by which the enrollment must finish. Corresponds to the JSON property finalizeEnrollmentTime

Returns:

  • (String)


2896
2897
2898
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2896

def finalize_enrollment_time
  @finalize_enrollment_time
end

#hashing_algorithmString

The hashing algorithm used to generate the verification code. Corresponds to the JSON property hashingAlgorithm

Returns:

  • (String)


2901
2902
2903
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2901

def hashing_algorithm
  @hashing_algorithm
end

#period_secFixnum

Duration in seconds at which the verification code will change. Corresponds to the JSON property periodSec

Returns:

  • (Fixnum)


2906
2907
2908
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2906

def period_sec
  @period_sec
end

#session_infoString

An encoded string that represents the enrollment session. Corresponds to the JSON property sessionInfo

Returns:

  • (String)


2911
2912
2913
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2911

def session_info
  @session_info
end

#shared_secret_keyString

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

Returns:

  • (String)


2920
2921
2922
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2920

def shared_secret_key
  @shared_secret_key
end

#verification_code_lengthFixnum

The length of the verification code that needs to be generated. Corresponds to the JSON property verificationCodeLength

Returns:

  • (Fixnum)


2925
2926
2927
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2925

def verification_code_length
  @verification_code_length
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2932
2933
2934
2935
2936
2937
2938
2939
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2932

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