PHP 클래스 SimpleSAML_Bindings_Shib13_HTTPPost, simplesamlphp

저자: Andreas Åkre Solberg, UNINETT AS. ([email protected])
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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() 공개 메소드

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

sendResponse() 공개 메소드

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.