「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicrosofttech.osscons.jp/]]」は、「[[Open棟梁Project>https://github.com/OpenTouryoProject/]]」,「[[OSSコンソーシアム .NET開発基盤部会>https://www.osscons.jp/dotNetDevelopmentInfrastructure/]]」によって運営されています。 -戻る --[[ASP.NET Core]] --[[ASP.NET Identity]] * 目次 [#n9d7262b] #contents *概要 [#d3c67788] -[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net45)はメンテナンス・フェーズ~ -新規採用時は、[[ASP.NET Core Identity(Identity 3.0)>https://github.com/aspnet/Identity/]](netcore)の使用を検討。 *詳細 [#w7230143] [[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net45)が分かっていれば差分の知識で済む。 **ファースト・ステップ [#s3538583] 以下が良さそう。 ***参考 [#q3b1ca39] -ASP.NET core Identity の概要 | Microsoft Docs~ https://docs.microsoft.com/ja-jp/aspnet/core/security/authentication/identity **画面の追加方法 [#eeb59cab] Razor Class Libraryによるスキャフォで追加できる模様。 ***参考 [#lc347773] -asp.net identity - Where are the Login and Register pages in an AspNet Core scafolded app? - Stack Overflow~ https://stackoverflow.com/questions/50802781/where-are-the-login-and-register-pages-in-an-aspnet-core-scafolded-app --ASP.NET Core 2.1.0-preview1: Introducing Identity UI as a library | ASP.NET Blog~ https://blogs.msdn.microsoft.com/webdev/2018/03/02/aspnetcore-2-1-identity-ui/ -Microsoft Docs --Scaffold Identity in ASP.NET Core projects~ https://docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity --Reusable Razor UI in class libraries with ASP.NET Core~ https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class **[[EF>Entity Framework Core]]キャンセルの方法 [#eff7023d] 上級者は基本[[EF>Entity Framework Core]]キャンセル(RDB ⇔ NoSQL、LDAP切り替え等が必要)。 ***参考 [#qff6ab76] -Writing an ASP.NET Core Identity Storage Provider from Scratch with RavenDB - Elemar JR~ http://www.elemarjr.com/en/2017/05/writing-an-asp-net-core-identity-storage-provider-from-scratch-with-ravendb/ -Microsoft Docs --ASP.NET Core Identity 用のカスタム ストレージ プロバイダー~ https://docs.microsoft.com/ja-jp/aspnet/core/security/authentication/identity-custom-storage-providers -時が癒す --Identity カテゴリーの記事一覧~ http://mrgchr.hatenablog.com/archive/category/Identity ---ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NET Identityを利用する Part.0(準備編) ---ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NET Identityを利用する Part.1 ---ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NET Identityを利用する Part.2 -ネスケラボ --ASP.NET Core Identity をテンプレートからカスタマイズ~ https://blog.nextscape.net/archives/Date/2017/12/aspnetidentity1 --ASP.NET Core Identity をゼロから構築する~ https://blog.nextscape.net/archives/Date/2017/12/aspnetcoreidentity2 *参考 [#c1a82a76] -ASP.NET Identity - CodePlex Archive~ https://archive.codeplex.com/?p=aspnetidentity --Identity 2.0 is no longer under primary development. No new features will be added, only bugs will be considered. --If Identity 3.0 does not have the feature you require then feel free to log a bug there. -aspnet/Identity:~ ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data.~ https://github.com/aspnet/Identity -aspnet/Docs:~ Docs/aspnetcore/security/authentication/identity/sample/src/ASPNETCore-IdentityDemoComplete at master~ https://github.com/aspnet/Docs/tree/master/aspnetcore/security/authentication/identity/sample/src/ASPNETCore-IdentityDemoComplete **Microsoft Docs [#b7ddd0a0] -ASP.NET core Identity の概要~ https://docs.microsoft.com/ja-jp/aspnet/core/security/authentication/identity -ASP.NET Core での認証~ https://docs.microsoft.com/ja-jp/aspnet/core/security/authentication/ -ASP.NET Core での承認~ https://docs.microsoft.com/ja-jp/aspnet/core/security/authorization/ **present [#sc0a7312] -ASP.NET Core MVC で JWT を使った認証を実装する~ https://tnakamura.hatenablog.com/entry/2017/08/04/jwt-bearer-authentication -ASP.NET Core 2.0 で JWT を使った認証を実装する~ https://tnakamura.hatenablog.com/entry/2017/08/31/use-jwt-bearer-authentication-on-aspnetcore2 **ONE-RUN [#icdd0988] -ユーザー認証機能の実装~ https://st40.xyz/one-run/article/333/ -UseInMemoryDatabaseを使う際の注意点~ https://st40.xyz/one-run/article/334/ -AuthorizeのRolesに複数のロールを設定する~ https://st40.xyz/one-run/article/526/ -パスワードのハッシュ化(PasswordHasher、Bcrypt)~ https://st40.xyz/one-run/article/527/ ---- Tags: [[:.NET開発]], [[:.NET Core]], [[:ASP.NET]], [[:ASP.NET MVC]], [[:ASP.NET SPA]], [[ASP.NET Web API]], [[:ASP.NET Identity]], [[:認証基盤]], [[:セキュリティ]]