PHP Class SimpleSAML_Bindings_Shib13_HTTPPost, simplesamlphp

Author: Andreas Åkre Solberg, UNINETT AS. ([email protected])
Afficher le fichier Open project: simplesamlphp/simplesamlphp Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( SimpleSAML_Configuration $configuration, SimpleSAML_Metadata_MetaDataStorageHandler $metadatastore ) Constructor for the SimpleSAML_Bindings_Shib13_HTTPPost class.
decodeResponse ( array $post ) : SimpleSAML_XML_Shib13_AuthnResponse Decode a received response.
sendResponse ( string $response, SimpleSAML_Configuration $idpmd, SimpleSAML_Configuration $spmd, string | null $relayState, string $shire ) Send an authenticationResponse using HTTP-POST.

Method Details

__construct() public méthode

Constructor for the SimpleSAML_Bindings_Shib13_HTTPPost class.
public __construct ( SimpleSAML_Configuration $configuration, SimpleSAML_Metadata_MetaDataStorageHandler $metadatastore )
$configuration SimpleSAML_Configuration The configuration to use.
$metadatastore SimpleSAML_Metadata_MetaDataStorageHandler A store where to find metadata.

decodeResponse() public méthode

Decode a received response.
public decodeResponse ( array $post ) : SimpleSAML_XML_Shib13_AuthnResponse
$post array POST data received.
Résultat SimpleSAML_XML_Shib13_AuthnResponse The response decoded into an object.

sendResponse() public méthode

Send an authenticationResponse using HTTP-POST.
public sendResponse ( string $response, SimpleSAML_Configuration $idpmd, SimpleSAML_Configuration $spmd, string | null $relayState, string $shire )
$response string The response which should be sent.
$idpmd SimpleSAML_Configuration The metadata of the IdP which is sending the response.
$spmd SimpleSAML_Configuration The metadata of the SP which is receiving the response.
$relayState string | null The relaystate for the SP.
$shire string The shire which should receive the response.