public AppUserStore(IdentityErrorDescriber describer) : base(describer) { }
public UserStore(TContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public UserManager(IUserStore <User> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <User> passwordHasher, IEnumerable <IUserValidator <User> > userValidators, IEnumerable <IPasswordValidator <User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <User> > logger) : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger) { }
public UserStore(IDal <TUser> dal, IDal <TRole> rolesDal, IdentityErrorDescriber describer) : base(describer) { _dal = dal; _rolesDal = rolesDal; }
public IdentityUserValidator(IdentityErrorDescriber errors = null) { Describer = errors ?? new IdentityErrorDescriber(); }
/// <summary> /// Constructs a new instance of <see cref="UserOnlyStore{TUser}"/>. /// </summary> /// <param name="context">The <see cref="DbContext"/>.</param> /// <param name="describer">The <see cref="IdentityErrorDescriber"/>.</param> public UserOnlyStore(IIdentityRepository <AppUser <string>, AppRole <string>, string> context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public UserAccessor(IHttpContextAccessor httpContextAccessor, IdentityErrorDescriber errors) { this.errors = errors; this.httpContextAccessor = httpContextAccessor; }
public RoleStore(IMongoCollection <TRole> roleCollection, IdentityErrorDescriber describer = null) { this.roleCollection = roleCollection; }
/// <summary> /// Constructs a new instance of <see cref="Neo4jUserStore{TUser,TRole}"/>. /// </summary> /// <param name="session">The <see cref="ISession"/>.</param> /// <param name="describer">The <see cref="IdentityErrorDescriber"/>.</param> public Neo4jUserStore(ISession session, IdentityErrorDescriber describer = null) : base(session, describer) { }
public SunRoleManager(IRoleStore <Role> store, IEnumerable <IRoleValidator <Role> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <RoleManager <Role> > logger) : base(store, roleValidators, keyNormalizer, errors, logger) { KeyNormalizer = Normalizer.Singleton; }
public BaseIdentityRoleStore(BaseIdentityDbContext context, IdentityErrorDescriber describer = null) : base(context, describer) { AutoSaveChanges = false; }
/// <summary> /// 角色唯一键已经存在。 /// </summary> /// <param name="describer">错误描述实例。</param> /// <param name="normalizedRoleName">角色唯一键。</param> /// <returns>返回错误实例。</returns> public static IdentityError DuplicateNormalizedRoleName(this IdentityErrorDescriber describer, string normalizedRoleName) { return(describer.SecurityError(ErrorDescriptor.DuplicateNormalizedRoleName, normalizedRoleName)); }
/// <summary> /// 用户不存在。 /// </summary> /// <param name="describer">错误描述实例。</param> /// <returns>返回错误实例。</returns> public static IdentityError UserNotFound(this IdentityErrorDescriber describer) { return(describer.SecurityError(ErrorDescriptor.UserNotFound)); }
/// <summary> /// 用户被锁定。 /// </summary> /// <param name="describer">错误描述实例。</param> /// <returns>返回错误实例。</returns> public static IdentityError UserLockedOut(this IdentityErrorDescriber describer) { return(describer.SecurityError(ErrorDescriptor.UserLockedOut)); }
public CustomIdentityUserStore(IdentityErrorDescriber describer) : base(describer) { }
public Usercustom(EcommerContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public PandaUserStore(Panda2DbContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public UserService(DATA.TicketingSystemDbContext db, IUserStore <DATA_MODELS.User> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <DATA_MODELS.User> passwordHasher, IEnumerable <IUserValidator <DATA_MODELS.User> > userValidators, IEnumerable <IPasswordValidator <DATA_MODELS.User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <DATA_MODELS.User> > logger) : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger) { this.db = db ?? throw new ArgumentNullException(nameof(db)); }
public ApplicationUserManager(ApplicationUserStore applicationUserStore, IOptions <IdentityOptions> options, IPasswordHasher <ApplicationUser> passwordHasher, IEnumerable <IUserValidator <ApplicationUser> > userValidators, IEnumerable <IPasswordValidator <ApplicationUser> > passwordValidators, ILookupNormalizer lookupNormalizer, IdentityErrorDescriber identityErrorDescriber, IServiceProvider services, ILogger <ApplicationUserManager> logger) : base(applicationUserStore, options, passwordHasher, userValidators, passwordValidators, lookupNormalizer, identityErrorDescriber, services, logger) { }
public ModwanaRoleStore(ModwanaDbContext context, IdentityErrorDescriber errorDescriber) : base(context, errorDescriber) { }
public KullaniciStore(MTIdentityDbContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public SecteUserStore(WebsiteContext context, IdentityErrorDescriber describer = null) : base(context, describer) { _context = context; }
public DefaultPhoneNumberValidator(IdentityErrorDescriber describer, IOptions <IdentityOptionsExtended> options) { _describer = describer; _options = options; }
public UserService( IUserRepository userRepository, ICipherRepository cipherRepository, IOrganizationUserRepository organizationUserRepository, IOrganizationRepository organizationRepository, IU2fRepository u2fRepository, IMailService mailService, IPushNotificationService pushService, IUserStore <User> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <User> passwordHasher, IEnumerable <IUserValidator <User> > userValidators, IEnumerable <IPasswordValidator <User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <User> > logger, ILicensingService licenseService, IEventService eventService, IApplicationCacheService applicationCacheService, IDataProtectionProvider dataProtectionProvider, IPaymentService paymentService, IPolicyRepository policyRepository, IReferenceEventService referenceEventService, ICurrentContext currentContext, GlobalSettings globalSettings, IOrganizationService organizationService) : base( store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger) { _userRepository = userRepository; _cipherRepository = cipherRepository; _organizationUserRepository = organizationUserRepository; _organizationRepository = organizationRepository; _u2fRepository = u2fRepository; _mailService = mailService; _pushService = pushService; _identityOptions = optionsAccessor?.Value ?? new IdentityOptions(); _identityErrorDescriber = errors; _passwordHasher = passwordHasher; _passwordValidators = passwordValidators; _licenseService = licenseService; _eventService = eventService; _applicationCacheService = applicationCacheService; _paymentService = paymentService; _policyRepository = policyRepository; _organizationServiceDataProtector = dataProtectionProvider.CreateProtector( "OrganizationServiceDataProtector"); _referenceEventService = referenceEventService; _currentContext = currentContext; _globalSettings = globalSettings; _organizationService = organizationService; }
public ExtendedUserStore(IdentityServerDbContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
/// <summary> /// Constructs a new instance of <see cref="RoleStore{TRole}"/>. /// </summary> /// <param name="context">The <see cref="DbContext"/>.</param> /// <param name="describer">The <see cref="IdentityErrorDescriber"/>.</param> public RoleStore(DbContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public RoleManagerService(IRoleStore <Role> store, IEnumerable <IRoleValidator <Role> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <RoleManager <Role> > logger) : base(store, roleValidators, keyNormalizer, errors, logger) { }
public RoleStore(IdentityDbContext context, IdentityErrorDescriber errorDescriber, ILoggerFactory loggerFactory, IConfiguration configuration) : base(context, errorDescriber, loggerFactory, configuration) { }
public ApplicationUserStore(ApplicationIdentityDbContext context, IdentityErrorDescriber describer = null) : base(context, describer) { }
public CustomRoleManager(IRoleStore <CustomRole> store, IEnumerable <IRoleValidator <CustomRole> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <RoleManager <CustomRole> > logger, IHttpContextAccessor contextAccessor) : base(store, roleValidators, keyNormalizer, errors, logger, contextAccessor) { }