getRefreshToken()
getRefreshToken( $refresh_token) : \OAuth2\Storage\An
Grant refresh access tokens.
Retrieve the stored data for the given refresh token.
Required for OAuth2::GRANT_TYPE_REFRESH_TOKEN.
Parameters
| $refresh_token | Refresh token to be check with. |
Returns
\OAuth2\Storage\An —associative array as below, and NULL if the refresh_token is invalid:
- refresh_token: Refresh token identifier.
- client_id: Client identifier.
- user_id: User identifier.
- expires: Expiration unix timestamp, or 0 if the token doesn't expire.
- scope: (optional) Scope values in space-separated string.