Module: Privy::Models::MfaMethod

Extended by:
Internal::Type::Enum
Defined in:
lib/privy/models/mfa_method.rb,
sig/privy/models/mfa_method.rbs

Overview

A multi-factor authentication method supported by the app.

Constant Summary collapse

SMS =

Returns:

  • (:sms)
:sms
TOTP =

Returns:

  • (:totp)
:totp
PASSKEY =

Returns:

  • (:passkey)
:passkey

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/privy/models/mfa_method.rb', line 13

Instance Method Details

#self?.values::Array[Privy::Models::mfa_method]

Returns:

  • (::Array[Privy::Models::mfa_method])


12
# File 'sig/privy/models/mfa_method.rbs', line 12

def self?.values: -> ::Array[Privy::Models::mfa_method]