ILIAS
release_8 Revision v8.19
|
Base class for authentication providers (ldap, apache, ...) More...
Public Member Functions | |
__construct (ilAuthCredentials $credentials) | |
Constructor. More... | |
getLogger () | |
Get logger. More... | |
getCredentials () | |
![]() | |
doAuthentication (\ilAuthStatus $status) | |
Do authentication. More... | |
Protected Member Functions | |
handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
Handle failed authentication. More... | |
Private Attributes | |
const | STATUS_UNDEFINED = 0 |
const | STATUS_AUTHENTICATION_SUCCESS = 1 |
const | STATUS_AUTHENTICATION_FAILED = 2 |
const | STATUS_MIGRATION = 3 |
ilLogger | $logger |
ilAuthCredentials | $credentials |
int | $status = self::STATUS_UNDEFINED |
int | $user_id = 0 |
Base class for authentication providers (ldap, apache, ...)
Definition at line 27 of file class.ilAuthProvider.php.
ilAuthProvider::__construct | ( | ilAuthCredentials | $credentials | ) |
Constructor.
Definition at line 44 of file class.ilAuthProvider.php.
References $credentials, $DIC, and ILIAS\Repository\logger().
ilAuthProvider::getCredentials | ( | ) |
Definition at line 63 of file class.ilAuthProvider.php.
References $credentials.
Referenced by ilAuthProviderLDAP\createNewAccount(), ilAuthProviderSaml\createNewAccount(), ilAuthProviderLTI\createUser(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderLTI\findGlobalRole(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
ilAuthProvider::getLogger | ( | ) |
Get logger.
Definition at line 55 of file class.ilAuthProvider.php.
References $logger.
Referenced by ilAuthProviderLDAP\createNewAccount(), ilAuthProviderSaml\createNewAccount(), ilAuthProviderECS\createUser(), ilAuthProviderLTI\createUser(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderSaml\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderLTI\findAuthKeyId(), ilAuthProviderLTI\findAuthPrefix(), ilAuthProviderLTI\findGlobalRole(), ilAuthProviderLTI\findUserId(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderLTI\handleLocalRoleAssignments(), ilAuthProviderECS\handleLogin(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\importUser(), ilAuthProviderLDAP\migrateAccount(), ilAuthProviderECS\resumeCurrentSession(), ilAuthProviderLDAP\updateAccount(), ilAuthProviderLTI\updateUser(), ilAuthProviderECS\updateUser(), and ilAuthProviderECS\validateHash().
|
protected |
Handle failed authentication.
Definition at line 71 of file class.ilAuthProvider.php.
References ilAuthStatus\setReason(), ilAuthStatus\setStatus(), and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Referenced by ilAuthProviderLDAP\createNewAccount(), ilAuthProviderSaml\createNewAccount(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderSaml\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLoginByAuthMode(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
|
private |
Definition at line 37 of file class.ilAuthProvider.php.
Referenced by __construct(), and getCredentials().
|
private |
Definition at line 35 of file class.ilAuthProvider.php.
Referenced by getLogger().
|
private |
Definition at line 39 of file class.ilAuthProvider.php.
Referenced by ilAuthProviderLTI\findGlobalRole(), and ilAuthProviderOpenIdConnect\handleUpdate().
|
private |
Definition at line 40 of file class.ilAuthProvider.php.
Referenced by ilAuthProviderLTI\findUserId(), ilAuthProviderLTI\handleLocalRoleAssignments(), and ilAuthProviderOpenIdConnect\handleUpdate().
|
private |
Definition at line 31 of file class.ilAuthProvider.php.
|
private |
Definition at line 30 of file class.ilAuthProvider.php.
|
private |
Definition at line 32 of file class.ilAuthProvider.php.
|
private |
Definition at line 29 of file class.ilAuthProvider.php.