|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilAuthFrontend:
Collaboration diagram for ilAuthFrontend:Public Member Functions | |
| __construct (ilAuthSession $session, ilAuthStatus $status, ilAuthCredentials $credentials, array $providers) | |
| getAuthSession () | |
| getCredentials () | |
| getProviders () | |
| getStatus () | |
| resetStatus () | |
| migrateAccount (ilAuthSession $session) | |
| migrateAccountNew () | |
| authenticate () | |
| authenticate () | |
Data Fields | |
| const string | MIG_EXTERNAL_ACCOUNT = 'mig_ext_account' |
| const string | MIG_TRIGGER_AUTHMODE = 'mig_trigger_auth_mode' |
| const string | MIG_DESIRED_AUTHMODE = 'mig_desired_auth_mode' |
Protected Member Functions | |
| handleAccountMigration (ilAuthProviderAccountMigrationInterface $provider) | |
| handleAuthenticationSuccess (ilAuthProviderInterface $provider) | |
| checkActivation (ilObjUser $user) | |
| checkExceededLoginAttempts (ilObjUser $user) | |
| checkTimeLimit (ilObjUser $user) | |
| checkIp (ilObjUser $user) | |
| checkSimultaneousLogins (ilObjUser $user) | |
| handleAuthenticationFail () | |
| handleLoginAttempts () | |
Definition at line 23 of file class.ilAuthFrontend.php.
| ilAuthFrontend::__construct | ( | ilAuthSession | $session, |
| ilAuthStatus | $status, | ||
| ilAuthCredentials | $credentials, | ||
| array | $providers | ||
| ) |
| list<ilAuthProviderInterface> | $providers |
Reimplemented in ilAuthFrontendHTTP.
Definition at line 45 of file class.ilAuthFrontend.php.
References $credentials, $DIC, $providers, $status, ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAuthFrontend::authenticate | ( | ) |
Implements ilAuthFrontendInterface.
Reimplemented in ilAuthFrontendHTTP.
Definition at line 143 of file class.ilAuthFrontend.php.
References $provider, getProviders(), getStatus(), handleAccountMigration(), handleAuthenticationFail(), handleAuthenticationSuccess(), ILIAS\Repository\logger(), resetStatus(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Here is the call graph for this function:
|
protected |
Definition at line 322 of file class.ilAuthFrontend.php.
References ilObjUser\getActive().
Referenced by handleAuthenticationSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 327 of file class.ilAuthFrontend.php.
References ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ANONYMOUS_USER_ID, ilObjUser\getActive(), and ilObject\getId().
Referenced by handleAuthenticationSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented in ilAuthFrontendCLI.
Definition at line 355 of file class.ilAuthFrontend.php.
References $_SERVER, ilObjUser\getClientIP(), and ilLoggerFactory\getLogger().
Referenced by handleAuthenticationSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 371 of file class.ilAuthFrontend.php.
References ilObject\getId(), ilObjUser\hasActiveSession(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Referenced by handleAuthenticationSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 350 of file class.ilAuthFrontend.php.
References ilObjUser\checkTimeLimit().
Referenced by handleAuthenticationSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthFrontend::getAuthSession | ( | ) |
Definition at line 61 of file class.ilAuthFrontend.php.
References $auth_session.
Referenced by handleAuthenticationSuccess().
Here is the caller graph for this function:| ilAuthFrontend::getCredentials | ( | ) |
Definition at line 66 of file class.ilAuthFrontend.php.
References $credentials.
Referenced by handleLoginAttempts(), and migrateAccount().
Here is the caller graph for this function:| ilAuthFrontend::getProviders | ( | ) |
Definition at line 74 of file class.ilAuthFrontend.php.
References $providers.
Referenced by authenticate(), ilAuthFrontendHTTP\authenticate(), and migrateAccount().
Here is the caller graph for this function:| ilAuthFrontend::getStatus | ( | ) |
Definition at line 79 of file class.ilAuthFrontend.php.
References $status.
Referenced by authenticate(), ilAuthFrontendHTTP\authenticate(), handleAccountMigration(), handleAuthenticationSuccess(), handleLoginAttempts(), migrateAccount(), migrateAccountNew(), and resetStatus().
Here is the caller graph for this function:
|
protected |
Definition at line 175 of file class.ilAuthFrontend.php.
References $provider, ANONYMOUS_USER_ID, ilLogLevel\DEBUG, ilSession\dumpToString(), ilAuthProviderAccountMigrationInterface\getExternalAccountName(), getStatus(), ilAuthProviderAccountMigrationInterface\getTriggerAuthMode(), ilAuthProviderAccountMigrationInterface\getUserAuthModeName(), ILIAS\Repository\logger(), and ilSession\set().
Referenced by authenticate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented in ilAuthFrontendHTTP.
Definition at line 378 of file class.ilAuthFrontend.php.
References handleLoginAttempts(), and ILIAS\Repository\logger().
Referenced by authenticate(), migrateAccount(), and migrateAccountNew().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 193 of file class.ilAuthFrontend.php.
References $_SERVER, ilSecuritySettings\_getInstance(), ilObjUser\_lookupLogin(), ilOnlineTracking\addUser(), ANONYMOUS_USER_ID, checkActivation(), checkExceededLoginAttempts(), checkIp(), checkSimultaneousLogins(), checkTimeLimit(), ilAuthFactory\CONTEXT_ECS, ilContext\CONTEXT_LTI_PROVIDER, getAuthSession(), ilAuthFactory\getContext(), ilObjectFactory\getInstanceByObjId(), ilLoggerFactory\getLogger(), getStatus(), ilContext\getType(), ilSessionControl\handleLoginEvent(), ilInitialisation\initUserAccount(), ILIAS\Repository\logger(), ilAppEventHandler\raise(), ilSession\set(), ILIAS\Repository\settings(), ilAuthStatus\STATUS_AUTHENTICATION_FAILED, and ilAuthStatus\STATUS_CODE_ACTIVATION_REQUIRED.
Referenced by authenticate(), ilAuthFrontendHTTP\authenticate(), migrateAccount(), and migrateAccountNew().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 387 of file class.ilAuthFrontend.php.
References ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_getAuthModeName(), ilAuthModeDetermination\_getInstance(), ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), ANONYMOUS_USER_ID, ilAuthUtils\AUTH_LOCAL, getCredentials(), getStatus(), and ILIAS\Repository\logger().
Referenced by handleAuthenticationFail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthFrontend::migrateAccount | ( | ilAuthSession | $session | ) |
Definition at line 91 of file class.ilAuthFrontend.php.
References $provider, ilSession\get(), getCredentials(), ilObjectFactory\getInstanceByObjId(), getProviders(), getStatus(), ilAuthSession\getUserId(), handleAuthenticationFail(), handleAuthenticationSuccess(), ilAuthSession\isAuthenticated(), ILIAS\Repository\logger(), and ilAuthStatus\STATUS_AUTHENTICATED.
Here is the call graph for this function:| ilAuthFrontend::migrateAccountNew | ( | ) |
Definition at line 125 of file class.ilAuthFrontend.php.
References $provider, getStatus(), handleAuthenticationFail(), handleAuthenticationSuccess(), ILIAS\Repository\logger(), and ilAuthStatus\STATUS_AUTHENTICATED.
Here is the call graph for this function:| ilAuthFrontend::resetStatus | ( | ) |
Definition at line 84 of file class.ilAuthFrontend.php.
References ANONYMOUS_USER_ID, getStatus(), and ilAuthStatus\STATUS_UNDEFINED.
Referenced by authenticate(), and ilAuthFrontendHTTP\authenticate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 37 of file class.ilAuthFrontend.php.
Referenced by getAuthSession().
|
private |
Definition at line 33 of file class.ilAuthFrontend.php.
Referenced by __construct(), ilAuthFrontendHTTP\__construct(), and getCredentials().
|
private |
Definition at line 38 of file class.ilAuthFrontend.php.
|
private |
Definition at line 31 of file class.ilAuthFrontend.php.
|
private |
Definition at line 29 of file class.ilAuthFrontend.php.
|
private |
Definition at line 36 of file class.ilAuthFrontend.php.
Referenced by __construct(), ilAuthFrontendHTTP\__construct(), and getProviders().
|
private |
Definition at line 30 of file class.ilAuthFrontend.php.
|
private |
Definition at line 34 of file class.ilAuthFrontend.php.
Referenced by __construct(), ilAuthFrontendHTTP\__construct(), and getStatus().
|
private |
Definition at line 40 of file class.ilAuthFrontend.php.
| const string ilAuthFrontend::MIG_DESIRED_AUTHMODE = 'mig_desired_auth_mode' |
Definition at line 27 of file class.ilAuthFrontend.php.
| const string ilAuthFrontend::MIG_EXTERNAL_ACCOUNT = 'mig_ext_account' |
Definition at line 25 of file class.ilAuthFrontend.php.
Referenced by ilStartUpGUI\doMigrationNewAccount().
| const string ilAuthFrontend::MIG_TRIGGER_AUTHMODE = 'mig_trigger_auth_mode' |
Definition at line 26 of file class.ilAuthFrontend.php.
Referenced by ilStartUpGUI\doMigration(), and ilStartUpGUI\doMigrationNewAccount().