ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOpenIdConnectSettingsGUI. More...
Public Member Functions | |
__construct (\ilOpenIdConnectSettings $settings, $user_info) | |
ilOpenIdConnectUserSync constructor. More... | |
setExternalAccount (string $ext_account) | |
setInternalAccount (string $int_account) | |
getUserId () | |
needsCreation () | |
updateUser () | |
Data Fields | |
const | AUTH_MODE = 'oidc' |
Protected Member Functions | |
transformToXml () | |
transform user data to xml More... | |
parseRoleAssignments () | |
Parse role assignments. More... | |
valueFrom (string $connect_name) | |
Protected Attributes | |
$settings | |
$logger | |
Private Attributes | |
$writer | |
$user_info = [] | |
$ext_account = '' | |
$int_account = '' | |
$usr_id = 0 | |
Class ilOpenIdConnectSettingsGUI.
Definition at line 10 of file class.ilOpenIdConnectUserSync.php.
ilOpenIdConnectUserSync::__construct | ( | \ilOpenIdConnectSettings | $settings, |
$user_info | |||
) |
ilOpenIdConnectUserSync constructor.
ilOpenIdConnectSettings | $settings |
Definition at line 54 of file class.ilOpenIdConnectUserSync.php.
References $DIC, $settings, $user_info, and settings().
ilOpenIdConnectUserSync::getUserId | ( | ) |
Definition at line 86 of file class.ilOpenIdConnectUserSync.php.
References $usr_id.
Referenced by transformToXml().
ilOpenIdConnectUserSync::needsCreation | ( | ) |
Definition at line 94 of file class.ilOpenIdConnectUserSync.php.
References ilLogLevel\DEBUG.
Referenced by parseRoleAssignments(), transformToXml(), and updateUser().
|
protected |
Parse role assignments.
Definition at line 211 of file class.ilOpenIdConnectUserSync.php.
References ilLogLevel\DEBUG, needsCreation(), and settings().
Referenced by transformToXml(), and updateUser().
ilOpenIdConnectUserSync::setExternalAccount | ( | string | $ext_account | ) |
string | $ext_account |
Definition at line 69 of file class.ilOpenIdConnectUserSync.php.
References $ext_account.
ilOpenIdConnectUserSync::setInternalAccount | ( | string | $int_account | ) |
string | $int_account |
Definition at line 77 of file class.ilOpenIdConnectUserSync.php.
References $int_account, and ilObjUser\_lookupId().
Referenced by updateUser().
|
protected |
transform user data to xml
Definition at line 135 of file class.ilOpenIdConnectUserSync.php.
References ilAuthUtils\_generateLogin(), getUserId(), needsCreation(), parseRoleAssignments(), settings(), and valueFrom().
Referenced by updateUser().
ilOpenIdConnectUserSync::updateUser | ( | ) |
ilOpenIdConnectSyncForbiddenException |
Definition at line 104 of file class.ilOpenIdConnectUserSync.php.
References Sabre\VObject\$debug, $int_account, ilObjUser\_checkExternalAuthAccount(), needsCreation(), parseRoleAssignments(), setInternalAccount(), settings(), transformToXml(), and USER_FOLDER_ID.
|
protected |
string | $connect_name |
Definition at line 296 of file class.ilOpenIdConnectUserSync.php.
Referenced by transformToXml().
|
private |
Definition at line 36 of file class.ilOpenIdConnectUserSync.php.
Referenced by setExternalAccount().
|
private |
Definition at line 42 of file class.ilOpenIdConnectUserSync.php.
Referenced by setInternalAccount(), and updateUser().
|
protected |
Definition at line 22 of file class.ilOpenIdConnectUserSync.php.
|
protected |
Definition at line 17 of file class.ilOpenIdConnectUserSync.php.
Referenced by __construct().
|
private |
Definition at line 31 of file class.ilOpenIdConnectUserSync.php.
Referenced by __construct().
|
private |
Definition at line 47 of file class.ilOpenIdConnectUserSync.php.
Referenced by getUserId().
|
private |
Definition at line 27 of file class.ilOpenIdConnectUserSync.php.
const ilOpenIdConnectUserSync::AUTH_MODE = 'oidc' |
Definition at line 12 of file class.ilOpenIdConnectUserSync.php.
Referenced by ilAuthProviderOpenIdConnect\handleUpdate().