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: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,6 @@ internal static class LogMessages
73
73
publicconststringIDX10256="IDX10256: Unable to validate the token type. TokenValidationParameters.ValidTypes is set, but the 'typ' header claim is null or empty.";
74
74
publicconststringIDX10257="IDX10257: Token type validation failed. Type: '{0}'. Did not match: validationParameters.TokenTypes: '{1}'.";
75
75
publicconststringIDX10258="IDX10258: Token type validated. Type: '{0}'.";
76
-
publicconststringIDX10259="IDX10259: Unable to validate the token type, delegate threw an exception.";
77
76
// public const string IDX10260 = "IDX10260:";
78
77
publicconststringIDX10261="IDX10261: Unable to retrieve configuration from authority: '{0}'. \nProceeding with token validation in case the relevant properties have been set manually on the TokenValidationParameters. Exception caught: \n {1}. See https://aka.ms/validate-using-configuration-manager for additional information.";
79
78
publicconststringIDX10262="IDX10262: One of the issuers in TokenValidationParameters.ValidIssuers was null or an empty string. See https://aka.ms/wilson/tokenvalidation for details.";
@@ -37,18 +37,18 @@ public static partial class Validators
37
37
/// <param name="notBefore">The 'notBefore' time found in the <see cref="SecurityToken"/>.</param>
38
38
/// <param name="expires">The 'expiration' time found in the <see cref="SecurityToken"/>.</param>
39
39
/// <param name="securityToken">The <see cref="SecurityToken"/> being validated.</param>
40
-
/// <param name="validationParameters">The <see cref="TokenValidationParameters"/> to be used for validating the token.</param>
40
+
/// <param name="validationParameters">The <see cref="ValidationParameters"/> to be used for validating the token.</param>
41
41
/// <param name="callContext"></param>
42
42
/// <returns>A <see cref="LifetimeValidationResult"/> indicating whether validation was successful, and providing a <see cref="SecurityTokenInvalidLifetimeException"/> if it was not.</returns>
43
43
/// <exception cref="ArgumentNullException">If 'validationParameters' is null.</exception>
44
-
/// <exception cref="SecurityTokenNoExpirationException">If 'expires.HasValue' is false and <see cref="TokenValidationParameters.RequireExpirationTime"/> is true.</exception>
44
+
/// <exception cref="SecurityTokenNoExpirationException">If 'expires.HasValue' is false.</exception>
45
45
/// <exception cref="SecurityTokenInvalidLifetimeException">If 'notBefore' is > 'expires'.</exception>
46
46
/// <exception cref="SecurityTokenNotYetValidException">If 'notBefore' is > DateTime.UtcNow.</exception>
47
47
/// <exception cref="SecurityTokenExpiredException">If 'expires' is < DateTime.UtcNow.</exception>
48
-
/// <remarks>All time comparisons apply <see cref="TokenValidationParameters.ClockSkew"/>.</remarks>
48
+
/// <remarks>All time comparisons apply <see cref="ValidationParameters.ClockSkew"/>.</remarks>
49
49
/// <remarks>Exceptions are not thrown, but embedded in <see cref="LifetimeValidationResult.Exception"/>.</remarks>
50
50
#pragma warning disable CA1801// TODO: remove pragma disable once callContext is used for logging
0 commit comments