public Shapes(
     IEnumerable<IExternalAuthenticationClient> openAuthAuthenticationClients,
     IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider) {
     _openAuthAuthenticationClients = openAuthAuthenticationClients;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     T = NullLocalizer.Instance;
 }
Beispiel #2
0
 public Shapes(
     IEnumerable <IExternalAuthenticationClient> openAuthAuthenticationClients,
     IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider)
 {
     _openAuthAuthenticationClients = openAuthAuthenticationClients;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     T = NullLocalizer.Instance;
 }
 public OrchardOpenAuthWebSecurity(IOpenAuthSecurityManagerWrapper openAuthSecurityManagerWrapper,
                                   IUserProviderServices userProviderServices,
                                   IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                   IEncryptionService encryptionService) {
     _openAuthSecurityManagerWrapper = openAuthSecurityManagerWrapper;
     _userProviderServices = userProviderServices;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     _encryptionService = encryptionService;
 }
Beispiel #4
0
 public OrchardOpenAuthWebSecurity(IOpenAuthSecurityManagerWrapper openAuthSecurityManagerWrapper,
                                   IUserProviderServices userProviderServices,
                                   IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                   IEncryptionService encryptionService)
 {
     _openAuthSecurityManagerWrapper = openAuthSecurityManagerWrapper;
     _userProviderServices           = userProviderServices;
     _orchardOpenAuthClientProvider  = orchardOpenAuthClientProvider;
     _encryptionService = encryptionService;
 }
 public OpenAuthSecurityManagerWrapper(IHttpContextAccessor httpContextAccessor, 
                                       IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                       IOrchardOpenAuthDataProvider orchardOpenAuthDataProvider,
                                       IAuthenticationService authenticationService,
                                       IMembershipService membershipService) {
     _httpContextAccessor = httpContextAccessor;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     _orchardOpenAuthDataProvider = orchardOpenAuthDataProvider;
     _authenticationService = authenticationService;
     _membershipService = membershipService;
 }
 public Shapes(
     IEnumerable <IExternalAuthenticationClient> openAuthAuthenticationClients,
     IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
     ICacheManager cacheManager,
     ISignals signals)
 {
     _openAuthAuthenticationClients = openAuthAuthenticationClients;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     _cacheManager = cacheManager;
     _signals      = signals;
     T             = NullLocalizer.Instance;
 }
 public OpenAuthSecurityManagerWrapper(IHttpContextAccessor httpContextAccessor,
                                       IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                       IOrchardOpenAuthDataProvider orchardOpenAuthDataProvider,
                                       IAuthenticationService authenticationService,
                                       IMembershipService membershipService)
 {
     _httpContextAccessor           = httpContextAccessor;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     _orchardOpenAuthDataProvider   = orchardOpenAuthDataProvider;
     _authenticationService         = authenticationService;
     _membershipService             = membershipService;
 }
Beispiel #8
0
 public OpenAuthSecurityManagerWrapper(IHttpContextAccessor httpContextAccessor,
                                       IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                       IOrchardOpenAuthDataProvider orchardOpenAuthDataProvider,
                                       IAuthenticationService authenticationService,
                                       IMembershipService membershipService,
                                       IUserEventHandler userEventHandler,
                                       IEnumerable <IExternalAuthenticationClient> openAuthAuthenticationClients)
 {
     _httpContextAccessor           = httpContextAccessor;
     _orchardOpenAuthClientProvider = orchardOpenAuthClientProvider;
     _orchardOpenAuthDataProvider   = orchardOpenAuthDataProvider;
     _authenticationService         = authenticationService;
     _membershipService             = membershipService;
     _userEventHandler = userEventHandler;
     _openAuthAuthenticationClients = openAuthAuthenticationClients;
 }
 public OrchardOpenAuthWebSecurity(IOpenAuthSecurityManagerWrapper openAuthSecurityManagerWrapper,
                                   IUserProviderServices userProviderServices,
                                   IOpenAuthMembershipServices openAuthService,
                                   IOrchardOpenAuthClientProvider orchardOpenAuthClientProvider,
                                   IEncryptionService encryptionService,
                                   IAuthenticationService authenticationService,
                                   IOrchardServices orchardServices,
                                   IOpenAuthUserEventHandler openAuthUserEventHandler)
 {
     _openAuthSecurityManagerWrapper = openAuthSecurityManagerWrapper;
     _userProviderServices           = userProviderServices;
     _orchardOpenAuthClientProvider  = orchardOpenAuthClientProvider;
     _encryptionService        = encryptionService;
     _authenticationService    = authenticationService;
     _orchardServices          = orchardServices;
     _openAuthService          = openAuthService;
     _openAuthUserEventHandler = openAuthUserEventHandler;
 }
 public AKAccountController(
     INotifier notifier,
     IUtilsServices utilsServices,
     IOrchardOpenAuthClientProvider openAuthClientProvider,
     IOrchardOpenAuthWebSecurity orchardOpenAuthWebSecurity,
     IEnumerable <IIdentityProvider> identityProviders,
     IOpenAuthMembershipServices openAuthMembershipServices,
     IAuthenticationService authenticationService,
     IUserEventHandler userEventHandler) : base(
         utilsServices,
         openAuthClientProvider,
         orchardOpenAuthWebSecurity,
         identityProviders,
         openAuthMembershipServices,
         authenticationService,
         userEventHandler,
         notifier
         )
 {
 }
        public BaseAccountController(
            IUtilsServices utilsServices,
            IOrchardOpenAuthClientProvider openAuthClientProvider,
            IOrchardOpenAuthWebSecurity orchardOpenAuthWebSecurity,
            IEnumerable <IIdentityProvider> identityProviders,
            IOpenAuthMembershipServices openAuthMembershipServices,
            IAuthenticationService authenticationService,
            IUserEventHandler userEventHandler,
            INotifier notifier)
        {
            _utilsServices              = utilsServices;
            _openAuthClientProvider     = openAuthClientProvider;
            _orchardOpenAuthWebSecurity = orchardOpenAuthWebSecurity;
            _identityProviders          = identityProviders;
            _openAuthMembershipServices = openAuthMembershipServices;
            _authenticationService      = authenticationService;
            _userEventHandler           = userEventHandler;
            _notifier = notifier;

            T = NullLocalizer.Instance;
        }