Auth class

Constructors

Auth(AuthValidator validator, {AuthorizationParser parser = const AuthorizationBearerParser()})
Auth.basic(AuthValidator validator)
Creates an instance of Auth with Basic Authentication parsing.
Auth.bearer(AuthValidator validator)
Creates an instance of Auth with Bearer token parsing.

Properties

hashCode int
The hash code for this object.
no setterinherited
parser AuthorizationParser
Parses the Authorization header.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validator AuthValidator
The validating authorization object.
final

Methods

call(Handler innerHandler) Handler
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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