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.



2051
2052
2053
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2051

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)


2049
2050
2051
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2049

def adjacent_intervals
  @adjacent_intervals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2056
2057
2058
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2056

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