OtpError

data class OtpError(val error: String, val errorDescription: String) : AuthEvent(source)

This event means that there was an error while trying to authenticate the user, e.g. from external authentication providers like OAuth. You can use errorCode to further handle the error.

Parameters

error

The raw error code from the server.

errorDescription

The description of the error.

Constructors

Link copied to clipboard
constructor(error: String, errorDescription: String)

Properties

Link copied to clipboard
Link copied to clipboard

The error code of the rest exception. If error is not a known AuthErrorCode, this will be null. Then, use error instead to get the raw unknown error code.

Link copied to clipboard