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