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

Commit d342129

Browse files
cleanup
1 parent 1fb87aa commit d342129

18 files changed

+48
-58
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,11 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@af513c7a016048ae468971c52ed77d9562c7c819
2323

24-
- name: Setup net6
25-
uses: actions/setup-dotnet@v1
26-
with:
27-
dotnet-version: '7.0.x'
28-
2924
- name: Setup net6
3025
uses: actions/setup-dotnet@v1
3126
with:
3227
dotnet-version: '6.0.x'
3328

34-
- name: Setup net5
35-
uses: actions/setup-dotnet@v1
36-
with:
37-
dotnet-version: '5.0.x'
38-
39-
- name: Setup net3
40-
uses: actions/setup-dotnet@v1
41-
with:
42-
dotnet-version: '3.1.x'
43-
4429
- run: dotnet --info
4530

4631
- if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu')

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.100",
3+
"version": "6.0.100",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
66
}

test/DPoPTests/DPoPTests.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22
using Duende.IdentityServer.Configuration;
33
using Duende.IdentityServer.Models;
44
using FluentAssertions;
5-
using IdentityModel;
65
using IdentityModel.Client;
76
using IdentityModel.OidcClient.DPoP;
8-
using Microsoft.AspNetCore.Authentication;
9-
using Microsoft.Extensions.DependencyInjection;
10-
using Microsoft.Extensions.Options;
117
using Microsoft.IdentityModel.Tokens;
128
using System.Net;
9+
using System.Net.Http;
1310
using System.Net.Http.Headers;
14-
using System.Runtime.InteropServices;
15-
using System.Text;
1611
using System.Text.Json;
12+
using System.Threading.Tasks;
1713
using Xunit;
1814

1915
namespace DPoPTests;

test/DPoPTests/DPoPTests.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<!--Conditional compilation-->
43
<PropertyGroup>
54
<TargetFramework>net6.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
</PropertyGroup>
5+
</PropertyGroup>
86

97
<PropertyGroup>
108
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
119
<SignAssembly>true</SignAssembly>
1210
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
13-
<RootNamespace>IdentityModel.OidcClient.Tests</RootNamespace>
1411
</PropertyGroup>
1512

1613
<ItemGroup>

test/DPoPTests/Framework/ApiHost.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// See LICENSE in the project root for license information.
33

4+
using System;
5+
using System.Threading.Tasks;
46
using ApiHost;
57
using Microsoft.AspNetCore.Builder;
68
using Microsoft.Extensions.DependencyInjection;

test/DPoPTests/Framework/DPoP/ConfigureJwtBearerOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using Microsoft.AspNetCore.Authentication.JwtBearer;
23
using Microsoft.Extensions.Options;
34

test/DPoPTests/Framework/DPoP/DPoPExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using System.Collections.Generic;
2+
using System.Linq;
13
using IdentityModel;
24
using Microsoft.AspNetCore.Authentication;
35
using Microsoft.AspNetCore.Http;

test/DPoPTests/Framework/DPoP/DPoPJwtBearerEvents.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Microsoft.Extensions.Options;
44
using Microsoft.Net.Http.Headers;
55
using System.Text;
6+
using System.Threading.Tasks;
67
using static IdentityModel.OidcConstants;
78

89
namespace ApiHost;

test/DPoPTests/Framework/DPoP/DPoPOptions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace ApiHost;
1+
using System;
2+
3+
namespace ApiHost;
24

35
public class DPoPOptions
46
{

test/DPoPTests/Framework/DPoP/DPoPProofValidatonResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using System.Collections.Generic;
2+
13
namespace ApiHost;
24

35
public class DPoPProofValidatonResult

0 commit comments

Comments
 (0)