没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > myspaceid-csharp-sdk |
myspaceid-csharp-sdk
|
0 | 0 | 44 |
贡献者 | 讨论 | 代码提交 |
MySpace C# SDKWhether you are hosting an application on your own server or working with an OpenSocial app hosted by MySpace, you can use elements of this Software Development Kit (SDK) to make calls to the MySpace Application Programming Interface (API). This API provides access to a variety of MySpace features and data.
If you have registered an application hosted on your server as a MySpaceID app, this SDK shows you how to implement the OAuth secure access protocol. The immediate benefit is that your app’s users will be able to log in to your application using their familiar MySpace account info, rather than having to set up and remember yet another username and password. The greater benefit is that your MySpaceID app can access MySpace data through the MySpace APIs.
All MySpace applications — both MySpaceID-registered apps and MySpace-hosted apps — can access MySpace data through the MySpace APIs. Information about MySpace applications is available at the Wiki page titled What are MySpace Applications?.
This SDK project contains examples of the base API code necessary to make signed requests against the MySpace REST API. See the C# SDK source code directory.
You can run the samples in this SDK right away, but to run your own projects, you first need to register on the MySpace Developer Site. Follow the instructions to create an app; you'll get a consumer key and secret.
The MySpace SDK enables you to work with MySpace data using the OpenStack (OpenID, OAuth etc) and the MySpace REST APIs via easy-to-use high level interfaces.
The best way to implement your own application is take an existing sample and customize it.
Working ExamplesOAuth - make signed requests OpenID + OAuth Hybrid - delegated login, and making signed requests 8bitmusic - sample for demonstration purposes DocumentationGetting Started Csharp SDK code documentation. Other MySpace SDK LanguagesMySpaceID-PHP-SDK MySpaceID-Java-SDK MySpaceID-Ruby-SDK MySpaceID-Python-SDK MySpaceID-AS3-SDK MySpaceID SDK Main Page Notes on This C# MySpace SDKThis SDK makes use of the following open source projects:
DotNetOpenID: A C# OpenID library that adds OpenID 2.0 Provider and Relying Party support to your web site both programmatically and through convenient drop-in ASP.NET controls. We have extended it to support the OpenID+OAuth Extension Jayrock: a modest and an open source (LGPL) implementation of JSON and JSON-RPC for the Microsoft .NET Framework, including ASP.NET. To summarize, Jayrock allows clients, typically JavaScript in web pages, to call into server-side methods using JSON as the wire format and JSON-RPC as the procedure invocation protocol. The methods can be called synchronously or asynchronously. We use Jayrock to deserialize JSON responses from the MySpace API into strongly typed classes that are easy to use.