Questions tagged [asp.net-identity]
The ASP.NET Identity system is designed to replace the previous ASP.NET Membership and Simple Membership systems.
7 questions
3
votes
1
answer
233
views
ASP.NET Web API Authentication For Xamarin App
I've recently been learned how to implement a token based authentication with ASP.NET and I would love to get some input on how my code & structure is as well as how I can make it better.
The code ...
2
votes
0
answers
79
views
Managing invalid cookie when 2 users use the same computer and therefore share the same cookie
I have asked this question on stackoverflow... here, I am asking for some feedback on the solution that I have implemented.
I am using ASP.NET MVC default template to logout user:
...
3
votes
1
answer
1k
views
Extension method for getting custom Principal Claim
I'm writing extension methods to shorten the code required to get custom Claims from an IPrincipal. I have two general forms for ...
-1
votes
2
answers
612
views
Extending IdentityUser with nullable foreign key to another IdentityUser [closed]
I'm working on a framework which builds on .net core Identity. Let's say I wanted to extend the IdentityUser<TKey> class with a ...
3
votes
1
answer
2k
views
Dynamic AuthorizeAttribute with database
I want to create a AuthorizeAttribute that gets the current ActionMethod RouteData and ...
2
votes
1
answer
238
views
UserStore implementation for two databases
I created our UserStore class to use it with our custom database membership. We use two databases:
AMDbContext host the main ...
1
vote
1
answer
2k
views
ASP.NET Identity 2.0 UserManager alongside with UnitOfWork and Service-Locator anti-pattern
I was wondering whether it is a good aproach to have Identity 2.0 UserManager next to UnitOfWork pattern? I am using ...