Class SamlStatus
- Namespace
- Fdyay.IdentityServer.Saml.Messages
- Assembly
- Fdyay.IdentityServer.Saml.dll
The Status of a SAML response.
public sealed class SamlStatus
- Inheritance
-
SamlStatus
- Inherited Members
Properties
Code
The top-level StatusCode/@Value, one of the top-level SamlConstants.StatusCodes; empty when an incoming status could not be read.
public required string Code { get; init; }
Property Value
IsSuccess
public bool IsSuccess { get; }
Property Value
Message
The optional human-readable StatusMessage; null writes none.
public string? Message { get; init; }
Property Value
SubCode
The second-level code, nested inside the first (SAML 2.0 core ยง3.2.2.2).
public string? SubCode { get; init; }
Property Value
Remarks
The first level says who is at fault; this says what actually happened. A service provider that reads only the first cannot tell "nobody is signed in" from "something went wrong", and those call for opposite behaviour on its side.