XeroPHP\Application::getOAuthClient PHP Метод

getOAuthClient() публичный Метод

public getOAuthClient ( ) : Client
Результат XeroPHP\Remote\OAuth\Client
    public function getOAuthClient()
    {
        return $this->oauth_client;
    }

Usage Example

Пример #1
0
 public function testGetAuthorizeURL()
 {
     $expectedUrl = $this->application->getOAuthClient()->getAuthorizeURL();
     $this->assertEquals($expectedUrl, $this->application->getAuthorizeURL());
     $this->assertEquals($expectedUrl . '?oauth_token=test', $this->application->getAuthorizeURL('test'));
 }