net.beswitched.core.auth
1.0.0
dotnet add package net.beswitched.core.auth --version 1.0.0
NuGet\Install-Package net.beswitched.core.auth -Version 1.0.0
<PackageReference Include="net.beswitched.core.auth" Version="1.0.0" />
<PackageVersion Include="net.beswitched.core.auth" Version="1.0.0" />
<PackageReference Include="net.beswitched.core.auth" />
paket add net.beswitched.core.auth --version 1.0.0
#r "nuget: net.beswitched.core.auth, 1.0.0"
#:package net.beswitched.core.auth@1.0.0
#addin nuget:?package=net.beswitched.core.auth&version=1.0.0
#tool nuget:?package=net.beswitched.core.auth&version=1.0.0
ASPCorePermissionAuth
a small API to create advanced policy based authentification for enterprise application
Installation
check out the nuget-Pack: https://www.nuget.org/packages/net.beswitched.core.auth/
Install-Package net.beswitched.core.auth -Version 1.0.0
You have to tell your AppBuilder to include the Assembly. Do that by adpating your programm.cs
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseSetting(WebHostDefaults.HostingStartupAssembliesKey, "net.beswitched.core.auth");
webBuilder.UseStartup<Startup>();
});
Add A Configuration File and describe set the Location with: [assembly: PermissionConfiguration("PermissionConfig.json")]
example Config
{ "ADPrefix": "INT", "PermissionGroupConfigurations": [ { "groupname": "normalUsers", "Permissions": [ "test.zz.see" ] }, { "groupname": "admins", "Permissions": [ "test.zz.see", "tes.zz.edit" ] } ] }
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.Authentication.Cookies (>= 2.2.0)
- Microsoft.AspNetCore.Authorization (>= 3.1.3)
- Microsoft.AspNetCore.Server.HttpSys (>= 2.2.6)
- Microsoft.AspNetCore.Server.IISIntegration (>= 2.2.1)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 735 | 4/12/2020 |