OpenIdConnectProtocolValidator.ValidateAuthenticationResponse 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 an OpenIdConnect Response from 'authorization_endpoint" is valid as per http://openid.net/specs/openid-connect-core-1_0.html
public virtual void ValidateAuthenticationResponse (Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext validationContext);
abstract member ValidateAuthenticationResponse : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext -> unit
override this.ValidateAuthenticationResponse : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidationContext -> unit
Public Overridable Sub ValidateAuthenticationResponse (validationContext As OpenIdConnectProtocolValidationContext)
Parameters
- validationContext
- OpenIdConnectProtocolValidationContext
the OpenIdConnectProtocolValidationContext that contains expected values.
Exceptions
If 'validationContext' is null.
If the response is not spec compliant.
Remarks
It is assumed that the IdToken had ('aud', 'iss', 'signature', 'lifetime') validated.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for