Authenticator class abstract

Validates a Credential and resolves it to a Principal.

Implementations are pluggable (PublicKeyAuthenticator, TokenAuthenticator, or a composite). The Hub never ships an allow-all authenticator in its default composition root — authentication always fails closed.

Implementers

Constructors

Authenticator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authenticate(Credential credential, {required Uint8List challenge}) Future<Principal>
Authenticates credential, returning the resolved Principal.
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