Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Class
actor CrossmintAuthManager
Initializers
init(apiKey:)
convenience init(apiKey apiKeyString: String) throws
init(authService:secureStorage:)
init(authService: any AuthService, secureStorage: any SecureStorage)
Instance Properties
authenticationStatus
var authenticationStatus: AuthenticationStatus { get async throws(AuthError) }
email
var email: String? { get }
jwt
Inherited from AuthManager.jwt.
Instance Methods
logout()
func logout() async throws(AuthManagerError) -> OTPAuthenticationStatus
oneTimeSecretAuthentication(oneTimeSecret:)
func oneTimeSecretAuthentication(oneTimeSecret: String) async throws(AuthManagerError) -> OTPAuthenticationStatus
otpAuthentication(email:code:forceRefresh:)
func otpAuthentication(email: String, code: String? = nil, forceRefresh: Bool = false) async throws(AuthManagerError) -> OTPAuthenticationStatus
reset()
func reset() async -> OTPAuthenticationStatus
setJWT(_:)
Inherited from AuthManager.setJWT(_:).
func setJWT(_ jwt: String) async