コード例 #1
0
 public LoginQueryHandler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJWTGenerator jWTGenerator, DataContext context)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.jWTGenerator  = jWTGenerator;
     this.context       = context;
 }
コード例 #2
0
 public Handler(DataContext context, UserManager <AppUser> userManager,
                IJWTGenerator jWTGenerator)
 {
     _jWTGenerator = jWTGenerator;
     _userManager  = userManager;
     _context      = context;
 }
コード例 #3
0
 public Handler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager,
                ILogger <List> logger, IJWTGenerator jwtGenerator)
 {
     _jwtGenerator  = jwtGenerator;
     _signInManager = signInManager;
     _userManager   = userManager;
 }
コード例 #4
0
 public Handler(AppDbContext context, SignInManager <AppUser> signInManager, UserManager <AppUser> userManager,
                IJWTGenerator jwtGenerator)
 {
     _context      = context;
     _userManager  = userManager;
     _jwtGenerator = jwtGenerator;
 }
コード例 #5
0
 public Handler(UserManager <User> userManager, SignInManager <User> signInManager,
                IJWTGenerator generator)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.generator     = generator;
 }
コード例 #6
0
ファイル: CurrentUser.cs プロジェクト: fdwdy/Reactivities
 public Handler(UserManager <AppUser> userManager, IJWTGenerator jwtGenerator,
                IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _jwtGenerator = jwtGenerator;
     _userManager  = userManager;
 }
コード例 #7
0
 public Handler(UserManager <AppUser> userMgr, SignInManager <AppUser> signInMgr, IMapper mapper, IJWTGenerator jWTGenerator)
 {
     _userMgr      = userMgr;
     _signInMgr    = signInMgr;
     _mapper       = mapper;
     _jWTGenerator = jWTGenerator;
 }
コード例 #8
0
 public Handler(UserManager <AppUser> userMgr, IUserAccessor userAccessor, IMapper mapper, IJWTGenerator jWTGenerator)
 {
     _userMgr      = userMgr;
     _userAccessor = userAccessor;
     _mapper       = mapper;
     _jWTGenerator = jWTGenerator;
 }
コード例 #9
0
 public UserRegisterCommandHandler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJWTGenerator jWTGenerator, DataContext dbContext)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.jWTGenerator  = jWTGenerator;
     this.dbContext     = dbContext;
 }
コード例 #10
0
 public Handler(SignInManager <AppUser> signInManager, UserManager <AppUser> userManager,
                IJWTGenerator jwtGenerator)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _jwtGenerator  = jwtGenerator;
 }
コード例 #11
0
ファイル: Login.cs プロジェクト: jacobdolph/SocialConnect
            public Handler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJWTGenerator jWTGenerator)
            {
                _jWTGenerator  = jWTGenerator;
                _signInManager = signInManager;

                _userManager = userManager;
            }
コード例 #12
0
 public Handler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, DataContext dataContext, IJWTGenerator jWTGenerator)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _jWTGenerator  = jWTGenerator;
     _dataContext   = dataContext;
 }
コード例 #13
0
 public Handler(DataContext context,
                UserManager <AppUser> userManager,
                IJWTGenerator jWTGenerator)
 {
     this.context      = context;
     this.userManager  = userManager;
     this.jWTGenerator = jWTGenerator;
 }
コード例 #14
0
ファイル: User.cs プロジェクト: jonthornton07/reactivities
 public User(AppUser user, IJWTGenerator jwtGenerator, string refreshToken)
 {
     DisplayName  = user.DisplayName;
     Token        = jwtGenerator.CreateToken(user);
     Username     = user.UserName;
     Image        = user.Photos.FirstOrDefault(x => x.IsMain)?.Url;
     Bio          = user.Bio;
     RefreshToken = refreshToken;
 }
