Advertisement
athacks

oauthProblem

Jan 1st, 2016
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1.  
  2. class myCLase{
  3. public $baseURI = "https://www.mysite.com/";
  4.     public $oauthURI;
  5.     public $service_url;
  6.    
  7.     function __construct($code){
  8.         $oauthURI = "https://www.mysite.com/oauth/token?client_id=myID123&client_secret=mysecret123&code=" . $code;
  9.     }
  10.    
  11.     function getOauth(){ return $oauthURI;}
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement