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
|
@@ 115-125 (lines=11) @@
|
112 |
|
return $candidate; |
113 |
|
} |
114 |
|
|
115 |
|
public function jsonSerialize() |
116 |
|
{ |
117 |
|
return [ |
118 |
|
'identity_id' => $this->identityId, |
119 |
|
'institution' => $this->institution, |
120 |
|
'common_name' => $this->commonName, |
121 |
|
'email' => $this->email, |
122 |
|
'name_id' => $this->nameId, |
123 |
|
'ra_institution' => $this->raInstitution, |
124 |
|
]; |
125 |
|
} |
126 |
|
} |
127 |
|
|