Created
October 11, 2013 14:30
-
-
Save azzlack/6935644 to your computer and use it in GitHub Desktop.
Getting auth cookie when using System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler and System.IdentityModel.Services.Tokens.SessionSecurityTokenHandler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Need to use cookiehandler to get cookie since it's chunked. See System.IdentityModel.Services.ChunkedCookieHandler | |
var cookie = FederatedAuthentication.SessionAuthenticationModule.CookieHandler.Read(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment