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.​ISamlInteractionService
Assembly: Duende.IdentityServer
Provide services to be used by the user interface to communicate with IdentityServer for SAML flows.
Methods
System.​Threading.​Tasks.​Task<​SamlAuthenticationRequest>
GetAuthenticationRequestContextAsync​(System.​Threading.​CancellationToken ct = null)
Gets the SAML authentication request context from the current request's state cookie.
Returns null if no SAML authentication is in progress.
StoreRequestedAuthnContextResultAsync​(bool requestedAuthnContextRequirementsWereMet,
System.​Threading.​CancellationToken ct = null)
Stores whether the user met the requirements of the RequestedAuthnContext in the
AuthNRequest. If the value is set to false, the generated response will include a second-level
status code of urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext per section 3.3.2.2.1 of the
core spec.
requestedAuthnContextRequirementsWereMet
Whether the requirements of the RequestedAuthnContext were met.
ct
Cancellation token