Connecting to an OAuth 2.0 protected OData Service

This post creates a Windows Phone 7 client application for the OAuth 2.0 protected OData service we created in the last post. Prerequisites: To run this code you will need: An AppFabric Access Control Services (ACS) instance & OData Service configured as described in the previous blog post. Windows Phone 7 Developer Tools Data Services… Read more

OData and OAuth – protecting an OData Service using OAuth 2.0

In this post you will learn how to create an OData service that is protected using OAuth 2.0, which is the OData team’s official recommendation in these scenarios: Delegation: In a delegation scenario a third party (generally an application) is granted access to a user’s resources without the user disclosing their credentials (username and password)… Read more

OData and Authentication – Part 3 – ClientSide Hooks

So far in this series we’ve looked at Windows Authentication. For both Windows and Basic Authentication, Data Services does the authentication handshake and subsequent sending of authentication headers – all without you directly setting a http header. It can do this because there is a higher level abstraction – the Credentials property – that hides… Read more