class BearerTokenResponse extends BearerTokenResponse implements Transient

Methods

ResponseInterface
generateHttpResponse(ResponseInterface $response)

Generate the token response with independent refresh-token authorization.

array
getExtraParams(AccessTokenEntityInterface $accessToken)

Report the final scopes, including a user's partial approval.

Token|null
getToken()

Get the access token saved by the current issuance without another query.

getGrant()

Get the credential redeemed by the current issuance, if any.

getSigningKey()

Get the signing key pinned to the current issuance.

Details

at line 31
ResponseInterface generateHttpResponse(ResponseInterface $response)

Generate the token response with independent refresh-token authorization.

Parameters

ResponseInterface $response

Return Value

ResponseInterface

at line 79
protected array getExtraParams(AccessTokenEntityInterface $accessToken)

Report the final scopes, including a user's partial approval.

{@inheritdoc}

Parameters

AccessTokenEntityInterface $accessToken

Return Value

array

at line 92
protected Token|null getToken()

Get the access token saved by the current issuance without another query.

Return Value

Token|null

at line 100
protected AuthCode|DeviceCode|RefreshToken|null getGrant()

Get the credential redeemed by the current issuance, if any.

Return Value

AuthCode|DeviceCode|RefreshToken|null

at line 108
protected SigningCryptKey|null getSigningKey()

Get the signing key pinned to the current issuance.

Return Value

SigningCryptKey|null