FormsAuthentication.Decrypt

FormsAuthentication.Encryptで、FormsAuthenticationTicketを暗号化したので、FormsAuthentication.Decryptで復号化する。

FormsAuthentication.Encrypt(FormsAuthenticationTicket) メソッド (System.Web.Security) | Microsoft Docs

Global.asax.csで、

こうすると、

とりあえず復号化出来たっぽい。
とりあえず復号化出来たっぽい。

とりあえず復号化出来たっぽい。

Sample/aspnet/FormsAuthentication/Decrypt/src/FormsAuthentication_ at master · bg1bgst333/Sample · GitHub