Partager via


OpenIdConnectProtocolValidator.ValidateIdToken Method

Definition

Validates the claims in the 'id_token' as per https://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation.

protected virtual void ValidateIdToken (Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext validationContext);
abstract member ValidateIdToken : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext -> unit
override this.ValidateIdToken : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext -> unit
Protected Overridable Sub ValidateIdToken (validationContext As OpenIdConnectProtocolValidationContext)

Parameters

validationContext
OpenIdConnectProtocolValidationContext

the OpenIdConnectProtocolValidationContext that contains expected values.

Applies to