Example #1
0
 public LocalAuth(IHttpContextAccessor httpContextAccessor
                  , AuthContextFactory app
                  , LoginParse loginParse
                  , ICacheContext cacheContext)
 {
     _httpContextAccessor = httpContextAccessor;
     _app          = app;
     _loginParse   = loginParse;
     _cacheContext = cacheContext;
 }
Example #2
0
 public LocalAuth(IHttpContextAccessor httpContextAccessor
                  , AuthContextFactory app
                  , LoginParse loginParse
                  , ICacheContext cacheContext, IOptions <AppSetting> appConfiguration)
 {
     _httpContextAccessor = httpContextAccessor;
     _app              = app;
     _loginParse       = loginParse;
     _cacheContext     = cacheContext;
     _appConfiguration = appConfiguration;
 }
Example #3
0
 public LocalAuth(IOptions <AppSetting> appConfiguration
                  , IHttpContextAccessor httpContextAccessor
                  , AuthorizeApp app
                  , LoginParse loginParse
                  , ObjCacheProvider <UserAuthSession> objCacheProvider)
 {
     _appConfiguration    = appConfiguration;
     _httpContextAccessor = httpContextAccessor;
     _app              = app;
     _loginParse       = loginParse;
     _objCacheProvider = objCacheProvider;
 }