Skip to content

Commit

Permalink
remove log messages which are no longer used in Tokens.Jwt.JwtPayload (
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyf19 authored Aug 29, 2023
1 parent d4fe205 commit d9d4d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/System.IdentityModel.Tokens.Jwt/LogMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ internal static class LogMessages
internal const string IDX12401 = "IDX12401: Expires: '{0}' must be after NotBefore: '{1}'.";

// JWT messages
internal const string IDX12700 = "IDX12700: Error found while parsing date time. The '{0}' claim has value '{1}' which is could not be parsed to an integer.";
internal const string IDX12701 = "IDX12701: Error found while parsing date time. The '{0}' claim has value '{1}' does not lie in the valid range.";
//internal const string IDX12700 = "IDX12700:";
//internal const string IDX12701 = "IDX12701:";
internal const string IDX12706 = "IDX12706: '{0}' can only write SecurityTokens of type: '{1}', 'token' type is: '{2}'.";
internal const string IDX12709 = "IDX12709: CanReadToken() returned false. JWT is not well formed: '{0}'.\nThe token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.";
internal const string IDX12710 = "IDX12710: Only a single 'Actor' is supported. Found second claim of type: '{0}', value: '{1}'";
Expand Down

0 comments on commit d9d4d95

Please sign in to comment.