Table of Contents

Class ClientConfigurationValidationContext

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

A client registration being checked, and what the check found.

public class ClientConfigurationValidationContext
Inheritance
ClientConfigurationValidationContext
Inherited Members

Remarks

Duende 8.0.1's ClientConfigurationValidationContext, measured.

Constructors

ClientConfigurationValidationContext(Client)

Creates the context for checking client, valid until a check refuses it.

public ClientConfigurationValidationContext(Client client)

Parameters

client Client

The registration to check.

Exceptions

ArgumentNullException

client is null.

Properties

Client

The registration.

public Client Client { get; }

Property Value

Client

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

Methods

SetError(string)

Refuses the registration, saying why.

public void SetError(string message)

Parameters

message string