LocalAuthStrategy<User> constructor

LocalAuthStrategy<User>(
  1. LocalAuthVerifier<User> verifier, {
  2. String usernameField = 'username',
  3. String passwordField = 'password',
  4. String invalidMessage = 'Please provide a valid username and password.',
  5. bool allowBasic = false,
  6. bool forceBasic = false,
  7. String realm = 'Authentication is required.',
})

Implementation

LocalAuthStrategy(this.verifier,
    {this.usernameField = 'username',
    this.passwordField = 'password',
    this.invalidMessage = 'Please provide a valid username and password.',
    this.allowBasic = false,
    this.forceBasic = false,
    this.realm = 'Authentication is required.'}) {
  _log.info('Using LocalAuthStrategy');
}