OtpVerifyResult

sealed interface OtpVerifyResult(source)

Represents the result for Auth.verifyEmailOtp and Auth.verifyPhoneOtp.

Inheritors

Types

Link copied to clipboard
data class Authenticated(val session: UserSession) : OtpVerifyResult

The OTP was successfully verified and the session was imported.

Link copied to clipboard

The OTP was successfully verified, but no authentication session was issued.