senddr partner API -- overview && Authentication

API Overview 

The Senddr Partner API is a web service and used the OAuth(1.0a) protocol to authenticate partner applications.



Authentication


overview

Senddr Partner API use the standard 3 legged OAuth process where user can authorize your application to have access to their senddr account.


Connecting to Senddr

Below is a summary of the steps required for an end user to authorise a partner application to have access to their account in Senddr

  1. User presses a “Connect to Senddr” button or something similar in the partner application.
  2. User is redirected to Senddr and prompted to login if they do not already have an active session.
  3. User is requested to click the button to grant the application access to.
  4. Once the application is authorised, the user is redirected back to the partner application, which can then start interacting with their senddr account using the Senddr Partner API

URLs for authorisation and using the API

Senddr follows the OAuth v1.0a spec. The URL’s to authorize your application are:


Get an Unauthorised Request Token:

http://api.senddr.com/oauth1.0a/RequestToken.aspx

Redirect a user:

http://api.senddr.com/oauth1.0a/Authorize.aspx

Swap a Request Token for an Access Token:

http://api.senddr.com/oauth1.0a/AccessToken.aspx

Connect to the Senddr Partner API:

http://api.senddr.com/v1.0/…


Signing Requests

All requests need to be signed using HMAC-SHA1.


Access Tokens

  • Each access token are permanent util the user to re-authorize your application











發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章