I have two authenticate users in two ways:
- If they are an internal user we authenticate through Windows' active directory
- If they registered with the site they authenticate through Forms Authentication
In MVC 3/4 I was able to accomplish this by implementing a custom membership provider and custom role provider.
Is the same possible in MVC 5 using OWIN and Identity and how can it be done?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…