AuthenticatorRegistry class

Registry for pluggable authenticator factories.

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

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

Static Properties

factories Map<String, AuthenticatorFactory>
Returns an immutable view of the registered factories.
no setter

Static Methods

clear() → void
Removes all registered factories (useful for tests).
factoryFor(String method) AuthenticatorFactory?
Retrieves a factory by method, or null if none registered.
registerFactories(Iterable<AuthenticatorFactory> factories) → void
Registers multiple factories in one call.
registerFactory(AuthenticatorFactory factory) → void
Registers a factory. Overwrites any existing factory for the same method.
unregisterFactory(String method) → void
Unregisters a factory.