Exemplo 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;
 }
Exemplo n.º 2
0
 public OAuthServersService(IOAuthServiceRepository repository)
 {
     Repository = repository;
 }