示例#1
0
 public IdentityService(ApplicationContext ctx, IHttpContextAccessor context, UserPasswordService userPasswordService)
 {
     _context             = context;
     _ctx                 = ctx;
     _userPasswordService = userPasswordService;
     _tokenName           = "x-access-token";
 }
示例#2
0
 public UserService(ApplicationContext ctx, UserPasswordService userPasswordService)
 {
     _ctx = ctx;
     _userPasswordService = userPasswordService;
 }