fresh_graphql
library
Classes
-
FreshLink<T>
-
A GraphQL Link which handles manages an authentication token automatically.
-
InMemoryTokenStorage<T>
-
A TokenStorage implementation that keeps the token in memory.
-
OAuth2Token
-
Standard OAuth2Token as defined by
https://www.oauth.com/oauth2-servers/access-tokens/access-token-response/
-
TokenStorage<T>
-
An interface which must be implemented to
read, write, and delete the
Token
.
Exceptions / Errors
-
RevokeTokenException
-
An Exception that should be thrown when overriding
refreshToken
if the
refresh fails and should result in a force-logout.