Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (19 sloc) 770 Bytes
using HBTI.ServiceTech.Web.Data;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using System;
namespace HBTI.ServiceTech.Web.Providers
{
public class SQLMembershipSignInManager : SignInManager<aspnet_Membership, Guid>
{
public SQLMembershipSignInManager(SQLMembershipUserManager userManager, IAuthenticationManager authenticationManager)
: base(userManager, authenticationManager)
{
}
public static SQLMembershipSignInManager Create(IdentityFactoryOptions<SQLMembershipSignInManager> options, IOwinContext context)
{
return new SQLMembershipSignInManager(context.GetUserManager<SQLMembershipUserManager>(), context.Authentication);
}
}
}