Skip to content

Commit

Permalink
Mark SecurityTokenUnableToValidateException as obsolete with guidance (
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHannMSFT authored Apr 25, 2023
1 parent 3d91c43 commit 3db0e02
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ namespace Microsoft.IdentityModel.Tokens
/// and when validation errors exist over the security token. This exception is not intended to be used as a signal
/// to refresh keys.
/// </summary>
/// <remarks>
/// This exception type is now considered obsolete and will be removed in the next major version (7.0.0).
/// </remarks>
[Serializable]
[Obsolete(
"This expception is no longer being thrown by Microsoft.IdentityModel and will be removed in the next major " +
"version see: https://aka.ms/SecurityTokenUnableToValidateException",
false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public class SecurityTokenUnableToValidateException : SecurityTokenInvalidSignatureException
{
[NonSerialized]
Expand Down

0 comments on commit 3db0e02

Please sign in to comment.