Created
November 12, 2016 20:59
-
-
Save johnmmoss/78da13b74e85a55d2e03fedea661b7ad to your computer and use it in GitHub Desktop.
Sample UserManager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UserManager : UserManager<User> | |
{ | |
public UserManager(IUserStore<User> store) | |
: base(store) | |
{ | |
} | |
// This method is called by Owin therefore best place to configure your User Manager | |
public static UserManager Create( | |
IdentityFactoryOptions<UserManager> options, IOwinContext context) | |
{ | |
var manager = new UserManager( | |
new UserStore<User>(context.Get<TimesheetsContext>())); | |
// Configure your manager ... | |
return manager; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment