private function processUrl($url)
{
$vars = ['{CLIENT_ID}' => $this->getClientId(), '{REDIRECT_URI}' => $this->getRedirectURI(), '{SCOPE}' => $this->getScope(), '{STATE}' => $this->getState(), " " => '', "\n" => '', "\r" => '', "\t" => ''];
$url = str_replace(array_keys($vars), array_values($vars), $url);
return $url;
}