示例#1
0
 public UserManager(ICoreUserDm userDm,
                    ICoreModuleDm moduleDm,
                    IMapper mapper,
                    IJwtFactory jwtFactory,
                    IOptions <JwtIssuerOptions> jwtOptions,
                    IHttpContextAccessor httpContextAccessor)
 {
     _userDm     = userDm;
     _mapper     = mapper;
     _jwtFactory = jwtFactory;
     _jwtOptions = jwtOptions.Value;
     _caller     = httpContextAccessor.HttpContext.User;
     _moduleDm   = moduleDm;
 }
示例#2
0
 public UserManager(ICoreUserDm userDm, IMapper mapper)
 {
     _userDm = userDm;
     _mapper = mapper;
 }
示例#3
0
 public CoreUserService(ICoreUserDm dm, IUserManager userManager) : base(dm, userManager)
 {
     _dm = dm;
 }