public AuthAttribute()
     : base()
 {
     // That will stay here as it is, because autofac has no possibility
     // to relosve the dependencies of attributes metadata
     _container = new TokenContainer();
 }
Example #2
0
 public AuthAttribute()
     : base()
 {
     // That will stay here as it is, because autofac has no possibility
     // to relosve the dependencies of attributes metadata
     _container = new TokenContainer();
 }
Example #3
0
 public JwtService(IAuthContainer authContainer)
 {
     AuthContainer = authContainer;
 }
Example #4
0
 public UserAccountService(UserService userService, RoleService roleService, IAuthContainer <string> authContainer)
 {
     _userService   = userService;
     _roleService   = roleService;
     _authContainer = authContainer;
 }
 public UserAccountService(UserService userService, RoleService roleService, IAuthContainer<string> authContainer)
 {
     _userService = userService;
     _roleService = roleService;
     _authContainer = authContainer;
 }