Skip to content

Commit 1c1522e

Browse files
committed
Moved to src folder and package name made obsolete
1 parent e0fd4f4 commit 1c1522e

12 files changed

+144
-138
lines changed

Mihir.AspNetCore.Authentication.Basic.sln

Lines changed: 0 additions & 55 deletions
This file was deleted.

Mihir.AspNetCore.Authentication.Basic/BasicDefaults.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

Mihir.AspNetCore.Authentication.Basic/IBasicUserValidationService.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

Mihir.AspNetCore.Authentication.Basic/Mihir.AspNetCore.Authentication.Basic.csproj

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29418.71
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{CF13271D-BF3F-4167-BEBA-DD02D33992F2}"
7+
EndProject
8+
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SampleWebApi.Shared", "..\samples\SampleWebApi.Shared\SampleWebApi.Shared.shproj", "{E544FB20-29F3-41F5-A78E-6164F9C43B3C}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleWebApi", "..\samples\SampleWebApi\SampleWebApi.csproj", "{07C59E2A-3E40-4FC0-A8CF-0656AB00E8A7}"
11+
EndProject
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleWebApi_2_2", "..\samples\SampleWebApi_2_2\SampleWebApi_2_2.csproj", "{0801AED9-EA38-4E7E-AF4D-26E9B67E5254}"
13+
EndProject
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCore.Authentication.Basic", "AspNetCore.Authentication.Basic\AspNetCore.Authentication.Basic.csproj", "{B2492C13-5F4E-4002-9E66-0ACF73045668}"
15+
EndProject
16+
Global
17+
GlobalSection(SharedMSBuildProjectFiles) = preSolution
18+
..\samples\SampleWebApi.Shared\SampleWebApi.Shared.projitems*{e544fb20-29f3-41f5-a78e-6164f9c43b3c}*SharedItemsImports = 13
19+
EndGlobalSection
20+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
21+
Debug|Any CPU = Debug|Any CPU
22+
Release|Any CPU = Release|Any CPU
23+
EndGlobalSection
24+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
25+
{07C59E2A-3E40-4FC0-A8CF-0656AB00E8A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26+
{07C59E2A-3E40-4FC0-A8CF-0656AB00E8A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
27+
{07C59E2A-3E40-4FC0-A8CF-0656AB00E8A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
28+
{07C59E2A-3E40-4FC0-A8CF-0656AB00E8A7}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{0801AED9-EA38-4E7E-AF4D-26E9B67E5254}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{0801AED9-EA38-4E7E-AF4D-26E9B67E5254}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{0801AED9-EA38-4E7E-AF4D-26E9B67E5254}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{0801AED9-EA38-4E7E-AF4D-26E9B67E5254}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{B2492C13-5F4E-4002-9E66-0ACF73045668}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{B2492C13-5F4E-4002-9E66-0ACF73045668}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{B2492C13-5F4E-4002-9E66-0ACF73045668}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{B2492C13-5F4E-4002-9E66-0ACF73045668}.Release|Any CPU.Build.0 = Release|Any CPU
37+
EndGlobalSection
38+
GlobalSection(SolutionProperties) = preSolution
39+
HideSolutionNode = FALSE
40+
EndGlobalSection
41+
GlobalSection(NestedProjects) = preSolution
42+
{E544FB20-29F3-41F5-A78E-6164F9C43B3C} = {CF13271D-BF3F-4167-BEBA-DD02D33992F2}
43+
{07C59E2A-3E40-4FC0-A8CF-0656AB00E8A7} = {CF13271D-BF3F-4167-BEBA-DD02D33992F2}
44+
{0801AED9-EA38-4E7E-AF4D-26E9B67E5254} = {CF13271D-BF3F-4167-BEBA-DD02D33992F2}
45+
EndGlobalSection
46+
GlobalSection(ExtensibilityGlobals) = postSolution
47+
SolutionGuid = {70815049-1680-480A-BF5A-00536D6C9C20}
48+
EndGlobalSection
49+
EndGlobal
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<Authors>Mihir Dilip</Authors>
6+
<Company>Mihir Dilip</Company>
7+
<Description>This NuGet package has been made obsolete and moved to a new package named 'AspNetCore.Authentication.Basic'. Please consider removing this package and download the new one as there will be no future updates on this package. Sorry for the inconvenience caused. This was done purely for the naming of the package. New package name is 'AspNetCore.Authentication.Basic' which can be downloaded using NuGet Package Manager or from https://www.nuget.org/packages/AspNetCore.Authentication.Basic.
8+
9+
Easy to use and very light weight Microsoft style Basic Scheme Authentication Implementation for ASP.NET Core.</Description>
10+
<RepositoryUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic</RepositoryUrl>
11+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
12+
<PackageProjectUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic</PackageProjectUrl>
13+
<Version>2.0.1</Version>
14+
<Copyright>Copyright (c) 2019 Mihir Dilip</Copyright>
15+
<PackageLicenseUrl></PackageLicenseUrl>
16+
<RepositoryType>GitHub</RepositoryType>
17+
<PackageIconUrl />
18+
<PackageTags>asp-net-core, aspnetcore, netstandard, netstandard20, basic-authentication, basicauthentication, dotnetcore, asp-net-core-basic-authentication, aspnetcore-basic-authentication, security, authentication, asp-net-core-authentication, aspnetcore-authentication</PackageTags>
19+
<NeutralLanguage />
20+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
21+
<PackageReleaseNotes>This NuGet package has been made obsolete and moved to a new package named 'AspNetCore.Authentication.Basic'. Please consider removing this package and download the new one as there will be no future updates on this package. Sorry for the inconvenience caused. This was done purely for the naming of the package. New package name is 'AspNetCore.Authentication.Basic' which can be downloaded using NuGet Package Manager or from https://www.nuget.org/packages/AspNetCore.Authentication.Basic.</PackageReleaseNotes>
22+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
23+
<RootNamespace>Mihir.AspNetCore.Authentication.Basic</RootNamespace>
24+
<PackageId>Mihir.AspNetCore.Authentication.Basic</PackageId>
25+
<Product>Mihir.AspNetCore.Authentication.Basic</Product>
26+
</PropertyGroup>
27+
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
29+
<DocumentationFile>bin\Release\netstandard2.0\Mihir.AspNetCore.Authentication.Basic.xml</DocumentationFile>
30+
</PropertyGroup>
31+
32+
<ItemGroup>
33+
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
34+
</ItemGroup>
35+
36+
<ItemGroup>
37+
<None Include="..\..\LICENSE.txt">
38+
<Pack>True</Pack>
39+
<PackagePath></PackagePath>
40+
</None>
41+
</ItemGroup>
42+
43+
</Project>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright (c) Mihir Dilip. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
4+
using System;
5+
6+
namespace Mihir.AspNetCore.Authentication.Basic
7+
{
8+
/// <summary>
9+
/// Default values used by basic authentication.
10+
/// </summary>
11+
[Obsolete("This NuGet package has been made obsolete and moved to a new package named 'AspNetCore.Authentication.Basic'. Please consider removing this package and download the new one as there will be no future updates on this package. Sorry for the inconvenience caused. This was done purely for the naming of the package. New package name is 'AspNetCore.Authentication.Basic' which can be downloaded using NuGet Package Manager or from https://www.nuget.org/packages/AspNetCore.Authentication.Basic.")]
12+
public static class BasicDefaults
13+
{
14+
/// <summary>
15+
/// Default value for AuthenticationScheme
16+
/// </summary>
17+
public const string AuthenticationScheme = "Basic";
18+
}
19+
}

Mihir.AspNetCore.Authentication.Basic/BasicExtensions.cs renamed to src/AspNetCore.Authentication.Basic/BasicExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
// Licensed under the MIT License. See License.txt in the project root for license information.
33

44
using Microsoft.AspNetCore.Authentication;
5-
using System;
65
using Microsoft.Extensions.DependencyInjection;
76
using Microsoft.Extensions.Options;
7+
using System;
88

99
namespace Mihir.AspNetCore.Authentication.Basic
1010
{
1111
/// <summary>
1212
/// Extension methods for basic authentication.
1313
/// </summary>
14+
[Obsolete("This NuGet package has been made obsolete and moved to a new package named 'AspNetCore.Authentication.Basic'. Please consider removing this package and download the new one as there will be no future updates on this package. Sorry for the inconvenience caused. This was done purely for the naming of the package. New package name is 'AspNetCore.Authentication.Basic' which can be downloaded using NuGet Package Manager or from https://www.nuget.org/packages/AspNetCore.Authentication.Basic.")]
1415
public static class BasicExtensions
1516
{
1617
/// <summary>

Mihir.AspNetCore.Authentication.Basic/BasicHandler.cs renamed to src/AspNetCore.Authentication.Basic/BasicHandler.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
// Copyright (c) Mihir Dilip. All rights reserved.
22
// Licensed under the MIT License. See License.txt in the project root for license information.
33

4+
using Microsoft.AspNetCore.Authentication;
5+
using Microsoft.Extensions.Logging;
6+
using Microsoft.Extensions.Options;
7+
using Microsoft.Net.Http.Headers;
48
using System;
59
using System.Net.Http.Headers;
610
using System.Security.Claims;
711
using System.Text;
812
using System.Text.Encodings.Web;
913
using System.Threading.Tasks;
10-
using Microsoft.AspNetCore.Authentication;
11-
using Microsoft.Extensions.Logging;
12-
using Microsoft.Extensions.Options;
13-
using Microsoft.Net.Http.Headers;
1414

1515
namespace Mihir.AspNetCore.Authentication.Basic
1616
{
1717
/// <summary>
1818
/// Inherited from <see cref="AuthenticationHandler{TOptions}"/> for basic authentication.
1919
/// </summary>
20+
[Obsolete("This NuGet package has been made obsolete and moved to a new package named 'AspNetCore.Authentication.Basic'. Please consider removing this package and download the new one as there will be no future updates on this package. Sorry for the inconvenience caused. This was done purely for the naming of the package. New package name is 'AspNetCore.Authentication.Basic' which can be downloaded using NuGet Package Manager or from https://www.nuget.org/packages/AspNetCore.Authentication.Basic.")]
2021
public class BasicHandler : AuthenticationHandler<BasicOptions>
2122
{
2223
private readonly IBasicUserValidationService _basicUserValidationService;

Mihir.AspNetCore.Authentication.Basic/BasicOptions.cs renamed to src/AspNetCore.Authentication.Basic/BasicOptions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
// Licensed under the MIT License. See License.txt in the project root for license information.
33

44
using Microsoft.AspNetCore.Authentication;
5+
using System;
56

67
namespace Mihir.AspNetCore.Authentication.Basic
78
{
89
/// <summary>
910
/// Inherited from <see cref="AuthenticationSchemeOptions"/> to allow extra option properties for 'Basic' authentication.
1011
/// </summary>
12+
[Obsolete("This NuGet package has been made obsolete and moved to a new package named 'AspNetCore.Authentication.Basic'. Please consider removing this package and download the new one as there will be no future updates on this package. Sorry for the inconvenience caused. This was done purely for the naming of the package. New package name is 'AspNetCore.Authentication.Basic' which can be downloaded using NuGet Package Manager or from https://www.nuget.org/packages/AspNetCore.Authentication.Basic.")]
1113
public class BasicOptions : AuthenticationSchemeOptions
1214
{
1315
/// <summary>

0 commit comments

Comments
 (0)