ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Description of class class. More...
Public Member Functions | |||
__construct (\ilAuthCredentials $credentials) | |||
createNewAccount (\ilAuthStatus $status) | |||
create new account More... | |||
doAuthentication (\ilAuthStatus $status) | |||
do authentication More... | |||
getExternalAccountName () | |||
get external account name More... | |||
getTriggerAuthMode () | |||
get trigger auth mode More... | |||
getUserAuthModeName () | |||
get user auth mode name More... | |||
migrateAccount (ilAuthStatus $status) | |||
Migrate existing account to radius authentication Create new account.
| |||
Public Member Functions inherited from ilAuthProvider | |||
__construct (ilAuthCredentials $credentials) | |||
Constructor. More... | |||
getLogger () | |||
Get logger. More... | |||
getCredentials () | |||
Public Member Functions inherited from ilAuthProviderAccountMigrationInterface | |||
createNewAccount (ilAuthStatus $status) | |||
Create new ILIAS account for external_account. More... | |||
Data Fields | |
const | CONNECT_TIMEOUT = 3 |
const | RETRIES = 1 |
Data Fields inherited from ilAuthProvider | |
const | STATUS_UNDEFINED = 0 |
const | STATUS_AUTHENTICATION_SUCCESS = 1 |
const | STATUS_AUTHENTICATION_FAILED = 2 |
const | STATUS_MIGRATION = 3 |
Private Attributes | |
$settings = null | |
$external_account = '' | |
Additional Inherited Members | |
Protected Member Functions inherited from ilAuthProvider | |
handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
Handle failed authentication. More... | |
Description of class class.
Definition at line 15 of file class.ilAuthProviderRadius.php.
ilAuthProviderRadius::__construct | ( | \ilAuthCredentials | $credentials | ) |
Definition at line 28 of file class.ilAuthProviderRadius.php.
References ilRadiusSettings\_getInstance(), and settings().
ilAuthProviderRadius::createNewAccount | ( | \ilAuthStatus | $status | ) |
create new account
\ilAuthStatus | $status |
Definition at line 41 of file class.ilAuthProviderRadius.php.
ilAuthProviderRadius::doAuthentication | ( | \ilAuthStatus | $status | ) |
do authentication
\ilAuthStatus | $status |
Implements ilAuthProviderInterface.
Definition at line 50 of file class.ilAuthProviderRadius.php.
References $result, $server, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setStatus(), settings(), and ilAuthStatus\STATUS_AUTHENTICATED.
ilAuthProviderRadius::getExternalAccountName | ( | ) |
get external account name
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 106 of file class.ilAuthProviderRadius.php.
References $external_account.
ilAuthProviderRadius::getTriggerAuthMode | ( | ) |
get trigger auth mode
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 115 of file class.ilAuthProviderRadius.php.
References AUTH_RADIUS.
ilAuthProviderRadius::getUserAuthModeName | ( | ) |
get user auth mode name
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 124 of file class.ilAuthProviderRadius.php.
ilAuthProviderRadius::migrateAccount | ( | ilAuthStatus | $status | ) |
Migrate existing account to radius authentication Create new account.
ilAuthStatus |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 133 of file class.ilAuthProviderRadius.php.
|
private |
Definition at line 25 of file class.ilAuthProviderRadius.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 23 of file class.ilAuthProviderRadius.php.
const ilAuthProviderRadius::CONNECT_TIMEOUT = 3 |
Definition at line 17 of file class.ilAuthProviderRadius.php.
const ilAuthProviderRadius::RETRIES = 1 |
Definition at line 18 of file class.ilAuthProviderRadius.php.