OAuth class
OAuth 2.0 authentication
Constructors
Properties
- accessToken ↔ String?
-
Access token value
getter/setter pair
- clientId → String?
-
Client Id from https://dashboard.aspose.cloud/applications
final
- clientSecret → String?
-
Client Secret from https://dashboard.aspose.cloud/applications
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenExpiration ↔ DateTime?
-
Token expiration date
getter/setter pair
- tokenUrl → String
-
URL to get the token
final
Methods
-
applyToParams(
List< QueryParam> queryParams, Map<String, String> headerParams) → Future<void> - Apply authentication settings to header and query params.
-
fetchToken(
) → Future< String> - Fetches the token from the OAuth server
-
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