且构网

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

无法理解这个API的OAuth流

更新时间:2023-02-01 19:04:38

不抄写添加所有所需的OAuth的参数,并为您执行签名?我期待在LinkedIn的例子,它是基于关闭默认的OAuth 1.0a的流量,我没有看到它在做这样的事情。

doesn't Scribe add all of the required OAuth parameters, and perform the signing for you? i'm looking at the LinkedIn example, which is based off of a default OAuth 1.0a flow, and i don't see it doing anything like that.

https://github.com/fernandezpablo85/scribe-java/blob/master/src/test/java/org/scribe/examples/LinkedInExample.java

如果您必须手动制定URL和自己签名,究竟是抄写员为你做?

if you have to manually formulate the URL and sign it yourself, what exactly is Scribe doing for you?