Beispiel #1
0
 public InitRegistrationResponseGenerator(
     IAuthorizationCodeChallengeStore codeChallengeStore,
     ISystemClock systemClock
     )
 {
     CodeChallengeStore = codeChallengeStore ?? throw new ArgumentNullException(nameof(codeChallengeStore));
     SystemClock        = systemClock ?? throw new ArgumentNullException(nameof(systemClock));
 }
Beispiel #2
0
 public TrustedDeviceExtensionGrantValidator(
     IAuthorizationCodeChallengeStore codeChallengeStore,
     IDevicePasswordHasher devicePasswordHasher,
     ISystemClock systemClock,
     IUserDeviceStore userDeviceStore
     )
 {
     CodeChallengeStore   = codeChallengeStore ?? throw new ArgumentNullException(nameof(codeChallengeStore));
     DevicePasswordHasher = devicePasswordHasher ?? throw new ArgumentNullException(nameof(devicePasswordHasher));
     SystemClock          = systemClock ?? throw new ArgumentNullException(nameof(systemClock));
     UserDeviceStore      = userDeviceStore ?? throw new ArgumentNullException(nameof(userDeviceStore));
 }
Beispiel #3
0
 public CompleteRegistrationRequestValidator(
     IAuthorizationCodeChallengeStore codeChallengeStore,
     IClientStore clientStore,
     ILogger <CompleteRegistrationRequestValidator> logger,
     ISystemClock systemClock,
     ITokenValidator tokenValidator,
     ITotpService totpService
     ) : base(clientStore, tokenValidator)
 {
     CodeChallengeStore = codeChallengeStore;
     Logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     SystemClock        = systemClock ?? throw new ArgumentNullException(nameof(systemClock));
     TotpService        = totpService ?? throw new ArgumentNullException(nameof(totpService));
 }