コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sysInUserInfoStore"></param>
        /// <param name="cacheManager"></param>
        protected SysUserInfoManager(
            SysUserInfoStore <TUser> sysInUserInfoStore,
            IOptions <IdentityOptions> optionsAccessor,
            IPasswordHasher <TUser> passwordHasher,
            IEnumerable <IUserValidator <TUser> > userValidators,
            IEnumerable <IPasswordValidator <TUser> > passwordValidators,
            ILookupNormalizer keyNormalizer,
            IdentityErrorDescriber errors,
            IServiceProvider services,
            ILogger <UserManager <TUser> > logger,
            ICacheManagerExtens cacheManagerExtens,
            IPermissionManager permissionManager,
            IAbpSessionExtens abpSessionExtens
            ) : base(
                sysInUserInfoStore,
                optionsAccessor,
                passwordHasher,
                userValidators,
                passwordValidators,
                keyNormalizer,
                errors,
                services,
                logger
                )
        {
            _sysInUserInfoStore = sysInUserInfoStore;
            _optionsAccessor    = optionsAccessor;

            _cacheManagerExtens = cacheManagerExtens;
            _permissionManager  = permissionManager;
            AbpSessionExtens    = abpSessionExtens;
        }
コード例 #2
0
 public SignInManager(
     IUserInfoRepository userInfoRepository,
     UserInfoManager userManager,
     SysUserInfoStore <UserInfo> sysInUserInfoStore,
     UserClaimsPrincipalFactory claimsFactory,
     IHttpContextAccessor contextAccessor,
     IOptions <IdentityOptions> optionsAccessor,
     ILogger <SignInManager <UserInfo> > logger,
     IAuthenticationSchemeProvider schemes)
     : base(
         userInfoRepository,
         userManager,
         sysInUserInfoStore,
         claimsFactory,
         contextAccessor,
         optionsAccessor,
         logger,
         schemes)
 {
 }
コード例 #3
0
 public SysSignInManager(
     IUserInfoRepository userInfoRepository,
     SysUserInfoManager <TUser> sysUserInfoManager,
     SysUserInfoStore <TUser> sysInUserInfoStore,
     SysUserClaimsPrincipalFactory <TUser> claimsFactory,
     IHttpContextAccessor contextAccessor,
     IOptions <IdentityOptions> optionsAccessor,
     ILogger <SignInManager <TUser> > logger,
     IAuthenticationSchemeProvider schemes)
     : base(
         sysUserInfoManager,
         contextAccessor,
         claimsFactory,
         optionsAccessor,
         logger,
         schemes)
 {
     _userInfoRepository            = userInfoRepository;
     _sysInUserInfoStore            = sysInUserInfoStore;
     _sysUserInfoManager            = sysUserInfoManager;
     _sysUserClaimsPrincipalFactory = claimsFactory;
 }