Interface ISaml2SloResponseGenerator
- Namespace
- Fdyay.IdentityServer.Saml.Idp
- Assembly
- Fdyay.IdentityServer.Saml.dll
Answers a service provider that asked to end the session: the signed LogoutResponse it is sent. Duende 8.0.1's
ISaml2SloResponseGenerator.
public interface ISaml2SloResponseGenerator
Remarks
Asked by the single logout endpoint when the sequence the request started has finished — on its first pass, when nobody
else is to be told or the request named no session here, else when the last partner has answered — for the provider that
asked, once the endpoint has found it can be posted to. Saml2SloResponseGenerator is the default;
AddSaml registers it unless a host registered its own first.
Methods
CreatePartialLogoutResponse(ValidatedLogoutRequest, CancellationToken)
The signed LogoutResponse saying the session ended here and not everywhere: Success with PartialLogout.
Task<Saml2FrontChannelResult> CreatePartialLogoutResponse(ValidatedLogoutRequest request, CancellationToken ct)
Parameters
requestValidatedLogoutRequestctCancellationToken
Returns
CreateSuccessResponse(ValidatedLogoutRequest, CancellationToken)
The signed LogoutResponse saying the session ended everywhere it reached.
Task<Saml2FrontChannelResult> CreateSuccessResponse(ValidatedLogoutRequest request, CancellationToken ct)
Parameters
requestValidatedLogoutRequestctCancellationToken