Exemplo n.º 1
0
 public TokenTtlDefaultChecker(ITokenGeneratorClock tokenGeneratorClock)
 {
     _tokenGeneratorClock = tokenGeneratorClock ?? throw new ArgumentNullException(nameof(tokenGeneratorClock));
 }
Exemplo n.º 2
0
 public TokenCreateService(IDatabaseContext databaseContext, ITokenGeneratorClock tokenGeneratorClock, ITokenGenerator tokenGenerator)
 {
     _databaseContext     = databaseContext;
     _tokenGeneratorClock = tokenGeneratorClock;
     _tokenGenerator      = tokenGenerator;
 }