MmHttpBearerAuthentication class

Implemented types

Constructors

MmHttpBearerAuthentication([dynamic accessToken])
Constucts HttpBearerAuthentication from an optional accessToken which will be included in request headers using the Authorization: Bearer [token] method.

Properties

accessToken ↔ dynamic
may be a String or a Function that returns a string.
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<MmQueryParam> queryParams, Map<String, String> headerParams) → 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