Class SimpleID\Protocols\OAuth\Code

implements TokenGrantType

A class representing an OAuth authorization code.

A new authorization code is created using the create() static method.

An existing authorization code (which may or may not be valid) can be decoded using the decode() static method. You should always use the isValid() method to check whether the authorization code is valid before using it to issue tokens, etc.

Methods
Constants