AuthValidator class

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 validate, passing in the parsed Authorization header of the Request.

AuthServer implements this interface.

Implementers

Constructors

AuthValidator()

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

Methods

documentRequirementsForAuthorizer(APIDocumentContext context, Authorizer authorizer, { List<AuthScope> scopes }) → List<APISecurityRequirement>
Provide APISecurityRequirements for authorizer. [...]
validate<T>(AuthorizationParser<T> parser, T authorizationData, { List<AuthScope> requiredScope }) → FutureOr<Authorization>
Returns an Authorization if authorizationData is valid. [...]
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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited