public AuthenticationController( OwinEnvironmentService owin, IViewService viewService, IUserService userService, IdentityServerOptions idSvrOptions, IClientStore clientStore, IEventService eventService, ILocalizationService localizationService, SessionCookie sessionCookie, MessageCookie<SignInMessage> signInMessageCookie, MessageCookie<SignOutMessage> signOutMessageCookie, LastUserNameCookie lastUsernameCookie, AntiForgeryToken antiForgeryToken) { this.context = new OwinContext(owin.Environment); this.viewService = viewService; this.userService = userService; this.options = idSvrOptions; this.clientStore = clientStore; this.eventService = eventService; this.localizationService = localizationService; this.sessionCookie = sessionCookie; this.signInMessageCookie = signInMessageCookie; this.signOutMessageCookie = signOutMessageCookie; this.lastUserNameCookie = lastUsernameCookie; this.antiForgeryToken = antiForgeryToken; }
public AuthorizeRequestValidator(IdentityServerOptions options, IClientStore clients, ICustomRequestValidator customValidator, IRedirectUriValidator uriValidator, ScopeValidator scopeValidator, SessionCookie sessionCookie) { _options = options; _clients = clients; _customValidator = customValidator; _uriValidator = uriValidator; _scopeValidator = scopeValidator; _sessionCookie = sessionCookie; }
/// <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; }