如何查看 Postman 在发出 OAuth 请求时使用的原始签名?原始、Postman、OAuth

由网友(与幸福有约)分享简介:我正在使用 Postman 5.1.3.我正在尝试使用 Postman 的 OAuth 屏幕连接到 OAuth 1.0a 端点.如何查看 Postman 用于构造其散列oauth_signature"参数的原始签名?我正在填写一个值I'm using Postman 5.1.3. I'm trying to con...

我正在使用 Postman 5.1.3.我正在尝试使用 Postman 的 OAuth 屏幕连接到 OAuth 1.0a 端点.如何查看 Postman 用于构造其散列oauth_signature"参数的原始签名?我正在填写一个值

I'm using Postman 5.1.3. I'm trying to connect to an OAuth 1.0a endpoint using Postman's OAuth screen. How do I view the raw signature that Postman is using to construct its hashed "oauth_signature" param? I'm filling in a value for

consumer_key
consumer_secret
signature_method
timestamp
nonce
version

我将 HTTP 方法保留为GET"并单击发送".一切正常,但我无法在 Java 中重现该行为,这就是为什么我正在寻找一种方法来查看 Postman 在构建其请求时使用的原始签名.

I'm leaving the HTTP method as "GET" and clicking "Send". Everything goes through fine, but I'm not able to reproduce the behavior in Java, which is why I'm seeking a way to view the raw signature Postman uses when building its request.

推荐答案

要生成签名,postman 遵循 RFC,他们没有必要显示生成该签名的步骤,因此无法显示.

To generate the signature, postman follow the RFC, there is no point for them to display the steps to generate that, so it is unavailable on display.

p>

RFC 是 5849 第 3.4 节 用于签名内容.很明确.

RFC is 5849 section 3.4 for signature stuff. It is quite explicit.

阅读全文

相关推荐

最新文章