AuthError

enum AuthError : Enum<SensibillAuth.AuthError>

Entries

USER_REGISTERED_PLEASE_LOGIN
Link copied to clipboard
USER_REGISTERED_PLEASE_LOGIN("USER_REGISTERED_PLEASE_LOGIN")
Error representing authentication failure due to a failed log-in after registration
EXISTING_USER
Link copied to clipboard
EXISTING_USER("EXISTING_USER")
Error representing registration failure due to user already existing
UNKNOWN_ERROR
Link copied to clipboard
UNKNOWN_ERROR("UNKNOWN_ERROR")
Generic authentication error
UNKNOWN_USER
Link copied to clipboard
UNKNOWN_USER("UNKNOWN_USER")
Error representing authentication failure due to PasswordAuthentication not being able to find cached user
WEAK_PASSWORD
Link copied to clipboard
WEAK_PASSWORD("WEAK_PASSWORD")
Error representing registration failure due to a weak password
INVALID_CLIENT_CREDENTIALS
Link copied to clipboard
INVALID_CLIENT_CREDENTIALS("INVALID_CLIENT_CREDENTIALS")
Error representing authentication failure due to invalid client credentials (client-key, client-secret, redirect url etc.
INVALID_CREDENTIALS
Link copied to clipboard
INVALID_CREDENTIALS("INVALID_CREDENTIALS")
Error representing authentication failure due to invalid user credentials
NETWORK_ERROR
Link copied to clipboard
NETWORK_ERROR("NETWORK_ERROR")
Error representing authentication failure due to network availability issues
EXPIRED_TOKEN
Link copied to clipboard
EXPIRED_TOKEN("EXPIRED_TOKEN")
Error representing authentication failure due to token being expired
RESET_PASSWORD
Link copied to clipboard
RESET_PASSWORD("RESET_PASSWORD")
Error representing authentication failure which requires the user's password to be reset
LOCKED_ACCOUNT
Link copied to clipboard
LOCKED_ACCOUNT("LOCKED_ACCOUNT")
Error representing authentication failure due to a locked user account

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
shortDescription
Link copied to clipboard
val shortDescription: String