Instances that implement this type can be used by an Authorizer to determine authorization of a request.
When an Authorizer processes a Request, it invokes methods from this type to determine the Authorization from the Authorization header of the Request. AuthServer implements this interface.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
fromBasicCredentials(
AuthBasicCredentials usernameAndPassword) → dynamic -
Returns an Authorization from basic credentials.
-
fromBearerToken(
String bearerToken, { List<AuthScope> scopesRequired }) → dynamic -
Returns an Authorization from a bearer token.
-
requirementsForStrategy(
AuthStrategy strategy) → List<APISecurityRequirement> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited