微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我们需要在 phpleague / oauth1-client php 库中放置哪些细节来代替标识符和秘密

如何解决我们需要在 phpleague / oauth1-client php 库中放置哪些细节来代替标识符和秘密

我正在使用 thephpleague / oauth1-client library

<script>
import { ipcRenderer } from 'electron';

export default {
  name: 'SaveFileComponent',methods: {
    async save() {
      const data = {}; // load it from your source            
      await ipcRenderer.invoke('export-file',{data});
    }
 }
}
</script>

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

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。