PHP Class SimpleSAML_Bindings_Shib13_Artifact, simplesamlphp

Mostra file Open project: simplesamlphp/simplesamlphp Class Usage Examples

Public Methods

Method Description
receive ( SimpleSAML_Configuration $spMetadata, SimpleSAML_Configuration $idpMetadata ) : string This function receives a SAML 1.1 artifact.

Private Methods

Method Description
buildRequest ( array $artifacts ) : string Build the request we will send to the IdP.
extractResponse ( string $soapResponse ) : string Extract the response element from the SOAP response.
getArtifacts ( ) : array Parse the query string, and extract the SAMLart parameters.

Method Details

receive() public static method

This function receives a SAML 1.1 artifact.
public static receive ( SimpleSAML_Configuration $spMetadata, SimpleSAML_Configuration $idpMetadata ) : string
$spMetadata SimpleSAML_Configuration The metadata of the SP.
$idpMetadata SimpleSAML_Configuration The metadata of the IdP.
return string The element, as an XML string.