Class SimpleID\Protocols\OAuth\Token

abstract

An OAuth access or refresh token.

Tokens generated by this class are hybrid tokens. That is, the encoded token string (which is returned to the client) contains encrypted basic data on the authorisation and scope associated with the token. Additional data may also be stored on the server side. Therefore a resource server, with the appropriate keys, can decrypt the encoded token without making further calls to the SimpleID server.

This class cannot be instantiated directly. It can only be created by its subclasses.

Methods
Constants
Properties