OAuth2Client class
Methods
-
clientCredentials({String? scope, Map<String, String>? additionalParameters})
→ Future<OAuthTokenResponse>
-
-
exchangeAuthorizationCode({required String code, required Uri redirectUri, String? codeVerifier, String? scope, Map<String, String>? additionalParameters})
→ Future<OAuthTokenResponse>
-
-
fetchUserInfo(Uri endpoint, String accessToken)
→ Future<Map<String, dynamic>>
-
Loads profile data from the provider userinfo endpoint.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshToken({required String refreshToken, String? scope, Map<String, String>? additionalParameters})
→ Future<OAuthTokenResponse>
-
-
toString()
→ String
-
A string representation of this object.
inherited