AuthenticationErrorCode

# AuthenticationErrorCode


enum AuthenticationErrorCode : Enum<AuthenticationErrorCode> , MIRACLErrorCode

An enumeration that describes authentication issues.

# Entries

FAIL_GET_USER
FAIL_GET_USER()
Authentication failed because the user could not be found in the storage
FAIL_INVALID_NOTIFICATION_PAYLOAD
FAIL_INVALID_NOTIFICATION_PAYLOAD()
Could not find valid projectID, qrURL or userID in notification payload
FAIL_INVALID_QR_CODE
FAIL_INVALID_QR_CODE()
Could not find access id in QR Url
FAIL_INVALID_APP_LINK
FAIL_INVALID_APP_LINK()
Could not find access id in App Link
FAIL_INVALID_AUTH_CODE_RESPONSE
FAIL_INVALID_AUTH_CODE_RESPONSE()
Could not find auth code in response.
FAIL_INVALID_RESPONSE
FAIL_INVALID_RESPONSE()
Authentication failed because of invalid server response.
FAIL_EMPTY_IDENTITY
FAIL_EMPTY_IDENTITY()
Authentication failed because the user identity has empty fields.
FAIL_GET_IDENTITY
FAIL_GET_IDENTITY()
Authentication failed because the user identity could not be found in the storage.
FAIL_EMPTY_SIGNING_IDENTITY
FAIL_EMPTY_SIGNING_IDENTITY()
Signing authentication failed because the user object hasn’t signing identity.
FAIL_REVOKED_USER
FAIL_REVOKED_USER()
Authentication failed because user is revoked.
FAIL
FAIL()
Authentication failed.

# Properties

Name Summary
name
val name: String
ordinal
val ordinal: Int