OAuthUtils class
Provides the convenience utils for OAuth.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generateAppOnlyBearerToken(
{required String consumerKey, required String consumerSecret}) → Future< String> -
Returns the App-Only bearer token associated with
consumerKey
andconsumerSecret
. -
refreshAccessToken(
{required String clientId, required String clientSecret, required String refreshToken}) → Future< OAuthResponse> - Reissue the access token using the refresh token.