You are here

public function saml_sp_AuthnRequest::getRequest in SAML Service Provider 7.8

Returns deflated, base64 encoded, unsigned AuthnRequest.

File

includes/saml_sp.AuthnRequest.inc, line 75

Class

saml_sp_AuthnRequest

Code

public function getRequest() {
  $deflatedRequest = gzdeflate($this->_authnRequest);
  $base64Request = base64_encode($deflatedRequest);
  return $base64Request;
}