You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.IdentityModel.Tokens/LogMessages.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ internal static class LogMessages
37
37
publicconststringIDX10209="IDX10209: Token has length: '{0}' which is larger than the MaximumTokenSizeInBytes: '{1}'.";
38
38
publicconststringIDX10211="IDX10211: Unable to validate issuer. The 'issuer' parameter is null or whitespace.";
39
39
publicconststringIDX10214="IDX10214: Audience validation failed. Audiences: '{0}'. Did not match: validationParameters.ValidAudience: '{1}' or validationParameters.ValidAudiences: '{2}'.";
40
+
publicconststringIDX10215="IDX10215: Audience validation failed. Audiences: '{0}'. Did not match: validationParameters.ValidAudiences: '{1}'.";
40
41
publicconststringIDX10222="IDX10222: Lifetime validation failed. The token is not yet valid. ValidFrom (UTC): '{0}', Current time (UTC): '{1}'.";
41
42
publicconststringIDX10223="IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '{0}', Current time (UTC): '{1}'.";
42
43
publicconststringIDX10224="IDX10224: Lifetime validation failed. The NotBefore (UTC): '{0}' is after Expires (UTC): '{1}'.";
@@ -34,7 +34,7 @@ public static partial class Validators
34
34
/// <summary>
35
35
/// Determines if the audiences found in a <see cref="SecurityToken"/> are valid.
36
36
/// </summary>
37
-
/// <param name="audiences">The audiences found in the <see cref="SecurityToken"/>.</param>
37
+
/// <param name="tokenAudiences">The audiences found in the <see cref="SecurityToken"/>.</param>
38
38
/// <param name="securityToken">The <see cref="SecurityToken"/> being validated.</param>
39
39
/// <param name="validationParameters">The <see cref="TokenValidationParameters"/> to be used for validating the token.</param>
40
40
/// <param name="callContext"></param>
@@ -44,12 +44,12 @@ public static partial class Validators
44
44
/// <exception cref="SecurityTokenInvalidAudienceException">If none of the 'audiences' matched either <see cref="TokenValidationParameters.ValidAudience"/> or one of <see cref="TokenValidationParameters.ValidAudiences"/>.</exception>
45
45
/// <remarks>An EXACT match is required.</remarks>
46
46
#pragma warning disable CA1801// TODO: remove pragma disable once callContext is used for logging
0 commit comments