AuthServer constructor Null safety
- AuthServerDelegate delegate,
- {int hashRounds = 1000,
- int hashLength = 32,
- Hash? hashFunction}
Creates a new instance of an AuthServer with a delegate.
hashFunction
defaults to sha256.
Implementation
AuthServer(
this.delegate, {
this.hashRounds = 1000,
this.hashLength = 32,
Hash? hashFunction,
}) : hashFunction = hashFunction ?? sha256;