| 1 | <?php  | 
            ||
| 10 | class RefreshToken extends GrantTypeBase implements RefreshTokenGrantTypeInterface  | 
            ||
| 11 | { | 
            ||
| 12 | const CONFIG_REFRESH_TOKEN = 'refresh_token';  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var string  | 
            ||
| 16 | */  | 
            ||
| 17 | protected $grantType = 'refresh_token';  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 |      * {@inheritdoc} | 
            ||
| 21 | */  | 
            ||
| 22 | 5 | protected function getDefaults()  | 
            |
| 26 | |||
| 27 | /**  | 
            ||
| 28 |      * {@inheritdoc} | 
            ||
| 29 | */  | 
            ||
| 30 | 3 | public function setRefreshToken($refreshToken)  | 
            |
| 34 | |||
| 35 | /**  | 
            ||
| 36 |      * {@inheritdoc} | 
            ||
| 37 | */  | 
            ||
| 38 | 3 | public function hasRefreshToken()  | 
            |
| 42 | |||
| 43 | /**  | 
            ||
| 44 |      * {@inheritdoc} | 
            ||
| 45 | */  | 
            ||
| 46 | 3 | public function getToken()  | 
            |
| 54 | }  | 
            ||
| 55 |