Skip to main content
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.
var jwt: String? { get }

Instance Methods

confirmEmailOtp(email:code:)

func confirmEmailOtp(email: String, code: String) async throws(AuthManagerError) -> OTPAuthenticationStatus

logout()

func logout() async throws(AuthManagerError) -> OTPAuthenticationStatus

oneTimeSecretAuthentication(oneTimeSecret:)

func oneTimeSecretAuthentication(oneTimeSecret: String) async throws(AuthManagerError) -> OTPAuthenticationStatus

reset()

func reset() async -> OTPAuthenticationStatus

sendEmailOtp(email:)

func sendEmailOtp(email: String) async throws(AuthManagerError)

setJWT(_:)

Inherited from AuthManager.setJWT(_:).
func setJWT(_ jwt: String) async