phpで composerで oauth2-salesforceをインストールしました。
https://github.com/stevenmaguire/oauth2-salesforce/
その中の以下ファイルのgetBaseAuthorizationUrl()メソッドですが、
https://github.com/stevenmaguire/oauth2-salesforce/blob/master/src/Provider/Salesforce.php
public function getBaseAuthorizationUrl() { return 'https://login.salesforce.com/services/oauth2/authorize'; }
となっているところを
public function getBaseAuthorizationUrl($instance='test') { return 'https://'.$instance.'.salesforce.com/services/oauth2/authorize'; }
のように変更したいですが、
直接書き換えると保守がわるくなるかと思います。
この場合どのように編集しますでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2016/05/21 15:38