Ejemplo n.º 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public OAuthValidateService(IOAuthValidateRepository repository,
                             IOAuthServiceRepository oAuthServiceRepository,
                             ISessionManager sessionManager,
                             ISessionChangeDB sessionChangeDB)
 {
     this.Repository             = repository;
     this.OAuthServiceRepository = oAuthServiceRepository;
     this.SessionManager         = sessionManager;
     this.SessionChangeDB        = sessionChangeDB;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sessionManager"></param>
 /// <param name="oAuthValidateService"></param>
 public LoginService(ICacheClient cacheClient,
                     ISessionChangeDB sessionChangeDB,
                     ISessionManager sessionManager,
                     IOAuthValidateService oAuthValidateService
                     //IEmployeeInfoRepository employeeInfoRepository
                     )
 {
     this.CacheClient          = cacheClient;
     this.SessionChangeDB      = sessionChangeDB;
     this.SessionManager       = sessionManager;
     this.OAuthValidateService = oAuthValidateService;
     //this.EmployeeInfoRepository = employeeInfoRepository;
 }