Freigeben über


OpenIdConnectProtocolValidator.ValidateAtHash Method

Definition

Validates the 'token' according to https://openid.net/specs/openid-connect-core-1_0.html.

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

Parameters

validationContext
OpenIdConnectProtocolValidationContext

A OpenIdConnectProtocolValidationContext that contains the protocol message to validate.

Exceptions

Thrown if the 'at_hash' claim in the 'id_token' does not correspond to the 'access_token' in the OpenIdConnectMessage response.

Applies to