DatabaseUserAuthenticator constructor
DatabaseUserAuthenticator({
- required DatabaseRepository database,
- required String authenticationDatabase,
- required UserAuthenticationGenerator authenticationGenerator,
- required AuthenticationSecretsRepository secretsRepository,
database, authenticationDatabase are both used to
determine where to save and find the stored UserAuthentication
authenticationGenerator handles the generation and authentication
of UserAuthentications
secretsRepository
Implementation
DatabaseUserAuthenticator({
required this.database,
required this.authenticationDatabase,
required this.authenticationGenerator,
required this.secretsRepository,
});