コード例 #15
0
        public AccountController(IJWTGenerator jWTGenerator, ApplicationContext context, IConfiguration configuration, UserManager <User> userManager, RoleManager <IdentityRole> roleManager, SignInManager <User> signInManager, IMapper autoMapper)

        {
            _userManager   = userManager;
            _roleManager   = roleManager;
            _configuration = configuration;
            _signInManager = signInManager;
            _autoMapper    = autoMapper;
            _context       = context;
            _jwtgenerator  = jWTGenerator;
        }
コード例 #16
0
ファイル: Login.cs プロジェクト: Wallruzz9114/Reactivities
 public Handler(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IJWTGenerator jwtGenerator)
 {
     _jwtGenerator  = jwtGenerator;
     _signInManager = signInManager;
     _userManager   = userManager;
 }
コード例 #17
0
 public Handler(UserManager <AppUser> usermanager, IJWTGenerator jWTGenerator, IUserAccessor userAccessor)
 {
     this.usermanager  = usermanager;
     this.jWTGenerator = jWTGenerator;
     this.userAccessor = userAccessor;
 }
コード例 #18
0
 public Handler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJWTGenerator jwtGenerator)
 {
     this._jwtGenerator  = jwtGenerator;
     this._signInManager = signInManager;
     this._userManager   = userManager;
 }
コード例 #19
0
 public Handler(IUserAccesor userAccesor, UserManager <AppUser> userManager, IJWTGenerator jWTGenerator)
 {
     _userAccesor  = userAccesor;
     _jWTGenerator = jWTGenerator;
     _userManager  = userManager;
 }
コード例 #20
0
 public TokensController(BusinessLogic businessLogic, IConfiguration config, IJWTGenerator jwtHandler)
 {
     _bl         = businessLogic;
     _config     = config;
     _jwtHandler = jwtHandler;
 }
コード例 #21
0
 public UserController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IJWTGenerator jWTGenerator)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _jWTGenerator  = jWTGenerator;
 }
コード例 #22
0
 public Handler(DataContext context, UserManager <AppUser> userManager, IJWTGenerator jwtGenerator)
 {
     this._jwtGenerator = jwtGenerator;
     this._userManager  = userManager;
     this._context      = context;
 }
コード例 #23
0
 public Handler(AppDBContext context, UserManager <User> userManager, IJWTGenerator generator)
 {
     this.context     = context;
     this.userManager = userManager;
     this.generator   = generator;
 }
コード例 #24
0
ファイル: Register.cs プロジェクト: Wallruzz9114/Reactivities
 public Handler(DataContext context, UserManager <ApplicationUser> userManager, IJWTGenerator jwtGenerator)
 {
     _jwtGenerator = jwtGenerator;
     _userManager  = userManager;
     _context      = context;
 }
コード例 #25
0
 public LoginHandler(DataContext context, UserManager <AppUser> userManager, IJWTGenerator jwtGenerator)
 {
     _context      = context;
     _userManager  = userManager;
     _jwtGenerator = jwtGenerator;
 }
コード例 #26
0
 public Handler(DatabaseContext databaseContext, UserManager <AppUser> userManager, IJWTGenerator jwtGenerator)
 {
     _databaseContext = databaseContext;
     _userManager     = userManager;
     _jwtGenerator    = jwtGenerator;
 }
コード例 #27
0
 public Handler(UserManager <User> userManager, IJWTGenerator generator, ISessionUser sessionUser)
 {
     this.userManager = userManager;
     this.generator   = generator;
     this.sessionUser = sessionUser;
 }
コード例 #28
0
 public LoginCommandHandle(IMapper mapper, IGenericRepository <Users> userRepository, IJWTGenerator jWTGenerator)
 {
     _mapper         = mapper;
     _userRepository = userRepository;
     _JWTGenerator   = jWTGenerator;
 }
コード例 #29
0
 public Handler(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJWTGenerator tokenGen)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _jWTGenerator  = tokenGen;
 }
コード例 #30
0
 public Handler(UserManager <AppUser> userManager, IUserAccess userAccess, IJWTGenerator generator)
 {
     _userManager = userManager;
     _userAccess  = userAccess;
     _generator   = generator;
 }