| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3.0261 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 64 | 3 | $headers['Authorization'] = "Bearer {$accessToken->getToken()}"; |
|
| 65 | } |
||
| 66 | 3 | } |
|
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | 3 | public function getIdentity(AccessTokenInterface $accessToken) |
|
| 72 | { |
||
| 73 | 3 | $response = $this->request('GET', 'users/@me', [], $accessToken); |
|
| 74 | |||
| 75 | 1 | $hydrator = new ArrayHydrator([ |
|
| 76 | 1 | 'verified' => 'emailVerified' |
|
| 82 |