protected ClaimsAuthenticationServiceBase(IRetrieveOperation <UserKey, TUser> userStore, ClaimOptions options, SystemClock clock) { this._store = Guard.Null(nameof(userStore), userStore); this._options = Guard.Null(nameof(options), options); this._clock = Guard.Null(nameof(clock), clock); }
public ClaimsAuthenticationService(IHttpContextAccessor httpContextAccessor, IRetrieveOperation <UserKey, TUser> userStore, ClaimOptions options, SystemClock clock) : base(userStore, options, clock) { this._httpContextAccessor = Guard.Null(nameof(httpContextAccessor), httpContextAccessor); this._options = Guard.Null(nameof(options), options); this._clock = Guard.Null(nameof(clock), clock); }
public UserHelper(IRetrieveOperation <EmailAddress, TUser> userEmailStore, ISingleUseTokenService singleUseTokenService, ICrudStore <string, TimedLockout> timedLockoutStore, IPasswordHasher passwordHasher, IEnumerable <IPasswordStrengthValidator> passwordStrengthValidators, SystemClock clock) : base() { this._userEmailStore = Guard.Null(nameof(userEmailStore), userEmailStore); this.SingleUseTokenService = Guard.Null(nameof(singleUseTokenService), singleUseTokenService); this.TimedLockoutStore = Guard.Null(nameof(timedLockoutStore), timedLockoutStore); this.PasswordHasher = Guard.Null(nameof(passwordHasher), passwordHasher); this.PasswordStrengthValidators = Guard.Null(nameof(passwordStrengthValidators), passwordStrengthValidators); this.Clock = Guard.Null(nameof(clock), clock); }