Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class myCLase{
- public $baseURI = "https://www.mysite.com/";
- public $oauthURI;
- public $service_url;
- function __construct($code){
- $oauthURI = "https://www.mysite.com/oauth/token?client_id=myID123&client_secret=mysecret123&code=" . $code;
- }
- function getOauth(){ return $oauthURI;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement