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
const
factory
AuthManipulator.general(void lambda(RequestOptions request, AuthToken token))
general implementation
const
factory
AuthManipulator.header(String key, String value(AuthToken token))
header implementation
const
factory
AuthManipulator.headerPrefixed(String key, String valuePrefix)
headerPrefixed implementation
const
factory
AuthManipulator.headers(Map<String, String> headers(AuthToken token))
headers implementation
const
factory

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