且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Django中编写双腿OAuth提供程序

更新时间:2022-12-04 15:04:43

'2 legged'只是正常的OAuth请求,无需访问令牌或访问令牌秘密。而已。您仍然使用客户端凭据(标识符和秘密),但使用空字符串作为访问令牌参数。根据您使用的服务器库,您可以在发出请求时省略oauth_token参数。

'2 legged' is just normal OAuth request without an access token or access token secret. That's it. You still use the client credentials (identifier and secret) but use empty strings for the access token parameters. Depending on the server library you use, you can omit the oauth_token parameter when making the request.