aspnet core identity
1.0.0
Stores和Managers之间的角色和关系及其在引擎盖下的功能Claims , ClaimsIdentity和ClaimsPrincipal实体是什么以及它们如何相关Microsoft.Extensions.Identity.Stores和UserStoreBase商店实现UserOnlyStore或UserStoreClaims-based授权Role-based授权Authorization Policy Provider逐步指南Imperative authorizationOAuth 2.0工作原理(术语,赠款类型,代币)OpenID Connect工作方式(术语,令牌,流)IdentityServer集成OAuth 2.0和OpenID Connect待续..
该项目是用ASP.NET核心构建的,在客户端上具有Angular。
cd ./AspNetCoreIdentity存在包装。npm installdotnet restoredotnet builddotnet runcd ./AspNetCoreIdentity存在AspnetCoreIdentity.csprojAdd-Migration initial_migration或dotnet ef migrations add initial_migrationUpdate-Database或dotnet ef database update如果您不想在运行
AspNetCoreIdentity项目时使用真实的SQL Server数据库,则只需在AppSettings.json中设置InMemoryProvider:true即可。此选项将用于内存数据库
如果您不想在运行
IdentityServer项目时使用真实的SQL Server数据库,请简单地设置Useinmemorystores:true在“相对appsettings ”中。
| 叽叽喳喳 | |||
|---|---|---|---|
| Microsoft Web应用程序开发 | |||

根据MIT许可发布的代码。