AuthControllerImpl<T extends Auth<AuthKeys> >.fromSource constructor
AuthControllerImpl<T extends Auth<AuthKeys> >.fromSource ({
- required AuthDataSource auth,
- AuthorizedDataSource<
T> ? backup, - AuthMessages? messages,
Implementation
AuthControllerImpl.fromSource({
required AuthDataSource auth,
AuthorizedDataSource<T>? backup,
AuthMessages? messages,
}) : this.fromHandler(
messages: messages,
authHandler: AuthHandlerImpl(auth),
backupHandler: backup != null ? BackupHandlerImpl<T>(backup) : null,
);