| 1 | <?php | ||
| 5 | class LinkedInAccessToken extends AccessToken | ||
| 6 | { | ||
| 7 | /** | ||
| 8 | * @var int | ||
| 9 | */ | ||
| 10 | protected $refreshTokenExpires; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * Constructs an access token. | ||
| 14 | * | ||
| 15 | * @param array $options An array of options returned by the service provider | ||
| 16 | * in the access token request. The `access_token` option is required. | ||
| 17 | * @throws InvalidArgumentException if `access_token` is not provided in `$options`. | ||
| 18 | */ | ||
| 19 | 5 | public function __construct(array $options = []) | |
| 31 | |||
| 32 | /** | ||
| 33 | * Returns the refresh token expiration timestamp, if defined. | ||
| 34 | * | ||
| 35 | * @return integer|null | ||
| 36 | */ | ||
| 37 | 1 | public function getRefreshTokenExpires() | |
| 41 | } | ||
| 42 |