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.

class Duende.​IdentityServer.​Saml.​ResponseHandling.​Saml2InteractionResponse

Assembly: Duende.IdentityServer

Inheritance: object → Saml2InteractionResponse

Implemented Interfaces

Represents the result of processing a SAML AuthnRequest interaction check.

Properties

public bool
IsLogin
Gets a value indicating whether the user must log in.
public bool
IsError
Gets a value indicating whether this is an error response.
public string
StatusCode
Gets the top-level SAML status code (e.g., <c>urn:oasis:names:tc:SAML:2.0:status:Responder</c> ). Only set when <see cref="P:Duende.IdentityServer.Saml.ResponseHandling.Saml2InteractionResponse.IsError" /> is <see langword="true" /> .
public string
SubStatusCode
Gets the nested SAML sub-status code (e.g., <c>urn:oasis:names:tc:SAML:2.0:status:NoPassive</c> ). Only set when <see cref="P:Duende.IdentityServer.Saml.ResponseHandling.Saml2InteractionResponse.IsError" /> is <see langword="true" /> .
public string
Message
Gets the human-readable error message. Only set when <see cref="P:Duende.IdentityServer.Saml.ResponseHandling.Saml2InteractionResponse.IsError" /> is <see langword="true" /> .

Methods

public static Saml2InteractionResponse
Login​()
Creates a response indicating the user must log in.
public static Saml2InteractionResponse
NoInteraction​()
Creates a response indicating no interaction is required.
public static Saml2InteractionResponse
Error​(string statusCode, string subStatusCode)
Creates an error response with SAML status and sub-status codes.
statusCode The top-level SAML status code.
subStatusCode The nested SAML sub-status code.
public static Saml2InteractionResponse
Error​(string statusCode, string subStatusCode, string message)
Creates an error response with SAML status codes and a human-readable message.
statusCode The top-level SAML status code.
subStatusCode The nested SAML sub-status code.
message A human-readable error message.
public string
ToString​()
public int
GetHashCode​()
public bool
Equals​(object obj)
public bool
Equals​(Saml2InteractionResponse other)
<Clone>$​()
protected void
Finalize​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object