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.​ResponseHandling.​ISaml2SsoResponseGenerator
Assembly: Duende.IdentityServer
Response generator for Saml2 Single Sign On
Methods
System.​Threading.​Tasks.​Task<​Endpoints.​Results.​Saml2FrontChannelResult>
CreateResponse​(Validation.​ValidatedAuthnRequest validatedAuthnRequest,
System.​Threading.​CancellationToken ct)
Create a response for validated AuthnRequest
Returns Saml2 front channel response
validatedAuthnRequest
Validated AuthnRequest
ct
The cancellation token
System.​Threading.​Tasks.​Task<​Endpoints.​Results.​Saml2FrontChannelResult>
CreateErrorResponse​(Validation.​ValidatedAuthnRequest validatedAuthnRequest,
Saml2InteractionResponse interactionResponse,
System.​Threading.​CancellationToken ct)
Create an error response for a validated AuthnRequest. If the error is safe to send back
to the SP (as determined by the response generator implementation), returns
a SAML error <c><Response></c> via the binding. Otherwise returns an error page redirect.
Returns Saml2 front channel response
validatedAuthnRequest
Validated AuthnRequest
interactionResponse
The interaction error response containing SAML status codes
ct
The cancellation token