Skip to content

Commit 7f9bdce

Browse files
committed
Added package tags for AppCore.Extensions.Http
1 parent 2078b69 commit 7f9bdce

File tree

7 files changed

+30
-15
lines changed

7 files changed

+30
-15
lines changed

Http/Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
<Project>
22
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
3+
4+
<PropertyGroup>
5+
<PackageTags>$(PackageTags);Microsoft.Extensions.Http</PackageTags>
6+
</PropertyGroup>
37
</Project>

Http/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ This project contains add-ons for the `Microsoft.Extensions.Http` library. It ad
77

88
Latest development packages can be found on [MyGet](https://www.myget.org/gallery/appcorenet).
99

10-
| Package | Description |
11-
|--------------------------------------------------|----------------------------------------------------------------------------------|
12-
| `AppCore.Extensions.Http.Authentication` | Adds authentication support to `HttpClient` created via the `IHttpClientFactory` |
13-
| `AppCore.Extensions.Http.Authentication.OAuth` | Extends client authentication with OAuth client credentials or password. |
10+
| Package | Description |
11+
|-------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
12+
| `AppCore.Extensions.Http.Authentication` | Provides extensions which adds support for authenticating a HttpClient using different authentication standards. |
13+
| `AppCore.Extensions.Http.Authentication.OAuth` | Adds support for authenticating a HttpClient using OAuth2 bearer tokens. |
14+
| `AppCore.Extensions.Http.Authentication.OAuth.AspNetCore.OpenIdConnect` | Adds support for deriving token client configuration from ASP.NET Core OpenID connect authentication schemes. |

Http/src/AppCore.Extensions.Http.Authentication.OAuth.AspNetCore.OpenIdConnect/AppCore.Extensions.Http.Authentication.OAuth.AspNetCore.OpenIdConnect.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
5-
<Description>Provides OAuth authenticaiton extensions to the Microsoft.Extensions.Http framework.</Description>
5+
<Description>
6+
Adds support to AppCore.Extensins.Http.Authenticaton.OAuth for deriving token client configuration
7+
from ASP.NET Core OpenID connect authentication schemes.
8+
</Description>
9+
<PackageTags>$(PackageTags);Security;Authentication;OAuth;OAuth2;OAuth 2.0;IdentityModel;ASP.NET Core;OpenID Connect</PackageTags>
610
</PropertyGroup>
711

812
<ItemGroup>

Http/src/AppCore.Extensions.Http.Authentication.OAuth.AspNetCore.OpenIdConnect/DependencyInjection/OAuthHttpClientAuthenticationBuilderExtensions.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static void OpenIdConnect(
3434
.AddScheme<
3535
OpenIdConnectOAuthClientOptions,
3636
OAuthParameters,
37-
OAuthClientHandler>(builder.Scheme);
37+
OAuthClientHandler>(builder.Scheme, configure);
3838

3939
services.TryAddEnumerable(
4040
new[]
@@ -43,10 +43,5 @@ public static void OpenIdConnect(
4343
.Transient<IOAuthOptionsResolver,
4444
OpenIdConnectOAuthClientOptionsResolver>(),
4545
});
46-
47-
if (configure != null)
48-
{
49-
services.Configure(builder.Scheme, configure);
50-
}
5146
}
5247
}

Http/src/AppCore.Extensions.Http.Authentication.OAuth.AspNetCore/AppCore.Extensions.Http.Authentication.OAuth.AspNetCore.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
5-
<Description>Provides OAuth authenticaiton extensions to the Microsoft.Extensions.Http framework.</Description>
5+
<Description>
6+
Adds support to AppCore.Extensins.Http.Authenticaton.OAuth for deriving token client configuration
7+
from ASP.NET Core authentication schemes.
8+
</Description>
9+
<PackageTags>$(PackageTags);Security;Authentication;OAuth;OAuth2;OAuth 2.0;IdentityModel;ASP.NET Core</PackageTags>
610
</PropertyGroup>
711

812
<ItemGroup>

Http/src/AppCore.Extensions.Http.Authentication.OAuth/AppCore.Extensions.Http.Authentication.OAuth.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
5-
<Description>Provides OAuth authenticaiton extensions to the Microsoft.Extensions.Http framework.</Description>
5+
<Description>
6+
Adds support to AppCore.Extensions.Http.Authenticaton for authenticating a HttpClient using OAuth2 bearer tokens.
7+
</Description>
8+
<PackageTags>$(PackageTags);Security;Authentication;OAuth;OAuth2;OAuth 2.0;IdentityModel</PackageTags>
69
</PropertyGroup>
710

811
<ItemGroup>

Http/src/AppCore.Extensions.Http.Authentication/AppCore.Extensions.Http.Authentication.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
5-
<Description>Provides authenticaiton extensions to the Microsoft.Extensions.Http framework.</Description>
5+
<Description>
6+
Provides extensions to the Microsoft.Extensions.Http framework which adds support for authenticating a HttpClient
7+
using different authentication standards.
8+
</Description>
9+
<PackageTags>$(PackageTags);Security;Authentication</PackageTags>
610
</PropertyGroup>
711

812
<ItemGroup>
913
<PackageReference Include="AppCore.Diagnostics.Sources" Version="$(AppCore_Shared_Version)">
1014
<PrivateAssets>all</PrivateAssets>
11-
</PackageReference>
15+
</PackageReference>
1216
<PackageReference Include="Microsoft.Extensions.Http" Version="$(Microsoft_Extensions_Version)" />
1317
</ItemGroup>
1418

0 commit comments

Comments
 (0)