class RefreshTokenGrant extends RefreshTokenGrant

Traits

Methods

ClientEntityInterface
validateClient(ServerRequestInterface $request)

Authenticate the client before checking its permitted grants.

string
decrypt(string $encryptedData)

Reject another grant's encrypted credential before League reads refresh fields.

array
validateOldRefreshToken(ServerRequestInterface $request, string $clientId)

Preserve refresh authorization independently of the requested access-token scopes.

Details

protected ClientEntityInterface validateClient(ServerRequestInterface $request)

Authenticate the client before checking its permitted grants.

Parameters

ServerRequestInterface $request

Return Value

ClientEntityInterface

at line 18
protected string decrypt(string $encryptedData)

Reject another grant's encrypted credential before League reads refresh fields.

Parameters

string $encryptedData

Return Value

string

at line 37
protected array validateOldRefreshToken(ServerRequestInterface $request, string $clientId)

Preserve refresh authorization independently of the requested access-token scopes.

Parameters

ServerRequestInterface $request
string $clientId

Return Value

array