PHP Class CAS_AuthenticationException

Proxy service handlers must implement this interface as well as call phpCAS::initializeProxiedService($this) at some point in their implementation. While not required, proxy-authenticated service handlers are encouraged to implement the CAS_ProxiedService_Testable interface to facilitate unit testing.
Inheritance: extends RuntimeException, implements CAS_Exception
Show file Open project: jasig/phpcas

Public Methods

Method Description
__construct ( CAS_Client $client, string $failure, string $cas_url, boolean $no_response, boolean $bad_response = '', string $cas_response = '', integer $err_code = '', string $err_msg = '' ) This method is used to print the HTML output when the user was not authenticated.

Method Details

__construct() public method

This method is used to print the HTML output when the user was not authenticated.
public __construct ( CAS_Client $client, string $failure, string $cas_url, boolean $no_response, boolean $bad_response = '', string $cas_response = '', integer $err_code = '', string $err_msg = '' )
$client CAS_Client phpcas client
$failure string the failure that occured
$cas_url string the URL the CAS server was asked for
$no_response boolean the response from the CAS server (other parameters are ignored if TRUE)
$bad_response boolean bad response from the CAS server ($err_code and $err_msg ignored if TRUE)
$cas_response string the response of the CAS server
$err_code integer the error code given by the CAS server
$err_msg string the error message given by the CAS server