Sep30RequestIdentity
public struct Sep30RequestIdentity : Sendable
Identity configuration for account recovery.
Represents a person or entity that can recover the account by authenticating through one of the configured authentication methods.
-
Role of this identity in relation to the account. Not used by the server but stored and returned to help clients identify each identity. Common values: “owner”, “sender”, “receiver”.
Declaration
Swift
public var role: String -
Authentication methods that can be used to authenticate as this identity. At least one method must be provided. Authentication with any method grants full account access.
Declaration
Swift
public var authMethods: [Sep30AuthMethod] -
Creates a new identity with role and authentication methods.
Declaration
Swift
public init(role: String, authMethods: [Sep30AuthMethod]) -
Converts the identity to a JSON-compatible dictionary for API submission.
Declaration
Swift
public func toJson() -> [String : Any]
View on GitHub
Install in Dash