Skip to main content

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.

Interface
interface AuthService

Functions

logout

abstract suspend fun logout(refreshToken: String): Result<Unit, AuthError>

refreshToken

abstract suspend fun refreshToken(oneTimeSecret: String): Result<AuthToken, AuthError>

sendOtp

abstract suspend fun sendOtp(email: String): Result<SendOtpResponse, AuthError>

verifyOtp

abstract suspend fun verifyOtp(email: String, code: String, state: String): Result<VerifyOtpResponse, AuthError>