Open棟梁Project - マイクロソフト系技術情報 Wiki

目次

概要

機能

機能

2.0での新機能

資格情報へのアクセス

Entity Frameworkが使用されており、Entity Frameworkマイグレーションを使うことで、簡単にユーザー情報に項目を追加できる。

OWIN is dead ?

ASP.NET Core

素組

OWIN が微妙ということであれば、下記のように、素組で実装できる
(ただし、プロトコルを理解して実装を行う必要がある。下記はOAuth。)。

クラス

テンプレートに実装されているクラス。

ユーザ管理

ApplicationUser?

ユーザー情報を定義。IdentityUser?クラスを継承。

ApplicationDbContext?

ユーザー情報をEntity Frameworkで扱うための定義。IdentityDbContext?クラスを継承。

UserManager?<ApplicationUser?>

ApplicationUser?を管理するための定義。UserManager?<TUser>クラスを継承。

UserStore?<ApplicationUser?>

情報の保管処理を抽象化するためのインターフェースを実装するクラス 各インターフェースを独自に実装すれば、データソースを変更できる。

サインイン

画面

参考

The ASP.NET Site

ASP.NET Identity
http://www.asp.net/identity

msdn.microsoft.com

.NET Web Development and Tools Blog

Introducing ASP.NET Identity – A membership system for ASP.NET applications
https://blogs.msdn.microsoft.com/webdev/2013/06/27/introducing-asp-net-identity-a-membership-system-for-asp-net-applications/

Cutting Edge

その他

ASP.NET Identity入門連載一覧:CodeZine?(コードジン)

https://codezine.jp/article/corner/511

ASP.NET Identity カテゴリーの記事一覧 - kendik.net

http://kendik.hatenablog.com/archive/category/ASP.NET%20Identity

Series: Owin Authentication « Passion for Coding

https://coding.abel.nu/series/owin-authentication/

THE TRUTH IS OUT THERE

かずきのBlog@hatena


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS