示例#1
0
 /**
  * Returns foursquare oauth
  *
  * @param *string
  * @param *string
  * @param *string
  * @return Eden_Foursquare_Oauth
  */
 public function auth($clientId, $clientSecret, $redirect)
 {
     //argument test
     Eden_Foursquare_Error::i()->argument(1, 'string')->argument(2, 'string')->argument(3, 'string');
     //Argument 3 must be a string
     return Eden_Foursquare_Oauth::i($clientId, $clientSecret, $redirect);
 }
示例#2
0
 public function auth($clientId, $clientSecret, $redirect)
 {
     Eden_Foursquare_Error::i()->argument(1, 'string')->argument(2, 'string')->argument(3, 'string');
     return Eden_Foursquare_Oauth::i($clientId, $clientSecret, $redirect);
 }