getAuthorizeURL() public method

public getAuthorizeURL ( string | null $oauth_token = null ) : string
$oauth_token string | null
return string
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'));
 }