libraries/Maniaplanet/WebServices/ManiaConnect/Client.php
function getLoginURL($scope = null, $redirectURI = null)
	{
		$redirectURI = $redirectURI ? : $this->getCurrentURI();
		self::$persistance->setVariable('redirect_uri', $redirectURI);
		return $this->getAuthorizationURL($redirectURI, $scope);
	}
function getLoginURL($scope = null, $redirectURI = null)
	{
		$redirectURI = $redirectURI ? : $this->getCurrentURI();
		self::$persistance->setVariable('redirect_uri', $redirectURI);
		return $this->getAuthorizationURL($redirectURI, $scope);
	}
function getLoginURL ( $ scope = null , $ redirectURI = null ) { $ redirectURI = $ redirectURI ? : $ this -> getCurrentURI ( ) ; self :: $ persistance -> setVariable ( 'redirect_uri' , $ redirectURI ) ; return $ this -> getAuthorizationURL ( $ redirectURI , $ scope ) ; }
When a user is not authentified, you need to create a link to the URL
returned by this method.

@param string $scope Space-separated list of scopes. Leave empty if you just need the basic one
@param string $redirectURI Where to redirect the user after auth. Leave empty for the current URI
@return string Login URL
When a user is not authentified you need to create a link to the URL returned by this method .