Interface IBackChannelLogoutHttpClient
- Namespace
- Fdyay.IdentityServer.Services
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Delivers one logout token to one relying party's back-channel logout endpoint.
public interface IBackChannelLogoutHttpClient
Remarks
A seam rather than an HttpClient used directly, so the notification logic can be tested without a socket, and so a host can supply its own client — a proxy, a certificate, a retry policy — without reimplementing the token building that is the security-relevant half.
Methods
PostLogoutTokenAsync(string, string, CancellationToken)
POSTs logoutToken as logout_token, form-encoded.
Task PostLogoutTokenAsync(string url, string logoutToken, CancellationToken cancellationToken = default)
Parameters
urlstringlogoutTokenstringcancellationTokenCancellationToken