Example #1
0
 public CheckController(AuthContextFactory app, LoginParse loginParse, ICacheContext cacheContext, IAuth auth)
 {
     _app          = app;
     _loginParse   = loginParse;
     _cacheContext = cacheContext;
     _auth         = auth;
 }
Example #2
0
 public LocalAuth(LoginParse loginParse, IHttpContextAccessor httpContextAccessor, AbsCacheContext cacheContext, AuthContextFactory contextFactory)
 {
     this._loginParse          = loginParse;
     this._httpContextAccessor = httpContextAccessor;
     this._cacheContext        = cacheContext;
     this._contextFactory      = contextFactory;
 }
 public CheckController(AuthorizeApp app, ObjCacheProvider <UserAuthSession> objCacheProvider, LoginParse loginParse)
 {
     _app = app;
     _objCacheProvider = objCacheProvider;
     _loginParse       = loginParse;
 }