ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
setStatus (int $a_status) | |
Set auth status. More... | |
getStatus () | |
Get status. More... | |
setReason (string $a_reason) | |
Set reason. More... | |
setTranslatedReason (string $a_reason) | |
Set translated reason. More... | |
getReason () | |
Get reason for authentication success, fail, migration... More... | |
getTranslatedReason () | |
Get translated reason. More... | |
setAuthenticatedUserId (int $a_id) | |
getAuthenticatedUserId () | |
Get authenticated user id. More... | |
Static Public Member Functions | |
static | getInstance () |
Get status instance. More... | |
Data Fields | |
const int | STATUS_UNDEFINED = 1 |
const int | STATUS_AUTHENTICATED = 2 |
const int | STATUS_AUTHENTICATION_FAILED = 3 |
const int | STATUS_ACCOUNT_MIGRATION_REQUIRED = 4 |
const int | STATUS_CODE_ACTIVATION_REQUIRED = 5 |
Private Member Functions | |
__construct () | |
Constructor. More... | |
Private Attributes | |
ilLanguage | $lng |
int | $status = self::STATUS_UNDEFINED |
string | $reason = '' |
string | $translated_reason = '' |
int | $auth_user_id = 0 |
Static Private Attributes | |
static ilAuthStatus | $instance = null |
Definition at line 21 of file class.ilAuthStatus.php.
|
private |
Constructor.
Definition at line 43 of file class.ilAuthStatus.php.
References $DIC, and ILIAS\Repository\lng().
ilAuthStatus::getAuthenticatedUserId | ( | ) |
Get authenticated user id.
Definition at line 122 of file class.ilAuthStatus.php.
References $auth_user_id.
Referenced by ilAuthProviderSoap\doAuthentication().
|
static |
Get status instance.
Definition at line 52 of file class.ilAuthStatus.php.
Referenced by ILIAS\Cron\CLI\StartUp\authenticate(), ilWebDAVAuthentication\authenticate(), ilStartUpGUI\doApacheAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doMigration(), ilStartUpGUI\doMigrationNewAccount(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilAuthUtils\handleForcedAuthentication(), ilSoapUserAdministration\login(), and ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().
ilAuthStatus::getReason | ( | ) |
Get reason for authentication success, fail, migration...
Definition at line 97 of file class.ilAuthStatus.php.
References $reason.
Referenced by getTranslatedReason().
ilAuthStatus::getStatus | ( | ) |
Get status.
Definition at line 72 of file class.ilAuthStatus.php.
References $status.
ilAuthStatus::getTranslatedReason | ( | ) |
Get translated reason.
Definition at line 105 of file class.ilAuthStatus.php.
References $translated_reason, getReason(), and ILIAS\Repository\lng().
ilAuthStatus::setAuthenticatedUserId | ( | int | $a_id | ) |
Definition at line 114 of file class.ilAuthStatus.php.
Referenced by ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderLTI\findGlobalRole(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderLDAP\updateAccount(), and ilAuthProviderDatabase\withoutPasswordVerification().
ilAuthStatus::setReason | ( | string | $a_reason | ) |
Set reason.
string | $a_reason | A laguage key, which can be translated to an end user message |
Definition at line 81 of file class.ilAuthStatus.php.
Referenced by ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderLTI\findGlobalRole(), ilAuthProvider\handleAuthenticationFail(), ilAuthProviderSoap\handleSoapAuth(), and ilAuthProviderOpenIdConnect\handleUpdate().
ilAuthStatus::setStatus | ( | int | $a_status | ) |
Set auth status.
Definition at line 63 of file class.ilAuthStatus.php.
Referenced by ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderLTI\findGlobalRole(), ilAuthProvider\handleAuthenticationFail(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderOpenIdConnect\handleUpdate(), ilAuthProviderLDAP\updateAccount(), and ilAuthProviderDatabase\withoutPasswordVerification().
ilAuthStatus::setTranslatedReason | ( | string | $a_reason | ) |
Set translated reason.
Definition at line 89 of file class.ilAuthStatus.php.
Referenced by ilAuthProviderOpenIdConnect\doAuthentication(), ilAuthProviderSoap\doAuthentication(), and ilAuthProviderSoap\handleSoapAuth().
|
private |
Definition at line 36 of file class.ilAuthStatus.php.
Referenced by getAuthenticatedUserId().
|
staticprivate |
Definition at line 23 of file class.ilAuthStatus.php.
|
private |
Definition at line 25 of file class.ilAuthStatus.php.
|
private |
Definition at line 34 of file class.ilAuthStatus.php.
Referenced by getReason().
|
private |
Definition at line 33 of file class.ilAuthStatus.php.
Referenced by getStatus().
|
private |
Definition at line 35 of file class.ilAuthStatus.php.
Referenced by getTranslatedReason().
const int ilAuthStatus::STATUS_ACCOUNT_MIGRATION_REQUIRED = 4 |
Definition at line 30 of file class.ilAuthStatus.php.
Referenced by ilAuthFrontendHTTP\authenticate(), ilWebDAVAuthentication\authenticate(), ilAuthFrontend\authenticate(), ilStartUpGUI\doApacheAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderSaml\handleSamlAuth(), and ilAuthProviderLDAP\updateAccount().
const int ilAuthStatus::STATUS_AUTHENTICATED = 2 |
Definition at line 28 of file class.ilAuthStatus.php.
Referenced by ilAuthFrontendHTTP\authenticate(), ilWebDAVAuthentication\authenticate(), ilAuthFrontend\authenticate(), ilStartUpGUI\doApacheAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doMigration(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilAuthProviderLTI\findGlobalRole(), ilAuthUtils\handleForcedAuthentication(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderOpenIdConnect\handleUpdate(), ilSoapUserAdministration\login(), ilAuthFrontend\migrateAccount(), ilAuthFrontend\migrateAccountNew(), ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage(), ilAuthProviderLDAP\updateAccount(), and ilAuthProviderDatabase\withoutPasswordVerification().
const int ilAuthStatus::STATUS_AUTHENTICATION_FAILED = 3 |
Definition at line 29 of file class.ilAuthStatus.php.
Referenced by ilAuthFrontendHTTP\authenticate(), ilWebDAVAuthentication\authenticate(), ilAuthFrontend\authenticate(), ilStartUpGUI\doApacheAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilAuthProviderLTI\findGlobalRole(), ilAuthProvider\handleAuthenticationFail(), ilAuthFrontend\handleAuthenticationSuccess(), ilAuthUtils\handleForcedAuthentication(), ilAuthProviderOpenIdConnect\handleUpdate(), ilSoapUserAdministration\login(), and ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().
const int ilAuthStatus::STATUS_CODE_ACTIVATION_REQUIRED = 5 |
Definition at line 31 of file class.ilAuthStatus.php.
Referenced by ilStartUpGUI\doStandardAuthentication(), and ilAuthFrontend\handleAuthenticationSuccess().
const int ilAuthStatus::STATUS_UNDEFINED = 1 |
Definition at line 27 of file class.ilAuthStatus.php.
Referenced by ilAuthFrontend\resetStatus().