AuthServer constructor

AuthServer(
  1. AuthServerDelegate delegate, {
  2. int hashRounds = 1000,
  3. int hashLength = 32,
  4. Hash hashFunction = sha256,
})

Creates a new instance of an AuthServer with a delegate.

hashFunction defaults to sha256.

Implementation

AuthServer(
  this.delegate, {
  this.hashRounds = 1000,
  this.hashLength = 32,
  this.hashFunction = sha256,
});