Class DefaultBackChannelLogoutHttpClient
- Namespace
- Fdyay.IdentityServer.Services
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public sealed class DefaultBackChannelLogoutHttpClient : IBackChannelLogoutHttpClient
- Inheritance
-
DefaultBackChannelLogoutHttpClient
- Implements
- Inherited Members
Constructors
DefaultBackChannelLogoutHttpClient(HttpClient)
Creates the client over the named HttpClient (HttpClientName).
public DefaultBackChannelLogoutHttpClient(HttpClient httpClient)
Parameters
httpClientHttpClientThe HTTP client the logout tokens are posted with.
Fields
HttpClientName
The named client, so a host can configure the handler without replacing this service.
public const string HttpClientName = "Fdyay.IdentityServer.BackChannelLogout"
Field Value
Methods
PostLogoutTokenAsync(string, string, CancellationToken)
POSTs logoutToken as logout_token, form-encoded.
public Task PostLogoutTokenAsync(string url, string logoutToken, CancellationToken cancellationToken = default)
Parameters
urlstringlogoutTokenstringcancellationTokenCancellationToken
Returns
Exceptions
- HttpRequestException
The relying party answered with a status that is not a success.