CAS_Client::_buildSAMLPayload PHP Method

_buildSAMLPayload() private method

This method is used to build the SAML POST body sent to /samlValidate URL.
private _buildSAMLPayload ( ) : the
return the SOAP-encased SAMLP artifact (the ticket).
    private function _buildSAMLPayload()
    {
        phpCAS::traceBegin();
        //get the ticket
        $sa = urlencode($this->getTicket());
        $body = SAML_SOAP_ENV . SAML_SOAP_BODY . SAMLP_REQUEST . SAML_ASSERTION_ARTIFACT . $sa . SAML_ASSERTION_ARTIFACT_CLOSE . SAMLP_REQUEST_CLOSE . SAML_SOAP_BODY_CLOSE . SAML_SOAP_ENV_CLOSE;
        phpCAS::traceEnd($body);
        return $body;
    }
CAS_Client