◆ getMappingRulesByAdditionalScopes()
ilOpenIdAttributeMappingTemplate::getMappingRulesByAdditionalScopes |
( |
array |
$additional_scopes | ) |
|
- Parameters
-
array<int,string> | $additional_scopes |
- Returns
- array<string, string>
Definition at line 29 of file class.ilOpenIdAttributeMappingTemplates.php.
References loadAddress(), loadEmail(), loadPhone(), and loadProfile().
33 if (in_array(
'address', $additional_scopes)) {
36 if (in_array(
'email', $additional_scopes)) {
37 $mapping_rule = $this->
loadEmail($mapping_rule);
39 if (in_array(
'phone', $additional_scopes)) {
40 $mapping_rule = $this->
loadPhone($mapping_rule);
42 if (in_array(
'profile', $additional_scopes)) {
loadAddress(array $mapping_rule)
loadEmail(array $mapping_rule)
loadProfile(array $mapping_rule)
loadPhone(array $mapping_rule)
◆ loadAddress()
ilOpenIdAttributeMappingTemplate::loadAddress |
( |
array |
$mapping_rule | ) |
|
|
private |
◆ loadEmail()
ilOpenIdAttributeMappingTemplate::loadEmail |
( |
array |
$mapping_rule | ) |
|
|
private |
◆ loadPhone()
ilOpenIdAttributeMappingTemplate::loadPhone |
( |
array |
$mapping_rule | ) |
|
|
private |
◆ loadProfile()
ilOpenIdAttributeMappingTemplate::loadProfile |
( |
array |
$mapping_rule | ) |
|
|
private |
- Parameters
-
array<string,string> | $mapping_rule |
- Returns
- array<string, string>
Definition at line 53 of file class.ilOpenIdAttributeMappingTemplates.php.
Referenced by getMappingRulesByAdditionalScopes().
55 $mapping_rule[
'lastname'] =
'family_name';
56 $mapping_rule[
'firstname'] =
'given_name';
57 $mapping_rule[
'login'] =
'preferred_username';
58 $mapping_rule[
'gender'] =
'gender';
59 $mapping_rule[
'birthday'] =
'birthdate';
◆ OPEN_ID_CONFIGURED_SCOPES
final const ilOpenIdAttributeMappingTemplate::OPEN_ID_CONFIGURED_SCOPES = 'auth_oidc_configured_scopes' |
The documentation for this class was generated from the following file: