Class SimpleID\Protocols\OAuth\RefreshToken

extends Token
implements TokenGrantType

An OAuth refresh token.

Refresh tokens are perpetual bearer tokens from which access tokens can be granted. As such, it implements the TokenGrantType interface.

To create and encode a token, use the create() static function. To parse an encoded token, use the decode() static function.

Methods
Methods inherited from SimpleID\Protocols\OAuth\Token
init(), isValid(), getID(), getAuthorization(), getScope(), hasScope(), getAdditionalData(), hasExpired(), getExpiry(), getEncoded(), revoke(), revokeAll(), getCacheKey(), parse(), encode(), getScopeRef(), resolveScope(), getScopeRefMap()
Constants inherited from SimpleID\Protocols\OAuth\Token
GRANT_REF_SEPARATOR, TTL_PERPETUAL, KEY_FQAID, KEY_TYPE, KEY_CACHE_HASH, KEY_ID, KEY_GRANTREF, KEY_SCOPEREF, KEY_EXPIRE
Properties inherited from SimpleID\Protocols\OAuth\Token
$branca, $id, $authorization, $scope, $expire, $grant_ref, $additional, $encoded, $is_parsed