TokenStatusEnum
extends EnumType
in package
Table of Contents
Constants
- STATUS_BAD_LOGIN = 'BAD_LOGIN'
- Provided user / password were incorrect
- STATUS_DEAD = 'DEAD'
- Expired and cannot be renewed
- STATUS_EXPIRED = 'EXPIRED'
- Expired but can be renewed
- STATUS_INVALID = 'INVALID'
- Not a valid token
- STATUS_OK = 'OK'
- Valid token
Methods
- __construct() : mixed
- instance() : TokenStatusEnum
- Safely create a single type creator only
Constants
STATUS_BAD_LOGIN
Provided user / password were incorrect
public
mixed
STATUS_BAD_LOGIN
= 'BAD_LOGIN'
STATUS_DEAD
Expired and cannot be renewed
public
mixed
STATUS_DEAD
= 'DEAD'
STATUS_EXPIRED
Expired but can be renewed
public
mixed
STATUS_EXPIRED
= 'EXPIRED'
STATUS_INVALID
Not a valid token
public
mixed
STATUS_INVALID
= 'INVALID'
STATUS_OK
Valid token
public
mixed
STATUS_OK
= 'OK'
Methods
__construct()
public
__construct() : mixed
instance()
Safely create a single type creator only
public
static instance() : TokenStatusEnum