Class League\OAuth2\Client\Grant\AbstractGrant

abstract
uses RequiredParameterTrait

Represents a type of authorization grant.

An authorization grant is a credential representing the resource owner's authorization (to access its protected resources) used by the client to obtain an access token. OAuth 2.0 defines four grant types -- authorization code, implicit, resource owner password credentials, and client credentials -- as well as an extensibility mechanism for defining additional types.

Methods