Table of Contents

Class SamlServiceProviderConfigurationValidationContext

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

A service provider registration being checked, and what the check found.

public class SamlServiceProviderConfigurationValidationContext
Inheritance
SamlServiceProviderConfigurationValidationContext
Inherited Members

Remarks

Duende 8.0.1's SamlServiceProviderConfigurationValidationContext, measured.

Constructors

SamlServiceProviderConfigurationValidationContext(SamlServiceProvider)

Starts a check of serviceProvider, valid until a check calls SetError(string).

public SamlServiceProviderConfigurationValidationContext(SamlServiceProvider serviceProvider)

Parameters

serviceProvider SamlServiceProvider

The registration to check.

Exceptions

ArgumentNullException

serviceProvider is null.

Properties

ErrorMessage

Why it cannot, when it cannot.

public string? ErrorMessage { get; }

Property Value

string

IsValid

Whether it can be served. True until a check says otherwise.

public bool IsValid { get; }

Property Value

bool

ServiceProvider

The registration.

public SamlServiceProvider ServiceProvider { get; }

Property Value

SamlServiceProvider

Methods

SetError(string)

Refuses the registration, saying why.

public void SetError(string message)

Parameters

message string