/* * 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. */ namespace OpenIddict.Client; /// /// Represents a handler able to process events. /// /// The type of the context associated with events handled by this instance. public interface IOpenIddictClientHandler where TContext : BaseContext { /// /// Processes the event. /// /// The context associated with the event to process. /// /// A that can be used to monitor the asynchronous operation. /// ValueTask HandleAsync(TContext context); }