push NDB.Security.Authentication.Identity.1.0.5.nupkg

messaging
Tudor Stanciu 2021-11-13 23:52:26 +02:00
parent e07a76e8cd
commit 7d304aef37
3 changed files with 6 additions and 6 deletions

View File

@ -8,13 +8,13 @@ namespace NDB.Security.Authentication.Identity
{ {
public static class AuthenticationExtensions public static class AuthenticationExtensions
{ {
public static IServiceCollection AddAuthentication(this IServiceCollection services, string identityServerBaseAddress) public static IServiceCollection AddIdentityAuthentication(this IServiceCollection services, string identityServerBaseAddress)
{ {
services.AddAuthentication(identityServerBaseAddress, new Services.AuthenticationOptions()); services.AddIdentityAuthentication(identityServerBaseAddress, new Services.AuthenticationOptions());
return services; return services;
} }
public static IServiceCollection AddAuthentication(this IServiceCollection services, string identityServerBaseAddress, IAuthenticationOptions authenticationOptions) public static IServiceCollection AddIdentityAuthentication(this IServiceCollection services, string identityServerBaseAddress, IAuthenticationOptions authenticationOptions)
{ {
Validate(identityServerBaseAddress, authenticationOptions); Validate(identityServerBaseAddress, authenticationOptions);
@ -23,7 +23,7 @@ namespace NDB.Security.Authentication.Identity
services.AddSingleton(authenticationOptions); services.AddSingleton(authenticationOptions);
// configure authentication // configure authentication
AuthenticationServiceCollectionExtensions.AddAuthentication(services, "IdentityAuthentication") services.AddAuthentication("IdentityAuthentication")
.AddScheme<AuthenticationSchemeOptions, IdentityAuthenticationHandler>("IdentityAuthentication", null); .AddScheme<AuthenticationSchemeOptions, IdentityAuthenticationHandler>("IdentityAuthentication", null);
return services; return services;

View File

@ -7,7 +7,7 @@
<RepositoryUrl>https://dev.azure.com/tstanciu94/NDB</RepositoryUrl> <RepositoryUrl>https://dev.azure.com/tstanciu94/NDB</RepositoryUrl>
<RepositoryType>Git</RepositoryType> <RepositoryType>Git</RepositoryType>
<PackageTags>NDB Authentication Identity</PackageTags> <PackageTags>NDB Authentication Identity</PackageTags>
<Version>1.0.4</Version> <Version>1.0.5</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -22,7 +22,7 @@ dotnet nuget push NDB.Extensions.Swagger.1.0.2.nupkg -k ***REMOVED*** -s http://
dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget
dotnet nuget push NDB.Security.Authentication.Identity.1.0.4.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget dotnet nuget push NDB.Security.Authentication.Identity.1.0.5.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget
dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget
####################################################################################################################################################### #######################################################################################################################################################