SignOut of claims authentication
问题 I have successfully implemented claims authentication in to my project. As shown here: var userCredentials = new[] { new Claim("UserId", userProfile.UserId.ToString()), new Claim("Username", userProfile.UserName)}; var id = new ClaimsIdentity(userCredentials, "Forms"); var cp = new ClaimsPrincipal(id); var token = new SessionSecurityToken(cp); var sam = FederatedAuthentication.SessionAuthenticationModule; sam.WriteSessionTokenToCookie(token); Which is working correctly, the issue I'm trying