public async Task <ClaimsIdentity> GenerateUserIdentityAsync(OmsUserManager manager) { // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie); // Add custom user claims here return(userIdentity); }
public SignInManager(OmsUserManager userManager, IAuthenticationManager authenticationManager) : base(userManager, authenticationManager) { }