Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig

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

TotpMFAProviderConfig represents the TOTP based MFA provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig.



2083
2084
2085
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2083

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

Instance Attribute Details

#adjacent_intervalsFixnum

The allowed number of adjacent intervals that will be used for verification to avoid clock skew. Corresponds to the JSON property adjacentIntervals

Returns:

  • (Fixnum)


2081
2082
2083
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2081

def adjacent_intervals
  @adjacent_intervals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2088
2089
2090
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2088

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