/// <summary> /// Initializes a new instance of the <see cref="EndSessionController"/> class. /// </summary> /// <param name="options">The options.</param> /// <param name="validator">The validator.</param> /// <param name="generator">The generator.</param> /// <param name="clientListCookie">The client list.</param> /// <param name="clientStore">The client store.</param> /// <param name="sessionCookie">The session cookie.</param> public EndSessionController(IdentityServerOptions options, EndSessionRequestValidator validator, EndSessionResponseGenerator generator, ClientListCookie clientListCookie, IClientStore clientStore, SessionCookie sessionCookie) { _options = options; _validator = validator; _generator = generator; _clientListCookie = clientListCookie; _clientStore = clientStore; _sessionCookie = sessionCookie; }
/// <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> /// <param name="clientListCookie">The client list cookie.</param> public AuthorizeEndpointController( IViewService viewService, AuthorizeRequestValidator validator, AuthorizeResponseGenerator responseGenerator, AuthorizeInteractionResponseGenerator interactionGenerator, IdentityServerOptions options, ILocalizationService localizationService, IEventService events, AntiForgeryToken antiForgeryToken, ClientListCookie clientListCookie) { _viewService = viewService; _options = options; _responseGenerator = responseGenerator; _interactionGenerator = interactionGenerator; _validator = validator; _localizationService = localizationService; _events = events; _antiForgeryToken = antiForgeryToken; _clientListCookie = clientListCookie; }