public EndSessionCallbackEndpoint( IEndSessionRequestValidator endSessionRequestValidator, BackChannelLogoutClient backChannelClient, ILogger <EndSessionCallbackEndpoint> logger) { _endSessionRequestValidator = endSessionRequestValidator; _backChannelClient = backChannelClient; _logger = logger; }
internal EndSessionCallbackResult( EndSessionCallbackValidationResult result, IdentityServerOptions options, BackChannelLogoutClient backChannelClient) : this(result) { _options = options; _backChannelClient = backChannelClient; }
void Init(HttpContext context) { _options = _options ?? context.RequestServices.GetRequiredService <IdentityServerOptions>(); _backChannelClient = _backChannelClient ?? context.RequestServices.GetRequiredService <BackChannelLogoutClient>(); }