CAS_Client::_ensureAuthenticationCalled PHP Method

_ensureAuthenticationCalled() private method

Ensure that authentication was checked. Terminate with exception if no authentication was performed
private _ensureAuthenticationCalled ( ) : void
return void
    private function _ensureAuthenticationCalled()
    {
        if (!$this->wasAuthenticationCalled()) {
            throw new CAS_OutOfSequenceBeforeAuthenticationCallException();
        }
    }
CAS_Client