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
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
$acsUrl
private
mixed
$acsUrl
$bindingType
private
mixed
$bindingType
$issuer
private
mixed
$issuer
$requestType
private
mixed
$requestType
= MiniorangeSamlspHelperConstants::AUTHN_REQUEST
$signedAssertion
private
mixed
$signedAssertion
$signedResponse
private
mixed
$signedResponse
$ssoUrl
private
mixed
$ssoUrl
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.