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.



2017
2018
2019
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2017

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)


2015
2016
2017
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2015

def adjacent_intervals
  @adjacent_intervals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2022
2023
2024
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2022

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