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











  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值