Пример #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="oauthService"></param>
 /// <param name="loginService"></param>
 /// <param name="oauthValidateService"></param>
 /// <param name="oauthServersService"></param>
 public SignOnController(IOAuthServersService oauthService,
                         ILoginService loginService,
                         IOAuthValidateService oauthValidateService,
                         IOAuthServersService oauthServersService)
 {
     this.OAuthService         = oauthService;
     this.LoginService         = loginService;
     this.OAuthValidateService = oauthValidateService;
     this.OAuthServersService  = oauthServersService;
 }
Пример #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="oauthService"></param>
 public OAuthManageController(IOAuthServersService oauthService)
 {
     this.oauthService = oauthService;
 }