Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void RegisterAuth(IAppBuilder app)
- {
- // other code
- app.CreatePerOwinContext<ApplicationSignInManager>(ApplicationSignInManager.Create);
- // other code
- }
- [assembly: OwinStartup(typeof(Startup), "Configuration")]
- namespace YourNamespace
- {
- public class Startup
- {
- public void Configuration(IAppBuilder app)
- {
- AuthConfig.RegisterAuth(app);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement