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: samples/dotnet/SponsorLink/SponsorLink.cs
-78Lines changed: 0 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -165,82 +165,4 @@ public static bool TryRead([NotNullWhen(true)] out ClaimsPrincipal? principal, I
165
165
166
166
returnprincipal!=null;
167
167
}
168
-
169
-
/// <summary>
170
-
/// Validates the manifest signature and optional expiration.
171
-
/// </summary>
172
-
/// <param name="jwt">The JWT to validate.</param>
173
-
/// <param name="jwk">The key to validate the manifest signature with.</param>
174
-
/// <param name="token">Except when returning <see cref="Status.Unknown"/>, returns the security token read from the JWT, even if signature check failed.</param>
175
-
/// <param name="identity">The associated claims, only when return value is not <see cref="Status.Unknown"/>.</param>
176
-
/// <param name="requireExpiration">Whether to check for expiration.</param>
177
-
/// <returns>The status of the validation.</returns>
/// Validates the manifest signature and optional expiration.
85
+
/// </summary>
86
+
/// <param name="jwt">The JWT to validate.</param>
87
+
/// <param name="jwk">The key to validate the manifest signature with.</param>
88
+
/// <param name="token">Except when returning <see cref="Status.Unknown"/>, returns the security token read from the JWT, even if signature check failed.</param>
89
+
/// <param name="identity">The associated claims, only when return value is not <see cref="Status.Unknown"/>.</param>
90
+
/// <param name="requireExpiration">Whether to check for expiration.</param>
91
+
/// <returns>The status of the validation.</returns>
0 commit comments