|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilAuthStatus: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().
Here is the call graph for this function:| ilAuthStatus::getAuthenticatedUserId | ( | ) |
Get authenticated user id.
Definition at line 122 of file class.ilAuthStatus.php.
References $auth_user_id.
Referenced by ilAuthProviderSoap\doAuthentication().
Here is the caller graph for this function:
|
static |
Get status instance.
Definition at line 52 of file class.ilAuthStatus.php.
References $instance.
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().
Here is the caller graph for this function:| ilAuthStatus::getReason | ( | ) |
Get reason for authentication success, fail, migration...
Definition at line 97 of file class.ilAuthStatus.php.
References $reason.
Referenced by getTranslatedReason().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| ilAuthStatus::setAuthenticatedUserId | ( | int | $a_id | ) |
Definition at line 114 of file class.ilAuthStatus.php.
Referenced by ILIAS\AuthApache\AuthProviderApache\doAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderSoap\handleSoapAuth(), and ilAuthProviderLDAP\updateAccount().
Here is the caller graph for this function:| 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(), ilAuthProvider\handleAuthenticationFail(), ilAuthProviderSoap\handleSoapAuth(), and ilAuthProviderOpenIdConnect\handleUpdate().
Here is the caller graph for this function:| ilAuthStatus::setStatus | ( | int | $a_status | ) |
Set auth status.
Definition at line 63 of file class.ilAuthStatus.php.
Referenced by ILIAS\AuthApache\AuthProviderApache\doAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), ilAuthProvider\handleAuthenticationFail(), ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderOpenIdConnect\handleUpdate(), and ilAuthProviderLDAP\updateAccount().
Here is the caller graph for this function:| ilAuthStatus::setTranslatedReason | ( | string | $a_reason | ) |
Set translated reason.
Definition at line 89 of file class.ilAuthStatus.php.
Referenced by ilAuthProviderSoap\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), and ilAuthProviderSoap\handleSoapAuth().
Here is the caller graph for this function:
|
private |
Definition at line 36 of file class.ilAuthStatus.php.
Referenced by getAuthenticatedUserId().
|
staticprivate |
Definition at line 23 of file class.ilAuthStatus.php.
Referenced by getInstance().
|
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 ilAuthFrontend\authenticate(), ilAuthFrontendHTTP\authenticate(), ilWebDAVAuthentication\authenticate(), ilStartUpGUI\doApacheAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), ilAuthProviderSaml\handleSamlAuth(), and ilAuthProviderLDAP\updateAccount().
| const int ilAuthStatus::STATUS_AUTHENTICATED = 2 |
Definition at line 28 of file class.ilAuthStatus.php.
Referenced by ilAuthFrontend\authenticate(), ilAuthFrontendHTTP\authenticate(), ilWebDAVAuthentication\authenticate(), ilStartUpGUI\doApacheAuthentication(), ILIAS\AuthApache\AuthProviderApache\doAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doMigration(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilAuthUtils\handleForcedAuthentication(), ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilSoapUserAdministration\login(), ilAuthFrontend\migrateAccount(), ilAuthFrontend\migrateAccountNew(), ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage(), and ilAuthProviderLDAP\updateAccount().
| const int ilAuthStatus::STATUS_AUTHENTICATION_FAILED = 3 |
Definition at line 29 of file class.ilAuthStatus.php.
Referenced by ilAuthFrontend\authenticate(), ilAuthFrontendHTTP\authenticate(), ilWebDAVAuthentication\authenticate(), ilStartUpGUI\doApacheAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilStartUpGUI\doSamlAuthentication(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilStartUpGUI\doStandardAuthentication(), 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().