Example #1
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 ExternalAuthVkontakteController(ISettingService settingService,
                                        VkontakteExternalAuthSettings vkontakteExternalAuthSettings,
                                        IOAuthProviderVkontakteAuthorizer oAuthProviderVkontakteAuthorizer,
                                        IOpenAuthenticationService openAuthenticationService,
                                        ExternalAuthenticationSettings externalAuthenticationSettings,
                                        IPermissionService permissionService)
 {
     this._settingService = settingService;
     this._vkontakteExternalAuthSettings    = vkontakteExternalAuthSettings;
     this._oAuthProviderVkontakteAuthorizer = oAuthProviderVkontakteAuthorizer;
     this._openAuthenticationService        = openAuthenticationService;
     this._externalAuthenticationSettings   = externalAuthenticationSettings;
     this._permissionService = permissionService;
 }