LogbotHttpBearerAuth class
The only change from HttpBasicAuth
is that the access token function is async, so applyToParams
becomes an async function that waits for the token to refresh before setting the accessToken in the
request headers
- Implemented types
Constructors
Properties
- accessToken ↔ dynamic
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyToParams(
List< QueryParam> queryParams, Map<String, String> headerParams) → Future<void> -
Apply authentication settings to header and query params.
override
-
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