46 return self::$instance;
48 return self::$instance =
new self();
66 $this->status = $a_status;
84 $this->reason = $a_reason;
93 $this->translated_reason = $a_reason;
110 if(strlen($this->translated_reason))
120 $this->auth_user_id = $a_id;
getReason()
Get reason for authentication success, fail, migration...
const STATUS_AUTHENTICATION_FAILED
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
getAuthenticatedUserId()
Get authenticated user id.
setTranslatedReason($a_reason)
Set translated reason.
setAuthenticatedUserId($a_id)
getTranslatedReason()
Get translated reason.
setStatus($a_status)
Set auth status.
setReason($a_reason)
Set reason.
const STATUS_AUTHENTICATED
const STATUS_CODE_ACTIVATION_REQUIRED
static getInstance()
Get status instance.
static getLogger($a_component_id)
Get component logger.
__construct()
Constructor.
Auth status implementation.
const STATUS_ACCOUNT_MIGRATION_REQUIRED