Skip to content

Commit 445fdd2

Browse files
committed
# Conflicts: # Directory.Packages.props # samples/WeihanLi.Web.Extensions.Samples/Program.cs
2 parents 8cab5b3 + 9c38de9 commit 445fdd2

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Directory.Packages.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
<NuGetAuditMode>all</NuGetAuditMode>
88
<!-- https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1901-nu1904 -->
99
<WarningsAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsAsErrors>
10-
<AspNet8PackageVersion>8.0.15</AspNet8PackageVersion>
11-
<AspNet9PackageVersion>9.0.4</AspNet9PackageVersion>
12-
<AspNet10PackageVersion>10.0.0-preview.3.25172.1</AspNet10PackageVersion>
10+
<AspNet8PackageVersion>8.0.16</AspNet8PackageVersion>
11+
<AspNet9PackageVersion>9.0.5</AspNet9PackageVersion>
12+
<AspNet10PackageVersion>10.0.0-preview.4.25258.110</AspNet10PackageVersion>
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<PackageVersion Condition="'$(TargetFramework)'=='net8.0'" Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(AspNet8PackageVersion)" />
1616
<PackageVersion Condition="'$(TargetFramework)'=='net9.0'" Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(AspNet9PackageVersion)" />
1717
<PackageVersion Condition="'$(TargetFramework)'=='net10.0'" Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(AspNet10PackageVersion)" />
1818
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="$(AspNet10PackageVersion)" />
19-
<PackageVersion Include="ModelContextProtocol.AspNetCore" Version="0.1.0-preview.12" />
20-
<PackageVersion Include="Scalar.AspNetCore" Version="2.2.7" />
21-
<PackageVersion Include="WeihanLi.Common" Version="1.0.77" />
19+
<PackageVersion Include="ModelContextProtocol.AspNetCore" Version="0.2.0-preview.1" />
20+
<PackageVersion Include="Scalar.AspNetCore" Version="2.4.3" />
21+
<PackageVersion Include="WeihanLi.Common" Version="1.0.78" />
2222
</ItemGroup>
23-
</Project>
23+
</Project>

src/WeihanLi.Web.Extensions/Authentication/BasicAuthentication/BasicAuthenticationDefaults.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the MIT license.
33

44
namespace WeihanLi.Web.Authentication.BasicAuthentication;
5+
56
public static class BasicAuthenticationDefaults
67
{
78
public const string AuthenticationScheme = "Basic";

src/WeihanLi.Web.Extensions/Authentication/BasicAuthentication/BasicAuthenticationHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using AuthenticateResult = Microsoft.AspNetCore.Authentication.AuthenticateResult;
99

1010
namespace WeihanLi.Web.Authentication.BasicAuthentication;
11+
1112
public sealed class BasicAuthenticationHandler : AuthenticationHandler<BasicAuthenticationOptions>
1213
{
1314
public BasicAuthenticationHandler(IOptionsMonitor<BasicAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder)

src/WeihanLi.Web.Extensions/Authentication/BasicAuthentication/BasicAuthenticationOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the MIT license.
33

44
namespace WeihanLi.Web.Authentication.BasicAuthentication;
5+
56
public sealed class BasicAuthenticationOptions : AuthenticationSchemeOptions
67
{
78
public string? UserName { get; set; }

0 commit comments

Comments
 (0)