コード例 #1
0
 public UserAuthController(TokenService tokenService, IUserAuthRepository repository, IUserAuthHandler handler)
 {
     _tokenService = tokenService;
     _repository   = repository;
     _handler      = handler;
 }
コード例 #2
0
 public AuthController(TokenService tokenService, IUserAuthHandler handler)
 {
     _tokenService = tokenService;
     _handler      = handler;
 }
コード例 #3
0
 public UserController(IUserAuthRepository repository, IUserAuthHandler handler)
 {
     _repository = repository;
     _handler    = handler;
 }
コード例 #4
0
 public AuthorizeActionFilter(UserRoles userRole, IUserAuthHandler <User, int> authHandler)
 {
     this._userRole    = userRole;
     this._authHandler = authHandler;
 }
コード例 #5
0
 public AccountController(IUserAuthHandler <User, int> authHandler)
 {
     this._authHandler = authHandler;
 }