Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 3a67512

Browse files
update version and nugets
1 parent 3149217 commit 3a67512

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/IdentityModel.AspNetCore.OAuth2Introspection/IdentityModel.AspNetCore.OAuth2Introspection.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>ASP.NET Core 2.0 Middleware for validating tokens using OAuth 2.0 introspection</Description>
55
<VersionPrefix>3.1.0</VersionPrefix>
6-
<VersionSuffix>preview1</VersionSuffix>
6+
<!--<VersionSuffix>preview1</VersionSuffix>-->
77
<Authors>Dominick Baier;Brock Allen</Authors>
88
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
99
<PackageId>IdentityModel.AspNetCore.OAuth2Introspection</PackageId>
@@ -24,10 +24,10 @@
2424
</PropertyGroup>
2525

2626
<ItemGroup>
27-
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.6.1" PrivateAssets="all" />
27+
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.7.4" PrivateAssets="all" />
2828
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.0.1" />
2929
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.0.1" />
3030
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.0.0" />
31-
<PackageReference Include="IdentityModel" Version="3.0.0-aberfeldy" />
31+
<PackageReference Include="IdentityModel" Version="3.0.0" />
3232
</ItemGroup>
3333
</Project>

src/IdentityModel.AspNetCore.OAuth2Introspection/Infrastructure/CacheExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static async Task SetClaimsAsync(this IDistributedCache cache, string tok
4646
}
4747

4848
var now = DateTimeOffset.UtcNow;
49-
var expiration = long.Parse(expClaim.Value).ToDateTimeOffsetFromEpoch();
49+
var expiration = int.Parse(expClaim.Value).ToDateTimeOffsetFromEpoch();
5050
logger.LogDebug("Token will expire in {expiration}", expiration);
5151

5252

test/Tests/Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<PackageReference Include="xunit" Version="2.3.1" />
1818
<PackageReference Include="FluentAssertions" Version="4.19.4" />
1919
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.0.1" />
20-
<PackageReference Include="IdentityModel" Version="3.0.0-aberfeldy" />
2120
</ItemGroup>
2221

2322
<ItemGroup>

0 commit comments

Comments
 (0)