OpenIdConnectProtocolValidator.ValidateAtHash Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ValidatedIdToken is null.
Thrown if the 'at_hash' claim in the 'id_token' does not correspond to the 'access_token' in the OpenIdConnectMessage response.