azure-activedirectory-identitymodel-extensions-for-dotnet icon indicating copy to clipboard operation
azure-activedirectory-identitymodel-extensions-for-dotnet copied to clipboard

Add more descriptive comments for the Validators on TokenValidationParameters

Open mafurman opened this issue 4 years ago • 1 comments
trafficstars

Our current comments are not very helpful, and they should be modified to be more descriptive of the purpose of each delegate.

"The AudienceValidator delegate, if set, will be called by the runtime instead of default audience validation. This extensibility point provides the user with an opportunity to validate the audiences found in the security token in some custom way. If this extensibility is not provided, the audiences found in the token will be checked against TokenValidationParameters.Valid Audience and TokenValidationParameters.ValidAudiences."

mafurman avatar Dec 03 '20 20:12 mafurman

I'll opportunistically take this on next time I'm in Wilson.

TimHannMSFT avatar Nov 04 '21 21:11 TimHannMSFT