oauth_dio library
Classes
- BearerInterceptor
- Interceptor to send the bearer access token and update the access token when needed
- OAuth
- OAuth Client
- OAuthGrantType
- Use to implement a custom grantType
- OAuthMemoryStorage
- Save Token in Memory
- OAuthStorage
- Use to implement custom token storage
- OAuthToken
- Token
- PasswordGrant
- Obtain an access token using a username and password
- RefreshTokenGrant
- Obtain an access token using an refresh token
Properties
-
stringToBase64
↔ Codec<
String, String> -
Encode String To Base64
getter/setter pair
Typedefs
- OAuthTokenExtractor = OAuthToken Function(Response response)
-
OAuthTokenValidator
= Future<
bool> Function(OAuthToken token)