src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/Identity.php 1 location
|
@@ 109-119 (lines=11) @@
|
| 106 |
|
return $identity; |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
public function jsonSerialize() |
| 110 |
|
{ |
| 111 |
|
return [ |
| 112 |
|
'id' => $this->id, |
| 113 |
|
'name_id' => $this->nameId, |
| 114 |
|
'institution' => $this->institution, |
| 115 |
|
'email' => $this->email, |
| 116 |
|
'common_name' => $this->commonName, |
| 117 |
|
'preferred_locale' => $this->preferredLocale, |
| 118 |
|
]; |
| 119 |
|
} |
| 120 |
|
} |
| 121 |
|
|
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/RaCandidate.php 1 location
|
@@ 105-115 (lines=11) @@
|
| 102 |
|
return $candidate; |
| 103 |
|
} |
| 104 |
|
|
| 105 |
|
public function jsonSerialize() |
| 106 |
|
{ |
| 107 |
|
return [ |
| 108 |
|
'identity_id' => $this->identityId, |
| 109 |
|
'institution' => $this->institution, |
| 110 |
|
'common_name' => $this->commonName, |
| 111 |
|
'email' => $this->email, |
| 112 |
|
'name_id' => $this->nameId, |
| 113 |
|
'ra_institution' => $this->raInstitution, |
| 114 |
|
]; |
| 115 |
|
} |
| 116 |
|
} |
| 117 |
|
|