예제 #1
0
 public function setUp()
 {
     Provider::config(array('host' => 'localhost', 'oauth_consumer_key' => 'key', 'oauth_consumer_secret' => 'secret'));
 }
예제 #2
0
 protected function _init()
 {
     parent::_init();
     Provider::config(array('host' => $this->request->env('SERVER_NAME'), 'request' => $this->request->env('base') . '/oauth/request_token', 'access' => $this->request->env('base') . '/oauth/access_token', 'authorize' => $this->request->env('base') . '/oauth/authorize', 'port' => 30501));
 }