ParsesOAuthTokenResponses
trait ParsesOAuthTokenResponses
Methods
array
parseOAuthTokenResponse(Response $response)
Parse the access token, expiry and data of a token response.
array|null
resolveOAuthScopes(mixed $scopes)
Resolve the scopes reported by the provider.
CarbonImmutable|null
resolveOAuthExpiry(mixed $expiresIn)
Resolve an OAuth token expiry.
Details
at line 25
protected array
parseOAuthTokenResponse(Response $response)
Parse the access token, expiry and data of a token response.
at line 42
protected array|null
resolveOAuthScopes(mixed $scopes)
Resolve the scopes reported by the provider.
at line 60
protected CarbonImmutable|null
resolveOAuthExpiry(mixed $expiresIn)
Resolve an OAuth token expiry.