class PersonalAccessBearerTokenResponse extends BearerTokenResponse

Methods

ResponseInterface
generateHttpResponse(ResponseInterface $response)

Generate the token response with independent refresh-token authorization.

array
getExtraParams(AccessTokenEntityInterface $accessToken)

Include the identifier of the issued personal access token.

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

ResponseInterface generateHttpResponse(ResponseInterface $response)

Generate the token response with independent refresh-token authorization.

Parameters

ResponseInterface $response

Return Value

ResponseInterface

at line 17
protected array getExtraParams(AccessTokenEntityInterface $accessToken)

Include the identifier of the issued personal access token.

{@inheritdoc}

Parameters

AccessTokenEntityInterface $accessToken

Return Value

array

protected Token|null getToken()

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

Return Value

Token|null

in BearerTokenResponse 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

in BearerTokenResponse at line 108
protected SigningCryptKey|null getSigningKey()

Get the signing key pinned to the current issuance.

Return Value

SigningCryptKey|null