push NDB.Security.Authentication.Identity.1.0.5.nupkg
parent
e07a76e8cd
commit
7d304aef37
|
@ -8,13 +8,13 @@ namespace NDB.Security.Authentication.Identity
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
@ -23,7 +23,7 @@ namespace NDB.Security.Authentication.Identity
|
|||
services.AddSingleton(authenticationOptions);
|
||||
|
||||
// configure authentication
|
||||
AuthenticationServiceCollectionExtensions.AddAuthentication(services, "IdentityAuthentication")
|
||||
services.AddAuthentication("IdentityAuthentication")
|
||||
.AddScheme<AuthenticationSchemeOptions, IdentityAuthenticationHandler>("IdentityAuthentication", null);
|
||||
|
||||
return services;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<RepositoryUrl>https://dev.azure.com/tstanciu94/NDB</RepositoryUrl>
|
||||
<RepositoryType>Git</RepositoryType>
|
||||
<PackageTags>NDB Authentication Identity</PackageTags>
|
||||
<Version>1.0.4</Version>
|
||||
<Version>1.0.5</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -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.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
|
||||
#######################################################################################################################################################
|
Loading…
Reference in New Issue