/// <summary> /// Initializes a new instance of the <see cref="AuthorizeEndpointController"/> class. /// </summary> /// <param name="viewService">The view service.</param> /// <param name="validator">The validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="interactionGenerator">The interaction generator.</param> /// <param name="options">The options.</param> public AuthorizeEndpointController( IViewService viewService, AuthorizeRequestValidator validator, AuthorizeResponseGenerator responseGenerator, AuthorizeInteractionResponseGenerator interactionGenerator, IdentityServerOptions options) { _viewService = viewService; _options = options; _responseGenerator = responseGenerator; _interactionGenerator = interactionGenerator; _validator = validator; }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizeEndpointController" /> class. /// </summary> /// <param name="viewService">The view service.</param> /// <param name="validator">The validator.</param> /// <param name="responseGenerator">The response generator.</param> /// <param name="interactionGenerator">The interaction generator.</param> /// <param name="options">The options.</param> /// <param name="localizationService">The localization service.</param> /// <param name="events">The event service.</param> /// <param name="antiForgeryToken">The anti forgery token.</param> public AuthorizeEndpointController( IViewService viewService, AuthorizeRequestValidator validator, AuthorizeResponseGenerator responseGenerator, AuthorizeInteractionResponseGenerator interactionGenerator, IdentityServerOptions options, ILocalizationService localizationService, IEventService events, AntiForgeryToken antiForgeryToken) { _viewService = viewService; _options = options; _responseGenerator = responseGenerator; _interactionGenerator = interactionGenerator; _validator = validator; _localizationService = localizationService; _events = events; _antiForgeryToken = antiForgeryToken; }