public CompleteRegistrationResponseGenerator( IDevicePasswordHasher devicePasswordHasher, ISystemClock systemClock, IUserDeviceStore userDeviceStore ) { UserDeviceStore = userDeviceStore ?? throw new ArgumentNullException(nameof(userDeviceStore)); DevicePasswordHasher = devicePasswordHasher; SystemClock = systemClock ?? throw new ArgumentNullException(nameof(systemClock)); }
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)); }