BaiduAPI::getLogoutUrl PHP Method

getLogoutUrl() public method

Get the Logout URL suitable for use with redirects.
public getLogoutUrl ( string $next ) : string
$next string Url to go to after a successful logout.
return string
    public function getLogoutUrl($next)
    {
        $oauth2 = $this->getBaiduOAuth2Service();
        return $oauth2->getLogoutUrl($this->getAccessToken(), $next);
    }