Table of Contents

Class SamlLogoutRequestValidationResult

Namespace
Fdyay.IdentityServer.Saml.Idp
Assembly
Fdyay.IdentityServer.Saml.dll

The outcome of validating a LogoutRequest. Duende 8.0.1's LogoutRequestValidationResult.

public sealed class SamlLogoutRequestValidationResult
Inheritance
SamlLogoutRequestValidationResult
Inherited Members

Properties

Error

This server's error code, shown on the error page and recorded on the failure event.

public string? Error { get; init; }

Property Value

string

Remarks

Ours: this server's codes, as before; Duende's is the SAML status code.

ErrorDescription

What the error page says about Error.

public string? ErrorDescription { get; init; }

Property Value

string

IsError

Whether the request is refused.

public bool IsError { get; init; }

Property Value

bool

SessionFound

Whether the session the request names is this browser's; true by default. False answers the provider without ending the session. Duende's.

public bool SessionFound { get; init; }

Property Value

bool

ValidatedRequest

The request validated.

public required ValidatedLogoutRequest ValidatedRequest { get; init; }

Property Value

ValidatedLogoutRequest

Methods

InValid(ValidatedLogoutRequest, string, string?)

A refused request, with this server's error code and what the error page says. Duende's.

public static SamlLogoutRequestValidationResult InValid(ValidatedLogoutRequest validatedLogoutRequest, string error, string? errorDescription = null)

Parameters

validatedLogoutRequest ValidatedLogoutRequest
error string
errorDescription string

Returns

SamlLogoutRequestValidationResult

Valid(ValidatedLogoutRequest)

A request that passed. Duende's.

public static SamlLogoutRequestValidationResult Valid(ValidatedLogoutRequest validatedLogoutRequest)

Parameters

validatedLogoutRequest ValidatedLogoutRequest

Returns

SamlLogoutRequestValidationResult