ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilAuthProviderOpenIdConnect. More...
Public Member Functions | |
__construct (ilAuthCredentials $credentials) | |
ilAuthProviderOpenIdConnect constructor. More... | |
handleLogout () | |
Handle logout event. More... | |
doAuthentication (\ilAuthStatus $status) | |
Do authentication. More... | |
Public Member Functions inherited from ilAuthProvider | |
__construct (ilAuthCredentials $credentials) | |
Constructor. More... | |
getLogger () | |
Get logger. More... | |
getCredentials () | |
Private Member Functions | |
handleUpdate (ilAuthStatus $status, $user_info) | |
initClient () | |
Private Attributes | |
$settings = null | |
Additional Inherited Members | |
Data Fields inherited from ilAuthProvider | |
const | STATUS_UNDEFINED = 0 |
const | STATUS_AUTHENTICATION_SUCCESS = 1 |
const | STATUS_AUTHENTICATION_FAILED = 2 |
const | STATUS_MIGRATION = 3 |
Protected Member Functions inherited from ilAuthProvider | |
handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
Handle failed authentication. More... | |
Class ilAuthProviderOpenIdConnect.
Definition at line 13 of file class.ilAuthProviderOpenIdConnect.php.
ilAuthProviderOpenIdConnect::__construct | ( | ilAuthCredentials | $credentials | ) |
ilAuthProviderOpenIdConnect constructor.
ilAuthCredentials | $credentials |
Definition at line 25 of file class.ilAuthProviderOpenIdConnect.php.
References ilOpenIdConnectSettings\getInstance(), and settings().
ilAuthProviderOpenIdConnect::doAuthentication | ( | \ilAuthStatus | $status | ) |
Do authentication.
\ilAuthStatus | $status | Authentication status |
Implements ilAuthProviderInterface.
Definition at line 58 of file class.ilAuthProviderOpenIdConnect.php.
References $_GET, $oidc, PHPMailer\PHPMailer\$token, ilLogLevel\DEBUG, ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), handleUpdate(), initClient(), ilOpenIdConnectSettings\LOGIN_ENFORCE, ilOpenIdConnectSettings\LOGOUT_SCOPE_GLOBAL, ilSession\set(), ilAuthStatus\setStatus(), settings(), ilAuthStatus\setTranslatedReason(), and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
ilAuthProviderOpenIdConnect::handleLogout | ( | ) |
Handle logout event.
Definition at line 34 of file class.ilAuthProviderOpenIdConnect.php.
References $oidc, ilSession\get(), ilAuthProvider\getLogger(), initClient(), ilOpenIdConnectSettings\LOGOUT_SCOPE_LOCAL, ilSession\set(), and settings().
|
private |
ilAuthStatus | $status | |
array | $user_info |
Definition at line 122 of file class.ilAuthProviderOpenIdConnect.php.
References $_GET, ilAuthProvider\$status, $sync, ilAuthProvider\$user_id, ilObjUser\_checkExternalAuthAccount(), ilOpenIdConnectUserSync\AUTH_MODE, ilLogLevel\ERROR, ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilSession\set(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setReason(), ilAuthStatus\setStatus(), settings(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Referenced by doAuthentication().
|
private |
Definition at line 172 of file class.ilAuthProviderOpenIdConnect.php.
References $oidc, and settings().
Referenced by doAuthentication(), and handleLogout().
|
private |
Definition at line 18 of file class.ilAuthProviderOpenIdConnect.php.