I’m working with the Azure ACS Labs where they are using FederatedServiceCredentials to authenticate users for Active Federation. Now I want to access the claims of the user from within the WCF service.
According to this article, the claims are accessed by the request thread… Can anyone explain or demonstrate what that means?
The request thread is the thread which is executing your service API on the server. From that thread (aka within your service api), you can access Thread.CurrentPrincipal.Identity. This will be a ClaimsIdentity, which contains the claims granted to you by your STS. For example: