/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using static OpenIddict.Client.AspNetCore.Bff.OpenIddictClientAspNetCoreBffModels; namespace OpenIddict.Client.AspNetCore.Bff; /// /// Represents a handler invoked when a valid back-channel logout notification is received. /// All the registered handlers are invoked, in registration order. /// public interface IOpenIddictClientAspNetCoreBffBackchannelLogoutHandler { /// /// Handles the specified back-channel logout notification. /// /// The back-channel logout notification. /// The that can be used to abort the operation. /// A that can be used to monitor the asynchronous operation. ValueTask HandleAsync(BackchannelLogoutNotification notification, CancellationToken cancellationToken); }