OpenIdConnectProtocolValidator.ValidateState 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 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 ProtocolMessage is null.
Thrown if 'state' in the context does not match the state in the message.