示例#1
0
 public LoginController(IJwtSupporter jwtSupporter, IHttpContextAccessor httpContextAccessor, IUserRepository userRepository, IRepository <User, Guid> repository)
 {
     _jwtSupporter        = jwtSupporter;
     _httpContextAccessor = httpContextAccessor;
     _userRepo            = userRepository;
     _repository          = repository;
 }
 public WeChatUserController(
     IJwtSupporter jwtSupporter,
     IWeChatSessionInfoStore weChatSessionInfo,
     IUserWithWechatRepository wechatUserRepository,
     IUserRepository userRepository)
 {
     _jwtSupporter       = jwtSupporter;
     _weChatSessionStore = weChatSessionInfo;
     _userRepository     = userRepository;
     _wechatRepository   = wechatUserRepository;
 }
示例#3
0
 public StepFlyController(
     IStepFlyServiceFactory stepFlyServiceFactory,
     IStepFlyUserRepository userRepository,
     IUserRoleRepository roleRepository,
     IStepFlyHistoryRepository historyRepo,
     IJwtSupporter jwtSupporter)
 {
     _stepFlyServiceFactory = stepFlyServiceFactory;
     _userRepo       = userRepository;
     _roleRepository = roleRepository;
     _historyRepo    = historyRepo;
     _jwtSupporter   = jwtSupporter;
 }
 public UserController(IUserRepository userRepository, IJwtSupporter jwtSupporter)
 {
     _userRepo     = userRepository;
     _jwtSupporter = jwtSupporter;
 }