SwampAuthentication class final
Combines authentication sources with connection and creation policy.
Constructors
-
SwampAuthentication({required List<
AuthenticationSource> sources, AuthenticationPolicy policy = const AuthenticationPolicy()}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- policy → AuthenticationPolicy
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sources
→ List<
AuthenticationSource> -
final
Methods
-
authenticate(
AuthenticationRequest request) → Future< AuthenticatedUser?> -
close(
) → Future< void> -
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