Snippets tagged authorization

Verifies the OAuth SWT (simple web token) issued by Azure ACS
The SWT may be obtained by many methods; one way is:
- "How to: Request a Token from ACS via the OAuth WRAP Protocol"
(http://msdn.microsoft.com/en-us/library/windowsazure/hh674475.aspx)
(Note I used the userid/password method to obtain the token on behalf of a 'service identity' set up in ACS)
The token is normally verifed by a 'relying party' such as an ASP.Net website hosting a Web API
General ACS documentation is here: http://msdn.microsoft.com/en-us/library/gg429788.aspx