AuthHeaderInterceptor class
Request interceptor that adds authorization headers to requests.
Adds B2C authentication headers and ApiKey headers to incoming requests.
- Implemented types
Constructors
- AuthHeaderInterceptor({required AuthHeaderCallback? authHeaderCallback, required String? apiKey})
Properties
- apiKey → String?
-
final
- authHeaderCallback → AuthHeaderCallback?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
intercept<
BodyType> (Chain< BodyType> chain) → FutureOr<Response< BodyType> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRequest(
Request request) → FutureOr< Request> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited