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