Class Saml2InteractionResponse
- Namespace
- Fdyay.IdentityServer.Saml.Idp
- Assembly
- Fdyay.IdentityServer.Saml.dll
What a SAML sign-on needs from the user: to sign in, nothing, or an error. Duende 8.0.1's.
public sealed record Saml2InteractionResponse : IEquatable<Saml2InteractionResponse>
- Inheritance
-
Saml2InteractionResponse
- Implements
- Inherited Members
Properties
IsError
Whether this is an error.
public bool IsError { get; }
Property Value
IsLogin
Whether the user must sign in.
public bool IsLogin { get; }
Property Value
Message
What went wrong, for this server's own pages and logs; never sent to the service provider.
public string? Message { get; }
Property Value
StatusCode
The top-level SAML status code; set only for an error.
public string? StatusCode { get; }
Property Value
SubStatusCode
The second-level SAML status code; set only for an error.
public string? SubStatusCode { get; }
Property Value
Methods
Error(string, string?)
An error, with its SAML status codes.
public static Saml2InteractionResponse Error(string statusCode, string? subStatusCode)
Parameters
Returns
Error(string, string?, string?)
An error, with its SAML status codes and a message for this server's own pages.
public static Saml2InteractionResponse Error(string statusCode, string? subStatusCode, string? message)
Parameters
Returns
Login()
The user must sign in.
public static Saml2InteractionResponse Login()
Returns
NoInteraction()
Nothing is needed of the user.
public static Saml2InteractionResponse NoInteraction()