AuthenticationSecretsRepository class abstract
Repository to access secrets for the Authenticator
- Implementers
- Available extensions
Constructors
Properties
- channel ↔ BlocEventChannel
-
This is shared between all
Repositorys in the repository layer.latefinalinherited -
generator
→ Future<
UserAuthenticationGenerator> -
Available on AuthenticationSecretsRepository, provided by the AuthenticationSecretsRepositoryRepositoryGenerator extension
Creates a UserAuthenticationGenerator based on the result of secretsno setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
jwtSecret
→ FutureOr<
String> -
Retrieves the jwt secret from a potentially secure place.
no setter
- random → Random?
-
Specified iff a specific random seed is necessary such as in tests
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secrets
→ FutureOr<
AuthenticationSecretsModel> -
Retrieves the secrets from a potentially secure place.
no setter
Methods
-
clearSecrets(
) → FutureOr< void> - Clears any secrets that have been set.
-
dispose(
) → void -
Disposes this value to save memory. Implementations should be idempotent.
inherited
-
generateListeners(
BlocEventChannel channel) → List< BlocEventListener> -
Generates the listener map that this
Repositorywill remove from thechannelwhen this repository is disposed.inherited -
initialize(
BlocEventChannel channel) → void -
Initializes this repository, adding the listeners produced by
generateListenersto the givenchannel.inherited -
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