Example #1
0
 public LocalAuth(LoginParse loginParse, IHttpContextAccessor httpContextAccessor, AbsCacheContext cacheContext, AuthContextFactory contextFactory)
 {
     this._loginParse          = loginParse;
     this._httpContextAccessor = httpContextAccessor;
     this._cacheContext        = cacheContext;
     this._contextFactory      = contextFactory;
 }
Example #2
0
 public CheckController(AuthContextFactory app, LoginParse loginParse, ICacheContext cacheContext, IAuth auth)
 {
     _app          = app;
     _loginParse   = loginParse;
     _cacheContext = cacheContext;
     _auth         = auth;
 }
Example #3
0
 public ApiAuth(IOptions <AppSetting> appConfiguration
                , IHttpContextAccessor httpContextAccessor
                , AuthContextFactory authContextFactory
                )
 {
     _appConfiguration    = appConfiguration;
     _helper              = new HttpHelper(_appConfiguration.Value.SSOPassport);
     _authContextFactory  = authContextFactory;
     _httpContextAccessor = httpContextAccessor;
 }
Example #4
0
 public LocalAuth(IHttpContextAccessor httpContextAccessor
                  , AuthContextFactory app
                  , LoginParse loginParse
                  , ICacheContext cacheContext)
 {
     _app                 = app;
     _loginParse          = loginParse;
     _cacheContext        = cacheContext;
     _httpContextAccessor = httpContextAccessor;
 }
Example #5
0
 public LocalAuth(IHttpContextAccessor httpContextAccessor
                  , AuthContextFactory app
                  , LoginParse loginParse
                  , ICacheContext cacheContext, IOptions <AppSetting> appConfiguration)
 {
     _httpContextAccessor = httpContextAccessor;
     _app              = app;
     _loginParse       = loginParse;
     _cacheContext     = cacheContext;
     _appConfiguration = appConfiguration;
 }