Quilt4.Service.Authentication.ApplicationUser.GenerateUserIdentityAsync C# (CSharp) Method

GenerateUserIdentityAsync() public method

public GenerateUserIdentityAsync ( ApplicationUserManager userManager, string authenticationType ) : Task
userManager ApplicationUserManager
authenticationType string
return Task
        public async Task<ClaimsIdentity> GenerateUserIdentityAsync(ApplicationUserManager userManager, string authenticationType)
        {
            // Note the authenticationType must match the one 
            // defined in CookieAuthenticationOptions.AuthenticationType
            var userIdentity = await userManager.CreateIdentityAsync(this, authenticationType);
            // Add custom user claims here
            return userIdentity;
        }

Same methods

ApplicationUser::GenerateUserIdentityAsync ( UserManager manager ) : Task