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'));
 }