StaticBearerAuth class final
A BearerAuthenticator backed by a fixed token → VID map. For demos and tests; §3 says a production deployment SHOULD bind tokens to identifiers under a controlled trust framework instead.
- Implemented types
Constructors
-
StaticBearerAuth(Map<
String, String> tokens)
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
String token) → String? -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited