Exemple #1
0
 public OpenIdProviderAuthorizer(IOpenIdRelyingPartyService openIdRelyingPartyService,
                                 IExternalAuthorizer authorizer,
                                 IOpenAuthenticationProviderPermissionService openAuthenticationProviderPermissionService)
 {
     _openIdRelyingPartyService = openIdRelyingPartyService;
     _authorizer = authorizer;
     _openAuthenticationProviderPermissionService = openAuthenticationProviderPermissionService;
 }
 public OpenIdProviderAuthorizer(IOpenIdRelyingPartyService openIdRelyingPartyService,
     IExternalAuthorizer authorizer,
     IOpenAuthenticationProviderPermissionService openAuthenticationProviderPermissionService)
 {
     _openIdRelyingPartyService = openIdRelyingPartyService;
     _authorizer = authorizer;
     _openAuthenticationProviderPermissionService = openAuthenticationProviderPermissionService;
 }
 public TwitterProviderAuthorizer(IExternalAuthorizer authorizer,
                                  IOpenAuthenticationService openAuthenticationService,
                                  HttpContextBase httpContext,
                                  ICommonServices services)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._httpContext = httpContext;
     this._services    = services;
 }
 public TwitterProviderAuthorizer(IExternalAuthorizer authorizer,
                                  IOpenAuthenticationService openAuthenticationService,
                                  TwitterExternalAuthSettings twitterExternalAuthSettings,
                                  HttpContextBase httpContext)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService   = openAuthenticationService;
     this._twitterExternalAuthSettings = twitterExternalAuthSettings;
     this._httpContext = httpContext;
 }
 public TwitterProviderAuthorizer(IExternalAuthorizer authorizer,
     IOpenAuthenticationService openAuthenticationService,
     TwitterExternalAuthSettings twitterExternalAuthSettings,
     HttpContextBase httpContext)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._twitterExternalAuthSettings = twitterExternalAuthSettings;
     this._httpContext = httpContext;
 }
 public QQProviderAuthorizer(IExternalAuthorizer authorizer,
                             ExternalAuthenticationSettings externalAuthenticationSettings,
                             QQExternalAuthSettings qqExternalAuthSettings,
                             HttpContextBase httpContext,
                             IWebHelper webHelper)
 {
     _authorizer = authorizer;
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _qqExternalAuthSettings         = qqExternalAuthSettings;
     _httpContext = httpContext;
     _webHelper   = webHelper;
 }
 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
     IOpenAuthenticationService openAuthenticationService,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     FacebookExternalAuthSettings facebookExternalAuthSettings,
     HttpContextBase httpContext)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._facebookExternalAuthSettings = facebookExternalAuthSettings;
     this._httpContext = httpContext;
 }
 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
                                   IOpenAuthenticationService openAuthenticationService,
                                   ExternalAuthenticationSettings externalAuthenticationSettings,
                                   HttpContextBase httpContext,
                                   ICommonServices services)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService      = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._httpContext = httpContext;
     this._services    = services;
 }
Exemple #9
0
 public VkontakteProviderAuthorizer(IExternalAuthorizer authorizer,
                                    ExternalAuthenticationSettings externalAuthenticationSettings,
                                    VkontakteExternalAuthSettings vkontakteExternalAuthSettings,
                                    HttpContextBase httpContext,
                                    IWebHelper webHelper)
 {
     this._authorizer = authorizer;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._vkontakteExternalAuthSettings  = vkontakteExternalAuthSettings;
     this._httpContext = httpContext;
     this._webHelper   = webHelper;
 }
 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     FacebookExternalAuthSettings facebookExternalAuthSettings,
     HttpContextBase httpContext,
     IWebHelper webHelper)
 {
     this._authorizer = authorizer;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._facebookExternalAuthSettings = facebookExternalAuthSettings;
     this._httpContext = httpContext;
     this._webHelper = webHelper;
 }
 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
                                   IOpenAuthenticationService openAuthenticationService,
                                   ExternalAuthenticationSettings externalAuthenticationSettings,
                                   FacebookExternalAuthSettings facebookExternalAuthSettings,
                                   HttpContextBase httpContext)
 {
     this._authorizer = authorizer;
     this._openAuthenticationService      = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._facebookExternalAuthSettings   = facebookExternalAuthSettings;
     this._httpContext = httpContext;
 }
 public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
                                   ExternalAuthenticationSettings externalAuthenticationSettings,
                                   FacebookExternalAuthSettings facebookExternalAuthSettings,
                                   HttpContextBase httpContext,
                                   IWebHelper webHelper)
 {
     this._authorizer = authorizer;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._facebookExternalAuthSettings   = facebookExternalAuthSettings;
     this._httpContext = httpContext;
     this._webHelper   = webHelper;
 }
        public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
            IOpenAuthenticationService openAuthenticationService,
            ExternalAuthenticationSettings externalAuthenticationSettings,
            HttpContextBase httpContext,
			ICommonServices services)
        {
            this._authorizer = authorizer;
            this._openAuthenticationService = openAuthenticationService;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
            this._httpContext = httpContext;
            this._services = services;
        }
Exemple #14
0
 public WeiXinProviderAuthorizer(IWebHelper webHelper,
                                 ISettingService settingService, HttpContextBase httpContext
                                 , IExternalAuthorizer authorizer, IOpenAuthenticationService openAuthenticationService
                                 , IWorkContext workContext, ICacheManager cacheManager)
 {
     this._webHelper                 = webHelper;
     this._settingService            = settingService;
     this._httpContext               = httpContext;
     this._authorizer                = authorizer;
     this._openAuthenticationService = openAuthenticationService;
     this._workContext               = workContext;
     this._cacheManager              = cacheManager;
 }
 public GoogleProviderAuthorizer(
     IExternalAuthorizer authorizer,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     GoogleExternalAuthSettings googleExternalAuthSettings,
     HttpContextBase httpContext,
     IWebHelper webHelper)
 {
     this._authorizer = authorizer;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._googleExternalAuthSettings     = googleExternalAuthSettings;
     this._httpContext = httpContext;
     this._webHelper   = webHelper;
 }
        public TwitterProviderAuthorizer(
            IExternalAuthorizer authorizer,
            HttpContextBase httpContext,
            ICommonServices services,
            TwitterExternalAuthSettings twitterSettings)
        {
            _authorizer      = authorizer;
            _httpContext     = httpContext;
            _services        = services;
            _twitterSettings = twitterSettings;

            Logger = NullLogger.Instance;
        }
Exemple #17
0
 public WeiXinProviderAuthorizer(IExternalAuthorizer authorizer,
                                 ExternalAuthenticationSettings externalAuthenticationSettings,
                                 WeiXinExternalAuthSettings weiXinExternalAuthSettings,
                                 HttpContextBase httpContext,
                                 IWebHelper webHelper,
                                 IOpenAuthenticationService openAuthenticationService)
 {
     _authorizer = authorizer;
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _weiXinExternalAuthSettings     = weiXinExternalAuthSettings;
     _httpContext = httpContext;
     _webHelper   = webHelper;
     _openAuthenticationService = openAuthenticationService;
 }
 public WeixinProviderAuthorizer(IExternalAuthorizer authorizer,
                                 ExternalAuthenticationSettings externalAuthenticationSettings,
                                 WeixinExternalAuthSettings weixinExternalAuthSettings,
                                 HttpContextBase httpContext,
                                 ILogger logger,
                                 IWebHelper webHelper)
 {
     this._authorizer = authorizer;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._weixinExternalAuthSettings     = weixinExternalAuthSettings;
     this._httpContext = httpContext;
     this._logger      = logger;
     this._webHelper   = webHelper;
 }
Exemple #19
0
        public FacebookProviderAuthorizer(IExternalAuthorizer authorizer,
                                          IOpenAuthenticationService openAuthenticationService,
                                          ExternalAuthenticationSettings externalAuthenticationSettings,
                                          HttpContextBase httpContext,
                                          ICommonServices services)
        {
            _authorizer = authorizer;
            _openAuthenticationService      = openAuthenticationService;
            _externalAuthenticationSettings = externalAuthenticationSettings;
            _httpContext = httpContext;
            _services    = services;

            Logger = NullLogger.Instance;
        }
Exemple #20
0
 public ExternalAuthQQController(IExternalAuthorizer authorizer,
                                 ISettingService settingService,
                                 IPermissionService permissionService,
                                 IOpenAuthenticationService openAuthenticationService,
                                 ExternalAuthenticationSettings externalAuthenticationSettings,
                                 IStoreContext storeContext,
                                 IStoreService storeService,
                                 IWorkContext workContext,
                                 IPluginFinder pluginFinder)
 {
     this._authorizer                     = authorizer;
     this._settingService                 = settingService;
     this._permissionService              = permissionService;
     this._openAuthenticationService      = openAuthenticationService;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._storeContext                   = storeContext;
     this._storeService                   = storeService;
     this._workContext                    = workContext;
     this._pluginFinder                   = pluginFinder;
 }
 public OpenIdProviderAuthorizer(IOpenIdRelyingPartyService openIdRelyingPartyService,
                                 IExternalAuthorizer authorizer)
 {
     _openIdRelyingPartyService = openIdRelyingPartyService;
     _authorizer = authorizer;
 }
 public OpenIdProviderAuthorizer(IOpenIdRelyingPartyService openIdRelyingPartyService,
     IExternalAuthorizer authorizer)
 {
     _openIdRelyingPartyService = openIdRelyingPartyService;
     _authorizer = authorizer;
 }