RemoveClientHandler Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.DynamicClientManagement
RemoveClientHandler Class
Default implementation of IRemoveClientHandler that authenticates the registration access token via IClientRequestValidator and, on success, delegates to the processor to delete the client per RFC 7592 §2.3.
public class RemoveClientHandler : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRemoveClientHandler
Inheritance System.Object → RemoveClientHandler
Implements IRemoveClientHandler
Constructors
RemoveClientHandler(IClientRequestValidator, IRemoveClientRequestProcessor) Constructor
Default implementation of IRemoveClientHandler that authenticates the registration access token via IClientRequestValidator and, on success, delegates to the processor to delete the client per RFC 7592 §2.3.
public RemoveClientHandler(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IClientRequestValidator validator, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRemoveClientRequestProcessor processor);
Parameters
validator IClientRequestValidator
Validator for the registration access token and target client.
processor IRemoveClientRequestProcessor
Processor that performs the actual deletion.
Methods
RemoveClientHandler.HandleAsync(ClientRequest) Method
Validates the request, then deletes the addressed client per RFC 7592 §2.3.
public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.RemoveClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError>> HandleAsync(Abblix.Oidc.Server.Model.ClientRequest clientRequest);
Parameters
clientRequest ClientRequest
The DELETE request authenticated by a registration access token.
Implements HandleAsync(ClientRequest)
Returns
System.Threading.Tasks.Task<Abblix.Utils.Result<RemoveClientSuccessfulResponse,OidcError>>