我们需要在 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 (将#修改为@)