ResolvedAuth class
The resolved headers and parameters for an auth request.
- Annotations
-
- @immutable
Constructors
-
ResolvedAuth.new({required Map<
String, String> headers, required Map<String, String> params}) -
Create a new ResolvedAuth.
const
- ResolvedAuth.noAuth()
-
Create a new ResolvedAuth with no headers or parameters.
const
Properties
Methods
-
applyToHeaders(
Map< String, String> headers) → void - Apply the resolved auth to the given headers.
-
applyToParams(
Map< String, String> params) → void - Apply the resolved auth to the given parameters.
-
merge(
ResolvedAuth other) → ResolvedAuth - Merge the given ResolvedAuth with the current ResolvedAuth.
-
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