extends |
OAuthAuthGrantEvent |
|---|
An event triggered when an access token is being issued.
This event is triggered at the authorisation endpoint (under implicit flow), or at the token endpoint (under authorisation code or refresh token flows).
Under an implicit flow, both this event and the OAuthAuthGrantEvent will be triggered.
| Methods | ||
|---|---|---|
public
|
__construct(string $grant_type, Authorization $authorization, Request $request, Response $response, $scopes)
|
# |
public
|
getGrantType(): string
|
# |
| Methods inherited from SimpleID\Protocols\OAuth\OAuthAuthGrantEvent |
|---|
getAuthorization(), getRequestedScope() |
| Methods inherited from SimpleID\Protocols\OAuth\OAuthEvent |
|---|
getRequest(), getResponse() |
| Methods used from SimpleID\Util\Events\GenericEventTrait |
|---|
setEventName(), getEventName() |
| Methods used from SimpleID\Util\Events\StoppableEventTrait |
|---|
isPropagationStopped(), stopPropagation() |
| Properties | |||
|---|---|---|---|
protected
|
string
|
$grant_type
|
# |
| Properties inherited from SimpleID\Protocols\OAuth\OAuthAuthGrantEvent |
|---|
$authorization, $scopes |
| Properties inherited from SimpleID\Protocols\OAuth\OAuthEvent |
|---|
$request, $response |
| Properties used from SimpleID\Util\Events\GenericEventTrait |
|---|
$eventName |
| Properties used from SimpleID\Util\Events\StoppableEventTrait |
|---|
$stopped |