Sep30Auth Method
Represents an authentication method for identity verification in SEP-30 account recovery.
Each authentication method specifies a type and a value that a recovery server uses to verify the identity of a user during account recovery. Multiple authentication methods can be associated with a single identity to provide multi-factor verification.
Common Types
stellar_address: A Stellar federation address (e.g.,"user*example.com")phone_number: A phone number in E.164 format (e.g.,"+14155551234")email: An email address (e.g.,"user@example.com")
Usage
val emailAuth = Sep30AuthMethod(type = "email", value = "user@example.com")
val phoneAuth = Sep30AuthMethod(type = "phone_number", value = "+14155551234")
val stellarAuth = Sep30AuthMethod(type = "stellar_address", value = "user*example.com")Content copied to clipboard