Documentation

AuthnRequest
in package

This class is used to generate our AuthnRequest object.

The generate function is called to generate an XML document that can then be passed to the IDP for validation.

Tags
todo
  • the generateXML function uses string. Need to convert it so that request
  • is generated using \Dom functions

Table of Contents

$acsUrl  : mixed
$bindingType  : mixed
$issuer  : mixed
$requestType  : mixed
$signedAssertion  : mixed
$signedResponse  : mixed
$ssoUrl  : mixed
__construct()  : mixed
build()  : mixed
This function is used to build our AuthnRequest. Deflate and encode the AuthnRequest string if the sso binding type is empty or is of type HTTPREDIRECT.
generateXML()  : mixed
This function is called to generate our authnRequest. This is an internal function and shouldn't be called directly. Call the @build function instead.

Properties

$requestType

private mixed $requestType = MiniorangeSamlspHelperConstants::AUTHN_REQUEST

Methods

__construct()

public __construct(mixed $acsUrl, mixed $issuer, mixed $ssoUrl, mixed $bindingType, mixed $signedAssertion, mixed $signedResponse) : mixed
Parameters
$acsUrl : mixed
$issuer : mixed
$ssoUrl : mixed
$bindingType : mixed
$signedAssertion : mixed
$signedResponse : mixed
Return values
mixed

build()

This function is used to build our AuthnRequest. Deflate and encode the AuthnRequest string if the sso binding type is empty or is of type HTTPREDIRECT.

public build() : mixed
Return values
mixed

generateXML()

This function is called to generate our authnRequest. This is an internal function and shouldn't be called directly. Call the @build function instead.

private generateXML() : mixed

It returns the string format of the XML and encode it based on the sso binding type.

Tags
todo
  • Have to convert this so that it's not a string value but an XML document
Return values
mixed

Search results