Top "Asp.net-identity-2" questions

The second release of the ASP.

Persisting claims across requests

var user = UserManager.Find(...); ClaimsIdentity identity = UserManager.CreateIdentity( user, DefaultAuthenticationTypes.ApplicationCookie ); var claim1 = new Claim( ClaimType = ClaimTypes.Country, ClaimValue = "Arctica", …

c# .net asp.net-mvc asp.net-identity-2
How can I implement Claims-Based Authorization with ASP.NET WebAPI without using Roles?

I have an ASP.Net WebAPI 2 Application that uses Claims. The claims are stored as two additional columns in a …

asp.net asp.net-mvc asp.net-web-api asp.net-identity-2 asp.net-authorization
How to check password manually in Asp.Net identity 2?

This might actually be more of a conceptual question. In Asp.Net Identity the PasswordHasher generates a different hash for …

asp.net hash asp.net-identity asp.net-identity-2 password-encryption
MVC/Code First: how to add more tables to the same db context?

I am using the standard MVC template that comes with VS 2013. It has a neat membership provider that makes using …

asp.net-mvc entity-framework ef-code-first asp.net-identity asp.net-identity-2
Identity 2.0: Creating custom ClaimsIdentity eg: User.Identity.GetUserById<int>(int id) for Per Request Validation

See this similar question: Need access more user properties in User.Identity I would like to create custom authentication methods …

c# asp.net-mvc-5 asp.net-identity-2 class-extensions razor-3
Custom ASP.NET Identity 2.0 UserStore - Is implementing all interfaces required?

I've created a custom IUserStore<TUser,int> for my application. I've implemented the interfaces I need, IUserStore<…

c# asp.net asp.net-identity-2
How to Use AspNet.Identity core in My Sql database

I am developing one application using asp dot net core 2 using MySql database.Please help me How can i use …

mysql asp.net asp.net-core-mvc asp.net-identity-2
ASP.Net MVC 5 w/identity 2.2.0 Log off not working

I am using a the basic login on a test ASP.Net MVC 5 site (for an internet site). The login …

asp.net-mvc asp.net-mvc-5 logout asp.net-identity-2
Invalidate Old Session Cookie - ASP.Net Identity

An external company has done some penetration tests on the ASP.NET MVC 5 application i'm working on. An issue that …

asp.net-mvc asp.net-identity owin asp.net-identity-2
Creating Asp.net Identity user in Seed method of Db Initializer

I have created my data layer with EF 6 code first and I am populating the db through Seed method of …

entity-framework entity-framework-6 asp.net-identity asp.net-identity-2