Exemplo n.º 1
0
 public AuthorizeController(
     IUserRepository userRepository,
     IUserService userService,
     IOrganizationService organizationService,
     ICryptoService cryptoService,
     IApplicationAuthenticationState applicationAuthenticationState)
 {
     _userRepository                 = userRepository;
     _userService                    = userService;
     _organizationService            = organizationService;
     _cryptoService                  = cryptoService;
     _applicationAuthenticationState = applicationAuthenticationState;
 }
Exemplo n.º 2
0
 public UserLoggedInState(User user, IApplicationAuthenticationState authenticationState)
 {
     User = user;
     _authenticationState = authenticationState;
 }