예제 #1
0
        //public override Task<ClaimsIdentity> CreateUserIdentityAsync(IdentityUser user) {
        //    return user.GenerateUserIdentityAsync((BifUserManager)UserManager);
        //}

        public static BifSignInManager Create(BifUserManager userManager)
        {
            if (_bifSignInManager == null)
            {
                _bifSignInManager = new BifSignInManager(userManager);
            }
            return(_bifSignInManager);
        }
예제 #2
0
 public void Dispose()
 {
     _bifSignInManager = null;
 }