Requesting a Token from Azure AppFabric Access Control Service using OAuth 2.0 in C#

Back in September I wrote the article “Requesting a Token from Access Control Service in C#”. In that article I demonstrated the creation of a requesting token, using the Simple Web Token (SWT) token format, and using the OAuth Web Resource Authorization Protocol (WRAP) as the token request protocol. In response ACS will issue a…

0

Calling a Service Bus HTTP Endpoint with Authentication using WebClient

This article demonstrates using WebClient in C# to make a client call to a secure Service Bus endpoint exposed using WebHttpRelayBinding. There are two key take-aways from this that mightn’t be covered by existing documentation and samples: (1) learn how place an Access Control STS issued token into the Authorization header, and (2) make a…

2

Requesting a Token from Access Control Service in C#

The AppFabric SDK V1.0 July Update SDK has a number of Access Control Service examples demonstrating the requesting of a token from the Access Control Service; however I find myself needing a small snippet to insert into other samples (e.g. Service Bus) just to craft a request token and get a token to Auth with…

1

Azure AppFabric Access Control Sample Import/Export Tool (acmsafeguard.exe)

The AcmSafeGuard tool is a command line tool built to be able to perform a full export and import of the Azure AppFabric Access Control entities, as well as a delete-all operation. This tool, with source, is available in the attachment. I built this by evolving the acm.exe tool that is already included in the…

0

Sample updates per WRAP update from V0.8 to V0.9

I am in the process of updating the ACS Token Request samples per protocol updates in the ACS service from Version 0.8 to 0.9. I will update the samples in the blog, but in case you made your own changes to the samples, here are the updates you need to make… Change the STS URI…

0