AMRMethod

@Serializable
enum AMRMethod : Enum<AMRMethod> (source)

Represents an AMR Method.

Parameters

value

The string name of this method

Entries

Link copied to clipboard
@SerialName(value = "password")
Password
Link copied to clipboard
@SerialName(value = "otp")
OTP
Link copied to clipboard
@SerialName(value = "oauth")
OAuth
Link copied to clipboard
@SerialName(value = "totp")
TOTP
Link copied to clipboard
@SerialName(value = "mfa/totp")
MFA_TOTP
Link copied to clipboard
@SerialName(value = "mfa/phone")
MFA_PHONE
Link copied to clipboard
@SerialName(value = "mfa/webauthn")
MFA_WEBAUTHN
Link copied to clipboard
@SerialName(value = "anonymous")
ANONYMOUS
Link copied to clipboard
@SerialName(value = "sso/saml")
SSO_SAML
Link copied to clipboard
@SerialName(value = "magiclink")
MAGIC_LINK
Link copied to clipboard
@SerialName(value = "web3")
WEB3

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): AMRMethod

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.