AuthValidator class Null safety

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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

documentRequirementsForAuthorizer(APIDocumentContext context, Authorizer authorizer, {List<AuthScope>? scopes}) List<APISecurityRequirement>
Provide APISecurityRequirements for authorizer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate<T>(AuthorizationParser<T> parser, T authorizationData, {List<AuthScope>? requiredScope}) FutureOr<Authorization>?
Returns an Authorization if authorizationData is valid.

Operators

operator ==(Object other) bool
The equality operator.
inherited