GyreTech.Piranha.AspNetCore.Identity.EF
1.0.8
See the version list below for details.
dotnet add package GyreTech.Piranha.AspNetCore.Identity.EF --version 1.0.8
NuGet\Install-Package GyreTech.Piranha.AspNetCore.Identity.EF -Version 1.0.8
<PackageReference Include="GyreTech.Piranha.AspNetCore.Identity.EF" Version="1.0.8" />
paket add GyreTech.Piranha.AspNetCore.Identity.EF --version 1.0.8
#r "nuget: GyreTech.Piranha.AspNetCore.Identity.EF, 1.0.8"
// Install GyreTech.Piranha.AspNetCore.Identity.EF as a Cake Addin #addin nuget:?package=GyreTech.Piranha.AspNetCore.Identity.EF&version=1.0.8 // Install GyreTech.Piranha.AspNetCore.Identity.EF as a Cake Tool #tool nuget:?package=GyreTech.Piranha.AspNetCore.Identity.EF&version=1.0.8
Welcome GyreTech PiranhaCMS Identity EF Module
PiranhaCMS Module that handles ASP.NET Core Identity with Entity Framework as the backing store.
Registering the Module
You register the Module by hooking it into the services. Please note that generic AspNetCore & Piranha setup has been omitted. However you should register the Module after your other Piranha CMS configurations.
public IServiceProvider ConfigureServices(IServiceCollection services) {
....
// Add addtional all available claims
List<string[]> additionalClaims = new List<string[]>() { Piranha.Manager.Permission.All() };
// Add Identity Security EF
services.AddEfIdentitySecurity(o =>
{
o.ConnectionString = defaultConnection;
o.InitialClaims = additionalClaims;
o.Users = new[]
{
new Piranha.AspNetCore.Identity.EF.Data.EfIdentityUser(true, Permission.All())
{
UserName = "Admin",
Password = "P@sswOrd1",
FirstName = "Admin",
LastName = "User",
}
};
o.EnableFirstLastNameClaim = true;
});
....
}
Initialize the Module
Once the Module has been configured you initialize it. Please note that generic AspNetCore setup has been omitted.
public void Configure(IApplicationBuilder app, IHostingEnvironment env, IServiceProvider services) {
....
// Initialize the Identity EF module
app.UsePiranhaIdentityEFSecurity();
....
}
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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNetCore (>= 2.0.1)
- Microsoft.AspNetCore.Identity (>= 2.0.1)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 2.0.1)
- Microsoft.EntityFrameworkCore (>= 2.0.1)
- Microsoft.EntityFrameworkCore.SqlServer (>= 2.0.1)
- Piranha (>= 4.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on GyreTech.Piranha.AspNetCore.Identity.EF:
Package | Downloads |
---|---|
GyreTech.Piranha.AspNetCore.Identity.EF.Manager
PiranhaCMS Module that adds .NET Core Identity User Management interface to Piranha.Manager. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Removed ILogger dependency