yii\authclient\OpenId::getReturnUrl PHP Method

getReturnUrl() public method

public getReturnUrl ( ) : string
return string authentication return URL.
    public function getReturnUrl()
    {
        if ($this->_returnUrl === null) {
            $this->_returnUrl = $this->defaultReturnUrl();
        }
        return $this->_returnUrl;
    }

Usage Example

 /**
  * @depends testSetGet
  */
 public function testGetDefaults()
 {
     $client = new OpenId();
     $this->assertNotEmpty($client->getTrustRoot(), 'Unable to get default trust root!');
     $this->assertNotEmpty($client->getReturnUrl(), 'Unable to get default return URL!');
 }