TokenSet
class TokenSet
Methods
__construct(string $accessToken, string|null $refreshToken = null, int|null $expiresAt = null, string $tokenType = 'Bearer', string|null $scope = null, string|null $clientId = null, string|null $clientSecret = null)
Create a token set and its associated client credentials.
static TokenSet
fromResponse(array $data)
Create a token set from an authorization server response.
Details
at line 14
__construct(string $accessToken, string|null $refreshToken = null, int|null $expiresAt = null, string $tokenType = 'Bearer', string|null $scope = null, string|null $clientId = null, string|null $clientSecret = null)
Create a token set and its associated client credentials.
at line 33
static TokenSet
fromResponse(array $data)
Create a token set from an authorization server response.