__construct()
getCode()
getIdentity()
getMessages()
isValid()
$code
$identity
$messages
FAILURE
FAILURE_CREDENTIAL_INVALID
FAILURE_IDENTITY_AMBIGUOUS
FAILURE_IDENTITY_NOT_FOUND
FAILURE_UNCATEGORIZED
SUCCESS
__construct(int $code, mixed $identity, array $messages)
int
mixed
array
getCode() : int
intgetIdentity() : mixed
mixedgetMessages() : array
If authentication was successful, this method returns an empty array.
arrayisValid() : bool
bool$code : int
$identity : mixed
FAILURE
FAILURE_CREDENTIAL_INVALID
FAILURE_IDENTITY_AMBIGUOUS
FAILURE_IDENTITY_NOT_FOUND
FAILURE_UNCATEGORIZED
SUCCESS