Table of Contents

Class SamlResponse

Namespace
Fdyay.IdentityServer.Saml.Messages
Assembly
Fdyay.IdentityServer.Saml.dll

A SAML Response (authentication response) with an optional assertion.

public sealed class SamlResponse
Inheritance
SamlResponse
Inherited Members

Properties

Assertion

The assertion the response carries, or null when it carries none — as on a failure status.

public SamlAssertion? Assertion { get; init; }

Property Value

SamlAssertion

Destination

The URL the response was sent to; null when it names none.

public string? Destination { get; init; }

Property Value

string

Id

The response's ID attribute, unique per message (SAML 2.0 core §3.2.2).

public required string Id { get; init; }

Property Value

string

InResponseTo

The ID of the AuthnRequest this answers; null for an unsolicited response.

public string? InResponseTo { get; init; }

Property Value

string

IssueInstant

When the response was issued.

public required DateTimeOffset IssueInstant { get; init; }

Property Value

DateTimeOffset

Issuer

The entity id of the sender; empty when an incoming response has no Issuer.

public required string Issuer { get; init; }

Property Value

string

Status

The outcome of the request.

public required SamlStatus Status { get; init; }

Property Value

SamlStatus

Version

The Version attribute. Defaults to Version; on read, what the sender wrote.

public string Version { get; init; }

Property Value

string