ASP.NET Core Identity
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-戻る
--[[ASP.NET Core]]
--[[ASP.NET Identity]]
* 目次 [#n9d7262b]
#contents
*概要 [#d3c67788]
-[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net4...
-新規採用時は、[[ASP.NET Core Identity(Identity 3.0)>http...
*詳細 [#w7230143]
**互換性 [#y0e575df]
[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net45...
[[OpenID / OAuth / OpenID Connect]]が分かっていれば差分の...
**新機能 [#e77ce3f4]
***2要素認証 [#t410d67c]
-既存のSMSを用いた2要素認証に加えて、
-[[TOTP>ワンタイム・パスワード#x917920a]]の二要素認証機能...
--[[QRコード>https://dotnetdevelopmentinfrastructure.ossc...
--[[TOTP>ワンタイム・パスワード#x917920a]]には、各種Authe...
---Google Authenticator app
---Microsoft Authenticator app
-参考
--ASP.NET Core Two Factor Authentication Using Google Aut...
https://dzone.com/articles/aspnet-core-two-factor-authent...
--How to set up two factor authentication in ASP.NET Core...
https://medium.freecodecamp.org/how-to-set-up-two-factor-...
--Microsoft Docs
---ASP.NET Core での SMS で 2 要素認証~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
---ASP.NET Core で TOTP authenticator アプリの QR コード...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***STS機能 [#d9f3ef87]
-[[OAuthAuthorizationServerMiddleware>ASP.NET IdentityのO...
他の[[ASP.NET Identity の Community STS>#ac7e5a3d]]に移行...
-「[[汎用認証サイト>ASP.NET Identity#oe281d0a]]」では、ST...
*その他 [#k4c67d35]
**基本的な画面の追加方法 [#eeb59cab]
***2.0まで [#ha9cc793]
-従来通り、MVCのビューが追加される。
-ただしRazorではなく[[Tagヘルパー>ASP.NET Core MVC#o6d552...
***2.1から [#lb006613]
-従来のMVCのビューが追加されなくなっている。
-[[Razor Class Library>#r941c0e7]]
--により提要される。
--のスキャフォで追加できる模様。
***Razor [#l51c4ad0]
-とは言え、RazorでもOK。
-[[汎用認証サイト>ASP.NET Identity#oe281d0a]]では、~
[[ASP.NET Identity]] の Razor画面を移植できた。
**管理画面の追加方法 [#u64f6ec7]
-[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net4...
-[[ASP.NET Core Identity(Identity 3.0)>https://github.com...
**[[Entity Framework]]前提の解除 [#vf8cb58f]
-2.0と同じように、解除可能。
-詳しくは、[[コチラ>#eff7023d]]を参照。
**マイグレーション(移行) [#f09595aa]
[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net45...
[[ASP.NET Core Identity(Identity 3.0)>https://github.com/...
マイグレーション(移行)というより再構築に近い。~
***互換性が低い [#c003b1a8]
-[[以下のような移行情報>#f4b12d88]]もあるが、そもそも、
--[[ASP.NETとASP.NET Coreの互換性がそれほど高くない>ASP.N...
--以下の点も加えて、加えて、互換性は、あまり高くない。
-互換性の問題点
--ASP.NET Core Identityは、~
[[.NET Standard]]レイヤではなく[[.NET Core]]レイヤ
--IUserインタフェースの廃止などがあり、~
ApplicationUser、ApplicationRoleが継承するクラスが異なる。
--メソッド・シグネチャが異なる。
--IUserStore、IRoleStore
--UserManager、RoleManager、SignInManager
-とは言え、[[汎用認証サイト>ASP.NET Identity#oe281d0a]]では
--[[ASP.NET Identity]]
--[[ASP.NET Core Identity]]
>の両方をサポートしている(為せば成る的な)。
***機能追加 [#xe299d93]
-[[2要素認証>#t410d67c]]に新しい機能が追加されている。
-[[STS機能(フレームワーク)>#d9f3ef87]]が刷新されている。
*参考 [#c1a82a76]
-ASP.NET Identity - CodePlex Archive~
https://archive.codeplex.com/?p=aspnetidentity
--Identity 2.0 is no longer under primary development. No...
--If Identity 3.0 does not have the feature you require t...
-aspnet/Identity:~
ASP.NET Core Identity is the membership system for buildi...
https://github.com/aspnet/Identity
-aspnet/Docs:~
Docs/aspnetcore/security/authentication/identity/sample/s...
https://github.com/aspnet/Docs/tree/master/aspnetcore/sec...
**[[Razor Class Library>ASP.NET Web Pages#e6ff0d5d]] [#r9...
-asp.net identity - Where are the Login and Register page...
https://stackoverflow.com/questions/50802781/where-are-th...
-ASP.NET Core 2.1.0-preview1: Introducing Identity UI as ...
https://blogs.msdn.microsoft.com/webdev/2018/03/02/aspnet...
-Scaffold Identity in ASP.NET Core projects | Microsoft D...
https://docs.microsoft.com/en-us/aspnet/core/security/aut...
**[[Entity Framework>Entity Framework Core]]前提の解除 [#...
上級者は基本[[EF>Entity Framework Core]]キャンセル(RDB ⇔...
-Writing an ASP.NET Core Identity Storage Provider from S...
http://www.elemarjr.com/en/2017/05/writing-an-asp-net-cor...
***Microsoft Docs [#ha371d82]
-ASP.NET Core Identity 用のカスタム ストレージ プロバイダ...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***時が癒す [#h5322942]
-Identity カテゴリーの記事一覧~
http://mrgchr.hatenablog.com/archive/category/Identity
--ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NE...
--ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NE...
--ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NE...
***ネスケラボ [#ab920ee7]
-ASP.NET Core Identity をテンプレートからカスタマイズ~
https://blog.nextscape.net/archives/Date/2017/12/aspnetid...
-ASP.NET Core Identity をゼロから構築する~
https://blog.nextscape.net/archives/Date/2017/12/aspnetco...
**ASP.NET Core Identity の 外部ログイン [#hef2f3a0]
***Microsoft Docs [#p55944e3]
-ASP.NET Core では、Ws-federation でユーザーを認証します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-Facebook、Google、ASP.NET Core での外部プロバイダーの認証~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での Facebook 外部ログインのセットアップ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での twitter 外部ログインのセットアップ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での Google 外部ログインのセットアップ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での Microsoft アカウントの外部ログインの...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--外部の OAuth 認証プロバイダー~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--その他の要求と ASP.NET Core での外部プロバイダーからの...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***Okta [#db028707]
-Okta Authentication Quickstart Guides | Okta Developer
--https://developer.okta.com/quickstart/#/okta-sign-in-pa...
--https://developer.okta.com/quickstart/#/okta-sign-in-pa...
***OneLogin [#l17196e2]
-.NET Frameworkは、SAMLのみらしい。~
https://developers.onelogin.com/saml/c-and-aspnet
-How to use OpenId Connect Authentication with Dotnet Cor...
https://www.onelogin.com/blog/how-to-use-openid-connect-a...
**[[Community STS>ASP.NET Identity の Community STS]] [#a...
**マイグレーション(移行) [#f4b12d88]
-ASP.NET Identity から ASP.NET Core Identity へ移行してみ...
https://blog.shibayan.jp/entry/20180710/1531150250
>NormalizedUserName、NormalizedEmailなどのNormalizedXXXX...
.ToUpper()された値が入るもよう。これらの値は、DBの検索で...
-Microsoft Docs
--ASP.NET Core への認証と Id を移行します。~
https://docs.microsoft.com/ja-jp/aspnet/core/migration/id...
--Migrate Authentication and Identity to ASP.NET Core~
https://docs.microsoft.com/en-us/aspnet/core/migration/id...
**Microsoft Docs [#b7ddd0a0]
-ASP.NET Core Security の概要~
https://docs.microsoft.com/ja-jp/aspnet/core/security/
***認証 [#scbc320a]
-[[Entity Framework>Entity Framework Core]]前提
--ASP.NET core Identity の概要~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での id モデルのカスタマイズ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-[[Entity Framework前提の解除>#eff7023d]]
-構成
--ASP.NET Core Identity を構成します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--アカウントの確認と ASP.NET Core でのパスワードの回復~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core で TOTP authenticator アプリの QR コード生...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-その他
--ASP.NET Core での Windows 認証を構成します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core Identity なしでの cookie 認証を使用します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***承認 [#p656adec]
-ASP.NET Core での承認の概要~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-ASP.NET Core 2.0: Getting Started With Identity And Role...
https://social.technet.microsoft.com/wiki/contents/articl...
**その他 [#t90ddfe1]
***present [#sc0a7312]
-ASP.NET Core MVC で JWT を使った認証を実装する~
https://tnakamura.hatenablog.com/entry/2017/08/04/jwt-bea...
-ASP.NET Core 2.0 で JWT を使った認証を実装する~
https://tnakamura.hatenablog.com/entry/2017/08/31/use-jwt...
***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...
終了行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-戻る
--[[ASP.NET Core]]
--[[ASP.NET Identity]]
* 目次 [#n9d7262b]
#contents
*概要 [#d3c67788]
-[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net4...
-新規採用時は、[[ASP.NET Core Identity(Identity 3.0)>http...
*詳細 [#w7230143]
**互換性 [#y0e575df]
[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net45...
[[OpenID / OAuth / OpenID Connect]]が分かっていれば差分の...
**新機能 [#e77ce3f4]
***2要素認証 [#t410d67c]
-既存のSMSを用いた2要素認証に加えて、
-[[TOTP>ワンタイム・パスワード#x917920a]]の二要素認証機能...
--[[QRコード>https://dotnetdevelopmentinfrastructure.ossc...
--[[TOTP>ワンタイム・パスワード#x917920a]]には、各種Authe...
---Google Authenticator app
---Microsoft Authenticator app
-参考
--ASP.NET Core Two Factor Authentication Using Google Aut...
https://dzone.com/articles/aspnet-core-two-factor-authent...
--How to set up two factor authentication in ASP.NET Core...
https://medium.freecodecamp.org/how-to-set-up-two-factor-...
--Microsoft Docs
---ASP.NET Core での SMS で 2 要素認証~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
---ASP.NET Core で TOTP authenticator アプリの QR コード...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***STS機能 [#d9f3ef87]
-[[OAuthAuthorizationServerMiddleware>ASP.NET IdentityのO...
他の[[ASP.NET Identity の Community STS>#ac7e5a3d]]に移行...
-「[[汎用認証サイト>ASP.NET Identity#oe281d0a]]」では、ST...
*その他 [#k4c67d35]
**基本的な画面の追加方法 [#eeb59cab]
***2.0まで [#ha9cc793]
-従来通り、MVCのビューが追加される。
-ただしRazorではなく[[Tagヘルパー>ASP.NET Core MVC#o6d552...
***2.1から [#lb006613]
-従来のMVCのビューが追加されなくなっている。
-[[Razor Class Library>#r941c0e7]]
--により提要される。
--のスキャフォで追加できる模様。
***Razor [#l51c4ad0]
-とは言え、RazorでもOK。
-[[汎用認証サイト>ASP.NET Identity#oe281d0a]]では、~
[[ASP.NET Identity]] の Razor画面を移植できた。
**管理画面の追加方法 [#u64f6ec7]
-[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net4...
-[[ASP.NET Core Identity(Identity 3.0)>https://github.com...
**[[Entity Framework]]前提の解除 [#vf8cb58f]
-2.0と同じように、解除可能。
-詳しくは、[[コチラ>#eff7023d]]を参照。
**マイグレーション(移行) [#f09595aa]
[[ASP.NET Identity(Identity 2.0)>ASP.NET Identity]](net45...
[[ASP.NET Core Identity(Identity 3.0)>https://github.com/...
マイグレーション(移行)というより再構築に近い。~
***互換性が低い [#c003b1a8]
-[[以下のような移行情報>#f4b12d88]]もあるが、そもそも、
--[[ASP.NETとASP.NET Coreの互換性がそれほど高くない>ASP.N...
--以下の点も加えて、加えて、互換性は、あまり高くない。
-互換性の問題点
--ASP.NET Core Identityは、~
[[.NET Standard]]レイヤではなく[[.NET Core]]レイヤ
--IUserインタフェースの廃止などがあり、~
ApplicationUser、ApplicationRoleが継承するクラスが異なる。
--メソッド・シグネチャが異なる。
--IUserStore、IRoleStore
--UserManager、RoleManager、SignInManager
-とは言え、[[汎用認証サイト>ASP.NET Identity#oe281d0a]]では
--[[ASP.NET Identity]]
--[[ASP.NET Core Identity]]
>の両方をサポートしている(為せば成る的な)。
***機能追加 [#xe299d93]
-[[2要素認証>#t410d67c]]に新しい機能が追加されている。
-[[STS機能(フレームワーク)>#d9f3ef87]]が刷新されている。
*参考 [#c1a82a76]
-ASP.NET Identity - CodePlex Archive~
https://archive.codeplex.com/?p=aspnetidentity
--Identity 2.0 is no longer under primary development. No...
--If Identity 3.0 does not have the feature you require t...
-aspnet/Identity:~
ASP.NET Core Identity is the membership system for buildi...
https://github.com/aspnet/Identity
-aspnet/Docs:~
Docs/aspnetcore/security/authentication/identity/sample/s...
https://github.com/aspnet/Docs/tree/master/aspnetcore/sec...
**[[Razor Class Library>ASP.NET Web Pages#e6ff0d5d]] [#r9...
-asp.net identity - Where are the Login and Register page...
https://stackoverflow.com/questions/50802781/where-are-th...
-ASP.NET Core 2.1.0-preview1: Introducing Identity UI as ...
https://blogs.msdn.microsoft.com/webdev/2018/03/02/aspnet...
-Scaffold Identity in ASP.NET Core projects | Microsoft D...
https://docs.microsoft.com/en-us/aspnet/core/security/aut...
**[[Entity Framework>Entity Framework Core]]前提の解除 [#...
上級者は基本[[EF>Entity Framework Core]]キャンセル(RDB ⇔...
-Writing an ASP.NET Core Identity Storage Provider from S...
http://www.elemarjr.com/en/2017/05/writing-an-asp-net-cor...
***Microsoft Docs [#ha371d82]
-ASP.NET Core Identity 用のカスタム ストレージ プロバイダ...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***時が癒す [#h5322942]
-Identity カテゴリーの記事一覧~
http://mrgchr.hatenablog.com/archive/category/Identity
--ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NE...
--ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NE...
--ASP.NET Core MVC にて、Entity Frameworkを使わずにASP.NE...
***ネスケラボ [#ab920ee7]
-ASP.NET Core Identity をテンプレートからカスタマイズ~
https://blog.nextscape.net/archives/Date/2017/12/aspnetid...
-ASP.NET Core Identity をゼロから構築する~
https://blog.nextscape.net/archives/Date/2017/12/aspnetco...
**ASP.NET Core Identity の 外部ログイン [#hef2f3a0]
***Microsoft Docs [#p55944e3]
-ASP.NET Core では、Ws-federation でユーザーを認証します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-Facebook、Google、ASP.NET Core での外部プロバイダーの認証~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での Facebook 外部ログインのセットアップ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での twitter 外部ログインのセットアップ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での Google 外部ログインのセットアップ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での Microsoft アカウントの外部ログインの...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--外部の OAuth 認証プロバイダー~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--その他の要求と ASP.NET Core での外部プロバイダーからの...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***Okta [#db028707]
-Okta Authentication Quickstart Guides | Okta Developer
--https://developer.okta.com/quickstart/#/okta-sign-in-pa...
--https://developer.okta.com/quickstart/#/okta-sign-in-pa...
***OneLogin [#l17196e2]
-.NET Frameworkは、SAMLのみらしい。~
https://developers.onelogin.com/saml/c-and-aspnet
-How to use OpenId Connect Authentication with Dotnet Cor...
https://www.onelogin.com/blog/how-to-use-openid-connect-a...
**[[Community STS>ASP.NET Identity の Community STS]] [#a...
**マイグレーション(移行) [#f4b12d88]
-ASP.NET Identity から ASP.NET Core Identity へ移行してみ...
https://blog.shibayan.jp/entry/20180710/1531150250
>NormalizedUserName、NormalizedEmailなどのNormalizedXXXX...
.ToUpper()された値が入るもよう。これらの値は、DBの検索で...
-Microsoft Docs
--ASP.NET Core への認証と Id を移行します。~
https://docs.microsoft.com/ja-jp/aspnet/core/migration/id...
--Migrate Authentication and Identity to ASP.NET Core~
https://docs.microsoft.com/en-us/aspnet/core/migration/id...
**Microsoft Docs [#b7ddd0a0]
-ASP.NET Core Security の概要~
https://docs.microsoft.com/ja-jp/aspnet/core/security/
***認証 [#scbc320a]
-[[Entity Framework>Entity Framework Core]]前提
--ASP.NET core Identity の概要~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core での id モデルのカスタマイズ~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-[[Entity Framework前提の解除>#eff7023d]]
-構成
--ASP.NET Core Identity を構成します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--アカウントの確認と ASP.NET Core でのパスワードの回復~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core で TOTP authenticator アプリの QR コード生...
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-その他
--ASP.NET Core での Windows 認証を構成します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
--ASP.NET Core Identity なしでの cookie 認証を使用します。~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
***承認 [#p656adec]
-ASP.NET Core での承認の概要~
https://docs.microsoft.com/ja-jp/aspnet/core/security/aut...
-ASP.NET Core 2.0: Getting Started With Identity And Role...
https://social.technet.microsoft.com/wiki/contents/articl...
**その他 [#t90ddfe1]
***present [#sc0a7312]
-ASP.NET Core MVC で JWT を使った認証を実装する~
https://tnakamura.hatenablog.com/entry/2017/08/04/jwt-bea...
-ASP.NET Core 2.0 で JWT を使った認証を実装する~
https://tnakamura.hatenablog.com/entry/2017/08/31/use-jwt...
***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...
ページ名: