public CachedCrudRepository(ICrudStore <TEntity, TKey> store, ICacheService cacheService, ICacheOptions options) : base(store, cacheService, options) { Store = store; }
public IdentityService(ICrudStore <UserKey, TUser> userStore, IEnumerable <IUserValidator <TUser> > userValidators, IAuthenticationService <ClaimsPrincipal> claimsAuthenticationService, IUserClaimsConverter <TUser> claimsConverter, IUserHelper helper) : base(userStore, userValidators, claimsAuthenticationService, claimsConverter) { this.Helper = Guard.Null(nameof(helper), helper); }
protected IdentityServiceBase(ICrudStore <UserKey, TUser> userStore, IEnumerable <IUserValidator <TUser> > userValidators, IAuthenticationService <ClaimsPrincipal> claimsAuthenticationService, IUserClaimsConverter <TUser> claimsConverter) { this._userStore = Guard.Null(nameof(userStore), userStore); this._userValidators = Guard.Null(nameof(userValidators), userValidators); this._claimsAuthenticationService = Guard.Null(nameof(claimsAuthenticationService), claimsAuthenticationService); this._claimsConverter = Guard.Null(nameof(claimsConverter), claimsConverter); }
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); }
protected CrudRepository(ICrudStore <TEntity, TKey> store) : base(store) { Store = store; }