Looking for any recent examples using OAuth with OData pref. from a WPF client without AppFabric or other dependencies
found this year+ old article
http://blogs.msdn.com/b/astoriateam/archive/2011/01/20/oauth-2-0-and-odata-protecting-an-odata-service-using-oauth-2-0.aspx
which requires AppFabric
another from DevEx also a year+ old but the sample doesn't compile http://community.devexpress.com/blogs/theonewith/archive/2011/02/24/odata-and-oauth-part-1-introduction.aspx
all the other search results refer to these 2 sites
wondering if there's been any new developments over the past year to build upon
OAuth is the authorization concept for OData services. OData (Open Data Protocol) services as e.g. offered by SAP NetWeaver Gateway, opens business systems by offering access to business functionality to SAP and non SAP clients such as HTML5 applications or mobile clients.
OAuth is an authorization framework that enables an application or service to obtain limited access to a protected HTTP resource. To use REST APIs with OAuth in Oracle Integration, you need to register your Oracle Integration instance as a trusted application in Oracle Identity Cloud Service.
In SOAP web services, the OAuth access token can be passed in a SOAP Header inside the SOAP envelope or in the Authorization HTTP header of a request. In ReadyAPI, there is no built-in option to add the OAuth authorization to a SOAP request since the OAuth authorization is rarely used with SOAP web services.
ASP.NET 4.5 WebAPI will support both oData as well as oAuth out of the box. If you are starting a new project I would recommend looking into that one.
Scott Gu's last info is that the ASP.NET WebAPI beta oData is already supported and oAuth will be shipped with the RTM.
Based on past experiences with ASP.NET versions, the availability of the RTM is not for too long.
You can read about the ASP.NET WebAPI (also see comments): http://weblogs.asp.net/scottgu/archive/2012/02/23/asp-net-web-api-part-1.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With