Beispiel #1
0
 public TokenService(TokenServiceOptions aOptions, IHasher aHasher)
 {
     Hasher  = aHasher;
     Options = aOptions;
 }
Beispiel #2
0
 public TokenService(TokenServiceOptions aOptions)
     : this(aOptions, new Sha1Hasher())
 {
 }