Skip to content

Commit 3f99d45

Browse files
Update MSDN URL (dotnet#54691)
While looking through the code I noticed this old MSDN link, so updated it to point to the new location.
1 parent c8b44d0 commit 3f99d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Security/Authentication/OAuth/src/OAuthHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected override async Task<HandleRequestResult> HandleRemoteAuthenticateAsync
166166
if (int.TryParse(tokens.ExpiresIn, NumberStyles.Integer, CultureInfo.InvariantCulture, out value))
167167
{
168168
// https://www.w3.org/TR/xmlschema-2/#dateTime
169-
// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx
169+
// https://learn.microsoft.com/dotnet/standard/base-types/standard-date-and-time-format-strings
170170
var expiresAt = TimeProvider.GetUtcNow() + TimeSpan.FromSeconds(value);
171171
authTokens.Add(new AuthenticationToken
172172
{

0 commit comments

Comments
 (0)