You use the BootstrapToken (WIF 3.5) or BootstrapContext (4.5).
When using a passive STS for authentication in ASP.NET MVC, how can I access the SecurityToken?
-
01-06-2022 - |
Question
I have created a simple ASP.NET MVC (4) application, and I am using the passive profile to authenticate against a remote STS. This all works swimmingly, and I am able to access the claims returned from the STS in the User.Claims
property.
Now, I need to gain access to the SecurityToken itself that was returned from the STS. Where can I access this?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow