<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.19.1" />

Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext

A context that is used by a OpenIdConnectProtocolValidator when validating an OpenIdConnect Response to ensure it's compliant with .
public string ClientId { get; set; }

Gets or sets the 'client_id'.

public string Nonce { get; set; }

Gets or sets the 'nonce' that was sent with the 'Request'.

Gets or sets the OpenIdConnectMessage that represents the 'Response'.

public string State { get; set; }

Gets or sets the state that was sent with the 'Request'.

public string UserInfoEndpointResponse { get; set; }

Gets or sets the response received from userinfo_endpoint.

public JwtSecurityToken ValidatedIdToken { get; set; }

This id_token is assumed to have audience, issuer, lifetime and signature validated.

Creates an instance of OpenIdConnectProtocolValidationContext