Skip to content

Commit 93d4ff6

Browse files
committed
Removed Obsolete attributes and namespace changed to AspNetCore.Authentication.Basic
1 parent b3687cb commit 93d4ff6

File tree

7 files changed

+16
-28
lines changed

7 files changed

+16
-28
lines changed

src/AspNetCore.Authentication.Basic/AspNetCore.Authentication.Basic.csproj

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,23 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<Authors>Mihir Dilip</Authors>
66
<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>
7+
<Description>Easy to use and very light weight Microsoft style Basic Scheme Authentication Implementation for ASP.NET Core.</Description>
8+
<RepositoryUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic/tree/2.2.0</RepositoryUrl>
119
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
12-
<PackageProjectUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic</PackageProjectUrl>
13-
<Version>2.0.1</Version>
10+
<PackageProjectUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic/tree/2.2.0</PackageProjectUrl>
11+
<Version>2.2.0</Version>
1412
<Copyright>Copyright (c) 2019 Mihir Dilip</Copyright>
1513
<PackageLicenseUrl></PackageLicenseUrl>
1614
<RepositoryType>GitHub</RepositoryType>
1715
<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>
16+
<PackageTags>aspnetcore, security, authentication, microsoft, microsoft.aspnetcore.authentication, microsoft-aspnetcore-authentication, microsoft.aspnetcore.authentication.basic, microsoft-aspnetcore-authentication-basic, asp-net-core, netstandard, netstandard20, basic-authentication, basicauthentication, dotnetcore, asp-net-core-basic-authentication, aspnetcore-basic-authentication, asp-net-core-authentication, aspnetcore-authentication, asp, aspnet, basic, authentication-scheme</PackageTags>
1917
<NeutralLanguage />
2018
<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>
19+
<PackageReleaseNotes></PackageReleaseNotes>
2220
<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>
21+
<RootNamespace>AspNetCore.Authentication.Basic</RootNamespace>
22+
<PackageId>AspNetCore.Authentication.Basic</PackageId>
23+
<Product>AspNetCore.Authentication.Basic</Product>
2624
</PropertyGroup>
2725

2826
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

src/AspNetCore.Authentication.Basic/BasicDefaults.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
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 System;
5-
6-
namespace Mihir.AspNetCore.Authentication.Basic
4+
namespace AspNetCore.Authentication.Basic
75
{
86
/// <summary>
97
/// Default values used by basic authentication.
108
/// </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.")]
129
public static class BasicDefaults
1310
{
1411
/// <summary>

src/AspNetCore.Authentication.Basic/BasicExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
using Microsoft.Extensions.Options;
77
using System;
88

9-
namespace Mihir.AspNetCore.Authentication.Basic
9+
namespace 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.")]
1514
public static class BasicExtensions
1615
{
1716
/// <summary>

src/AspNetCore.Authentication.Basic/BasicHandler.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
using System.Text.Encodings.Web;
1313
using System.Threading.Tasks;
1414

15-
namespace Mihir.AspNetCore.Authentication.Basic
15+
namespace 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.")]
2120
public class BasicHandler : AuthenticationHandler<BasicOptions>
2221
{
2322
private readonly IBasicUserValidationService _basicUserValidationService;

src/AspNetCore.Authentication.Basic/BasicOptions.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
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

7-
namespace Mihir.AspNetCore.Authentication.Basic
6+
namespace AspNetCore.Authentication.Basic
87
{
98
/// <summary>
109
/// Inherited from <see cref="AuthenticationSchemeOptions"/> to allow extra option properties for 'Basic' authentication.
1110
/// </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.")]
1311
public class BasicOptions : AuthenticationSchemeOptions
1412
{
1513
/// <summary>

src/AspNetCore.Authentication.Basic/BasicPostConfigureOptions.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
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 System;
54
using Microsoft.Extensions.Options;
5+
using System;
66

7-
namespace Mihir.AspNetCore.Authentication.Basic
7+
namespace AspNetCore.Authentication.Basic
88
{
99
/// <summary>
1010
/// This post configure options checks whether the required option property <see cref="BasicOptions.Realm" /> is set or not on <see cref="BasicOptions"/>.
1111
/// </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.")]
1312
class BasicPostConfigureOptions : IPostConfigureOptions<BasicOptions>
1413
{
1514
public void PostConfigure(string name, BasicOptions options)

src/AspNetCore.Authentication.Basic/IBasicUserValidationService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
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 System;
54
using System.Threading.Tasks;
65

7-
namespace Mihir.AspNetCore.Authentication.Basic
6+
namespace AspNetCore.Authentication.Basic
87
{
98
/// <summary>
109
/// Implementation of this interface will be used by the 'Basic' authentication handler to validated the username and password.
1110
/// </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.")]
1311
public interface IBasicUserValidationService
1412
{
1513
/// <summary>

0 commit comments

Comments
 (0)