Delen via


OpenIdConnectProtocolValidator.ValidateState Method

Definition

Validates that the 'state' in message is valid.

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

Parameters

validationContext
OpenIdConnectProtocolValidationContext

A OpenIdConnectProtocolValidationContext that contains the 'state' to validate.

Exceptions

Thrown if 'state' in the context does not match the state in the message.

Applies to