public OpenAuthenticationService(IRepository <SocialRecord> socialRecordRepository,
                                  IUserService userService,
                                  ISocialPluginService socialPluginService)
 {
     this._socialRecordRepository = socialRecordRepository;
     this._userService            = userService;
     this._socialPluginService    = socialPluginService;
 }
 public SocialAuthFacebookController(ISocialSettingService settingService,
                                     IOAuthProviderFacebookAuthorizer oAuthProviderFacebookAuthorizer,
                                     IOpenAuthenticationService openAuthenticationService,
                                     IPermissionService permissionService,
                                     IUserContext userContext,
                                     ISocialPluginService socialPluginService)
 {
     this._settingService = settingService;
     this._oAuthProviderFacebookAuthorizer = oAuthProviderFacebookAuthorizer;
     this._openAuthenticationService       = openAuthenticationService;
     this._permissionService   = permissionService;
     this._userContext         = userContext;
     this._socialPluginService = socialPluginService;
 }
Example #3
0
 public SocialModelFactory(IOpenAuthenticationService openAuthenticationService, IUserContext userContext, ISocialPluginService socialPluginService)
 {
     this._openAuthenticationService = openAuthenticationService;
     this._userContext         = userContext;
     this._socialPluginService = socialPluginService;
 }