AuthenticationErrorCode

AuthenticationErrorCode

An enumeration that describes authentication issues.

enum AuthenticationErrorCode : Enum<AuthenticationErrorCode> , MIRACLErrorCode

Entries

Name Summary
FAIL

Authentication failed.

FAIL()


FAIL_EMPTY_SIGNING_IDENTITY

Signing authentication failed because the user object hasn’t signing identity.

FAIL_EMPTY_SIGNING_IDENTITY()


FAIL_GET_IDENTITY

Authentication failed because the user identity could not be found in the storage.

FAIL_GET_IDENTITY()


FAIL_EMPTY_IDENTITY

Authentication failed because the user identity has empty fields.

FAIL_EMPTY_IDENTITY()


FAIL_INVALID_RESPONSE

Authentication failed because of invalid server response.

FAIL_INVALID_RESPONSE()


FAIL_INVALID_AUTH_CODE_RESPONSE

Could not find auth code in response.

FAIL_INVALID_AUTH_CODE_RESPONSE()


Functions

Name Summary
compareTo
Content
operator override fun compareTo(other: AuthenticationErrorCode): Int


equals
Content
operator override fun equals(other: Any?): Boolean


finalize
Content
override fun finalize()


getDeclaringClass
Content
override fun getDeclaringClass(): Class<AuthenticationErrorCode>


hashCode
Content
override fun hashCode(): Int


toString
Content
open override fun toString(): String


Properties

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