getOAuthClient() public method

public getOAuthClient ( ) : Client
return XeroPHP\Remote\OAuth\Client
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'));
 }