ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilOpenIdConnectSettings $settings, stdClass $user_info) | |
setExternalAccount (string $ext_account) | |
setInternalAccount (string $int_account) | |
getUserId () | |
needsCreation () | |
updateUser () | |
Data Fields | |
const | AUTH_MODE = 'oidc' |
Protected Member Functions | |
transformToXml () | |
parseRoleAssignments () | |
Parse role assignments. More... | |
valueFrom (string $connect_name) | |
Private Attributes | |
ilOpenIdConnectSettings | $settings |
ilLogger | $logger |
ilXmlWriter | $writer |
stdClass | $user_info |
string | $ext_account = '' |
string | $int_account = '' |
int | $usr_id = 0 |
Definition at line 24 of file class.ilOpenIdConnectUserSync.php.
ilOpenIdConnectUserSync::__construct | ( | ilOpenIdConnectSettings | $settings, |
stdClass | $user_info | ||
) |
Definition at line 36 of file class.ilOpenIdConnectUserSync.php.
References $DIC, $settings, $user_info, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
ilOpenIdConnectUserSync::getUserId | ( | ) |
Definition at line 58 of file class.ilOpenIdConnectUserSync.php.
References $usr_id.
Referenced by transformToXml().
ilOpenIdConnectUserSync::needsCreation | ( | ) |
Definition at line 63 of file class.ilOpenIdConnectUserSync.php.
References ilLogLevel\DEBUG, and ILIAS\Repository\logger().
Referenced by parseRoleAssignments(), transformToXml(), and updateUser().
|
protected |
Parse role assignments.
Definition at line 176 of file class.ilOpenIdConnectUserSync.php.
References ilLogLevel\DEBUG, IL_INST_ID, ILIAS\Repository\int(), ILIAS\Repository\logger(), needsCreation(), and ILIAS\Repository\settings().
Referenced by transformToXml(), and updateUser().
ilOpenIdConnectUserSync::setExternalAccount | ( | string | $ext_account | ) |
Definition at line 47 of file class.ilOpenIdConnectUserSync.php.
References $ext_account.
ilOpenIdConnectUserSync::setInternalAccount | ( | string | $int_account | ) |
Definition at line 52 of file class.ilOpenIdConnectUserSync.php.
References $int_account, ilObjUser\_lookupId(), and ILIAS\Repository\int().
Referenced by updateUser().
|
protected |
Definition at line 100 of file class.ilOpenIdConnectUserSync.php.
References ilAuthUtils\_generateLogin(), getUserId(), ILIAS\Repository\logger(), needsCreation(), parseRoleAssignments(), ILIAS\Repository\settings(), and valueFrom().
Referenced by updateUser().
ilOpenIdConnectUserSync::updateUser | ( | ) |
ilOpenIdConnectSyncForbiddenException |
Definition at line 73 of file class.ilOpenIdConnectUserSync.php.
References ilObjUser\_checkExternalAuthAccount(), needsCreation(), parseRoleAssignments(), setInternalAccount(), ILIAS\Repository\settings(), transformToXml(), and USER_FOLDER_ID.
|
protected |
Definition at line 253 of file class.ilOpenIdConnectUserSync.php.
References ILIAS\Repository\logger().
Referenced by transformToXml().
|
private |
Definition at line 32 of file class.ilOpenIdConnectUserSync.php.
Referenced by setExternalAccount().
|
private |
Definition at line 33 of file class.ilOpenIdConnectUserSync.php.
Referenced by setInternalAccount().
|
private |
Definition at line 29 of file class.ilOpenIdConnectUserSync.php.
|
private |
Definition at line 28 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 34 of file class.ilOpenIdConnectUserSync.php.
Referenced by getUserId().
|
private |
Definition at line 30 of file class.ilOpenIdConnectUserSync.php.
const ilOpenIdConnectUserSync::AUTH_MODE = 'oidc' |
Definition at line 26 of file class.ilOpenIdConnectUserSync.php.
Referenced by ilAuthProviderOpenIdConnect\handleUpdate().