public AuthenticateController(
     IOpenidAuthenticateResourceOwnerAction openidAuthenticateResourceOwnerAction,
     IProfileActions profileActions,
     IDataProtectionProvider dataProtectionProvider,
     IEncoder encoder,
     ITranslationManager translationManager,
     IOpenIdEventSource simpleIdentityServerEventSource,
     IUrlHelperFactory urlHelperFactory,
     IActionContextAccessor actionContextAccessor,
     IEventPublisher eventPublisher,
     IAuthenticationService authenticationService,
     IAuthenticationSchemeProvider authenticationSchemeProvider,
     IUserActions userActions,
     IPayloadSerializer payloadSerializer,
     IConfigurationService configurationService,
     IAuthenticateHelper authenticateHelper,
     IResourceOwnerAuthenticateHelper resourceOwnerAuthenticateHelper,
     IChangePasswordAction changePasswordAction,
     ILoginPwdAuthenticateAction loginPwdAuthenticateAction,
     LoginPasswordOptions basicAuthenticateOptions) : base(openidAuthenticateResourceOwnerAction, profileActions, dataProtectionProvider, encoder,
                                                           translationManager, simpleIdentityServerEventSource, urlHelperFactory, actionContextAccessor, eventPublisher,
                                                           authenticationService, authenticationSchemeProvider, userActions, payloadSerializer, configurationService,
                                                           authenticateHelper, basicAuthenticateOptions)
 {
     _resourceOwnerAuthenticateHelper = resourceOwnerAuthenticateHelper;
     _changePasswordAction            = changePasswordAction;
     _loginPwdAuthenticateAction      = loginPwdAuthenticateAction;
 }
Пример #2
0
 public BaseAuthenticateController(
     IOpenidAuthenticateResourceOwnerAction openidAuthenticateResourceOwnerAction,
     IProfileActions profileActions,
     IDataProtectionProvider dataProtectionProvider,
     IEncoder encoder,
     ITranslationManager translationManager,
     IOpenIdEventSource simpleIdentityServerEventSource,
     IUrlHelperFactory urlHelperFactory,
     IActionContextAccessor actionContextAccessor,
     IEventPublisher eventPublisher,
     IAuthenticationService authenticationService,
     IAuthenticationSchemeProvider authenticationSchemeProvider,
     IUserActions userActions,
     IPayloadSerializer payloadSerializer,
     IConfigurationService configurationService,
     IAuthenticateHelper authenticateHelper,
     BasicAuthenticateOptions basicAuthenticateOptions) : base(authenticationService)
 {
     _openidAuthenticateResourceOwnerAction = openidAuthenticateResourceOwnerAction;
     _profileActions     = profileActions;
     _dataProtector      = dataProtectionProvider.CreateProtector("Request");
     _encoder            = encoder;
     _translationManager = translationManager;
     _simpleIdentityServerEventSource = simpleIdentityServerEventSource;
     _urlHelper                    = urlHelperFactory.GetUrlHelper(actionContextAccessor.ActionContext);
     _eventPublisher               = eventPublisher;
     _payloadSerializer            = payloadSerializer;
     _authenticationSchemeProvider = authenticationSchemeProvider;
     _userActions                  = userActions;
     _configurationService         = configurationService;
     _authenticateHelper           = authenticateHelper;
     _basicAuthenticateOptions     = basicAuthenticateOptions;
 }
Пример #3
0
 public AuthenticateController(
     IOpenidAuthenticateResourceOwnerAction openidAuthenticateResourceOwnerAction,
     IProfileActions profileActions,
     IDataProtectionProvider dataProtectionProvider,
     IEncoder encoder,
     ITranslationManager translationManager,
     IOpenIdEventSource simpleIdentityServerEventSource,
     IUrlHelperFactory urlHelperFactory,
     IActionContextAccessor actionContextAccessor,
     IEventPublisher eventPublisher,
     IAuthenticationService authenticationService,
     IAuthenticationSchemeProvider authenticationSchemeProvider,
     IUserActions userActions,
     IPayloadSerializer payloadSerializer,
     IConfigurationService configurationService,
     IAuthenticateHelper authenticateHelper,
     ISmsAuthenticationOperation smsAuthenticationOperation,
     IGenerateAndSendSmsCodeOperation generateAndSendSmsCodeOperation,
     IResourceOwnerAuthenticateHelper resourceOwnerAuthenticateHelper,
     SmsAuthenticationOptions basicAuthenticateOptions) : base(openidAuthenticateResourceOwnerAction, profileActions, dataProtectionProvider, encoder,
                                                               translationManager, simpleIdentityServerEventSource, urlHelperFactory, actionContextAccessor, eventPublisher,
                                                               authenticationService, authenticationSchemeProvider, userActions, payloadSerializer, configurationService,
                                                               authenticateHelper, basicAuthenticateOptions)
 {
     _smsAuthenticationOperation      = smsAuthenticationOperation;
     _generateAndSendSmsCodeOperation = generateAndSendSmsCodeOperation;
     _resourceOwnerAuthenticateHelper = resourceOwnerAuthenticateHelper;
 }