This method is used to retrieve the login URL of the CAS server.
public getServerLoginURL ( boolean $gateway = false, boolean $renew = false ) : a | ||
$gateway | boolean | true to check authentication, false to force it |
$renew | boolean | true to force the authentication with the CAS server |
Résultat | a | URL. |
/** * This method returns the URL to be used to login. * or phpCAS::isAuthenticated(). * * @return the login name of the authenticated user */ public static function getServerLoginURL() { phpCAS::_validateClientExists(); return self::$_PHPCAS_CLIENT->getServerLoginURL(); }