Ejemplo n.º 1
0
        //private readonly IExternalAuthConfiguration _externalAuthConfiguration;
        //private readonly IExternalAuthManager _externalAuthManager;
        //private readonly UserRegistrationManager _userRegistrationManager;

        public TokenAuthController(
            JTLogInManager <Tenant, Role, User> logInManager,
            IJTTenantCache tenantCache,
            TokenAuthConfiguration configuration
            //IExternalAuthConfiguration externalAuthConfiguration,
            //IExternalAuthManager externalAuthManager,
            //UserRegistrationManager userRegistrationManager
            )
        {
            _logInManager  = logInManager;
            _tenantCache   = tenantCache;
            _configuration = configuration;
            //_externalAuthConfiguration = externalAuthConfiguration;
            //_externalAuthManager = externalAuthManager;
            //_userRegistrationManager = userRegistrationManager;
        }
Ejemplo n.º 2
0
 public JTTenantStore(IJTTenantCache tenantCache)
 {
     _tenantCache = tenantCache;
 }