| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function convertToEncryptedRefreshToken() |
||
| 23 | { |
||
| 24 | return $this->encrypt( |
||
| 25 | json_encode( |
||
| 26 | [ |
||
| 27 | 'client_id' => $this->accessToken->getClient()->getIdentifier(), |
||
| 28 | 'refresh_token_id' => $this->getIdentifier(), |
||
| 29 | 'access_token_id' => $this->accessToken->getIdentifier(), |
||
| 30 | 'scopes' => $this->accessToken->getScopes(), |
||
| 31 | 'user_id' => $this->accessToken->getUserIdentifier(), |
||
| 32 | 'expire_time' => $this->getExpiryDateTime()->getTimestamp(), |
||
| 33 | ] |
||
| 34 | ) |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |