Factor

@Serializable
data class Factor(val strategy: String, val emailAddressId: String? = null, val phoneNumberId: String? = null, val web3WalletId: String? = null, val enterpriseConnectionId: String? = null, val enterpriseConnectionName: String? = null, val safeIdentifier: String? = null, val primary: Boolean? = null, val default: Boolean? = null)

The Factor type represents the factor verification strategy that can be used in the sign-in process.

Constructors

Link copied to clipboard
constructor(strategy: String, emailAddressId: String? = null, phoneNumberId: String? = null, web3WalletId: String? = null, enterpriseConnectionId: String? = null, enterpriseConnectionName: String? = null, safeIdentifier: String? = null, primary: Boolean? = null, default: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "default")
val default: Boolean?

Whether the factor is the default second factor.

Link copied to clipboard
@SerialName(value = "email_address_id")
val emailAddressId: String?

The ID of the email address that a code or link will be sent to.

Link copied to clipboard
@SerialName(value = "enterprise_connection_id")
val enterpriseConnectionId: String?

The ID of the enterprise connection that will be used for SSO.

Link copied to clipboard
@SerialName(value = "enterprise_connection_name")
val enterpriseConnectionName: String?

The display name of the enterprise connection that will be used for SSO.

Link copied to clipboard
@SerialName(value = "phone_number_id")
val phoneNumberId: String?

The ID of the phone number that a code will be sent to.

Link copied to clipboard

Whether the factor is the primary factor.

Link copied to clipboard
@SerialName(value = "safe_identifier")
val safeIdentifier: String?

The safe identifier of the factor.

Link copied to clipboard

The strategy of the factor.

Link copied to clipboard

The ID of the Web3 wallet that will be used to sign a message.

Functions

Link copied to clipboard