| 1 | <?php |
||
| 10 | class RefreshToken extends GrantTypeBase implements RefreshTokenGrantTypeInterface |
||
| 11 | { |
||
| 12 | protected $grantType = 'refresh_token'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @inheritdoc |
||
| 16 | */ |
||
| 17 | 3 | protected function getDefaults() |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritdoc |
||
| 24 | */ |
||
| 25 | 2 | public function setRefreshToken($refreshToken) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritdoc |
||
| 32 | */ |
||
| 33 | 3 | public function hasRefreshToken() |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritdoc |
||
| 40 | */ |
||
| 41 | 3 | public function getToken() |
|
| 49 | } |
||
| 50 |