0

我正在使用phpleague / oauth1-client 库

$server = new League\OAuth1\Client\Server\MyServer([
    'identifier' => 'your-identifier',
    'secret' => 'your-secret',
    'callback_uri' => "http://your-callback-uri/",
]);

我很困惑我必须在其中添加哪些细节。制作 Oauth 1.0 的客户请求详细信息是:-

 [ "oauth_consumer_key" => "D7B56F-8E6851-D7970E-41B6CA-8CF4E0",
  "oauth_signature_method" => "HMAC-SHA1",
  "oauth_timestamp" => "1623059705"
  "oauth_nonce" => "zhc9pyAgO8SYYEW5MTvQbyTfDIhmaWfzowUVKR1NYg",
  "oauth_version" => "1.0",
  "oauth_callback" => "about:blank"
  "oauth_signature" => "ZWsX8Lla/T03IXP4xQ0iFub2ruQ=",
]
4

0 回答 0