Class BackchannelLogoutDispatcher
Sends OIDC Back-Channel Logout 1.0 notifications to relying parties after a successful
logout. For each application that the user had active authorizations with AND that has
a configured, POSTs a signed
logout_token to that URL.
Delivery is best-effort: failures are logged + emitted as an audit event, but do not
fail the logout operation. Persistent retry / DLQ should be handled by Multicast'ing
the audit event to a durable transport (RabbitMQ / Kafka) — see
IdentityAuditOptions.Targets.
public sealed class BackchannelLogoutDispatcher
Inheritance
Methods
DispatchAsync(IRedbService, Guid, long, IReadOnlyCollection<long>, CancellationToken)
Sends logout_token POSTs for every distinct RP affected by a logout.
public Task<int> DispatchAsync(IRedbService redb, Guid subject, long sessionId, IReadOnlyCollection<long> applicationObjectIds, CancellationToken ct = default)