Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​Saml.​Services.​ISaml2FrontChannelLogoutRequestBuilder
Assembly: Duende.IdentityServer
Builds outbound SAML 2.0 LogoutRequest messages for front-channel logout notifications.
Methods
System.​Threading.​Tasks.​Task<​SamlLogoutRequestContext>
BuildLogoutRequestAsync​(Models.​SamlServiceProvider serviceProvider,
string nameId,
string nameIdFormat,
string sessionIndex,
string issuer,
System.​Threading.​CancellationToken ct)
Builds a front-channel logout request for the given service provider.
Returns A <see cref="T:Duende.IdentityServer.Saml.Services.SamlLogoutRequestContext" /> containing the message and correlation metadata.
serviceProvider
The SP to notify.
nameId
The NameID value for the subject being logged out.
nameIdFormat
Optional NameID format URI.
sessionIndex
The session index to include in the request.
issuer
The IdP entity ID (issuer).
ct
Cancellation token.