AuthManipulator class abstract
harmony_auth manipulation applied on a request when adding auth information
note: header maps are not case sensitive
Constructors
- AuthManipulator()
-
standard implementation
constfactory
- AuthManipulator.general(void lambda(RequestOptions request, AuthToken token))
-
general implementation
constfactory
- AuthManipulator.header(String key, String value(AuthToken token))
-
header implementation
constfactory
- AuthManipulator.headerPrefixed(String key, String valuePrefix)
-
headerPrefixed implementation
constfactory
-
AuthManipulator.headers(Map<
String, String> headers(AuthToken token)) -
headers implementation
constfactory
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
-
manipulate(
RequestOptions request, AuthToken token) → void - manipulate request in-place with access token.
-
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