ASP.NET Identity

Download Report

Transcript ASP.NET Identity

Goals
•
•
•
•
•
•
•
•
One ASP.NET Membership story – Web APIs and Web Apps
Profile.
Extensibility allows for non SQL persistence model.
Improve unit testability of application code.
Separate Authentication from Membership.
Full support for Async programming.
Claims Based.
Roles
Releases
• ASP.NET Identity 1.0 – VS 2013 RTM
• ASP.NET Identity 2.0 – VS 2013 Update 2
• ASP.NET Identity 2.1 – VS 2013 Update 3
Features
• Login username/ password
• Roles
• Profile
• Claims
• User Management – Create, edit and delete Users
• Role Management – Create, edit, delete Roles and manage Users.
• External Logins – Social providers + Azure AD
• Identity Storage Extensibility
Features…
•
•
•
•
•
•
•
•
•
Stronger passwords
Two-Factor Authentication
Account Lockout
Account Confirmation
Security Stamp (Sign out everywhere)
Reset password
Custom Password Policies
User Validators
Customize Primary Key
Architecture
UserStore
App
UserManager
User
Resources
• http://www.asp.net/identity/
• http://www.asp.net/identity/overview/getting-started/aspnet-identity-recommendedresources
• Migrating to ASP.NET Identity
• http://www.asp.net/identity/overview/features-api/two-factor-authentication-usingsms-and-email-with-aspnet-identity
• 2FA using Google Authenticator app
• Facebook demo https://github.com/rustd/FBLogin
• Web Admin using Thinktecture IdentityManager
• For samples for Identity in general
https://aspnet.codeplex.com/SourceControl/latest#Samples/Identity/
• Raven Db ASP.NET Identity provider by Tugberk
• ASP.NET Identity providers