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
clientClientThe registration to check.
Exceptions
- ArgumentNullException
clientisnull.
Properties
Client
The registration.
public Client Client { get; }
Property Value
ErrorMessage
Why it cannot, when it cannot.
public string? ErrorMessage { get; }
Property Value
IsValid
Whether it can be served. True until a check says otherwise.
public bool IsValid { get; }
Property Value
Methods
SetError(string)
Refuses the registration, saying why.
public void SetError(string message)
Parameters
messagestring