Méthode | Description | |
---|---|---|
getAssociationConfig ( SimpleSAML_IdP $idp, array $association ) : SimpleSAML_Configuration | Retrieve the metadata for the given SP association. | |
getLogoutURL ( SimpleSAML_IdP $idp, array $association, string | null $relayState ) : string | Retrieve a logout URL for a given logout association. | |
handleAuthError ( SimpleSAML_Error_Exception $exception, array $state ) | Handle authentication error. | |
receiveAuthnRequest ( SimpleSAML_IdP $idp ) | Receive an authentication request. | |
receiveLogoutMessage ( SimpleSAML_IdP $idp ) | Receive a logout message. | |
sendLogoutRequest ( SimpleSAML_IdP $idp, array $association, string | null $relayState ) | Send a logout request to a given association. | |
sendLogoutResponse ( SimpleSAML_IdP $idp, array $state ) | Send a logout response. | |
sendResponse ( array $state ) | Send a response to the SP. |
Méthode | Description | |
---|---|---|
buildAssertion ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata, array &$state ) : |
Build an assertion based on information in the metadata. | |
buildLogoutRequest ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata, array $association, string | null $relayState ) : SAML2\LogoutResponse | Build a logout request based on information in the metadata. | |
buildResponse ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata, string $consumerURL ) : SAML2\Response | Build a authentication response based on information in the metadata. | |
encodeAttributes ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata, array $attributes ) : array | Helper function for encoding attributes. | |
encryptAssertion ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata, |
Encrypt an assertion. | |
generateNameIdValue ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata, array &$state ) : string | Calculate the NameID value that should be used. | |
getAssertionConsumerService ( array $supportedBindings, SimpleSAML_Configuration $spMetadata, string | null $AssertionConsumerServiceURL, string | null $ProtocolBinding, integer | null $AssertionConsumerServiceIndex ) : array | Find SP AssertionConsumerService based on parameter in AuthnRequest. | |
getAttributeNameFormat ( SimpleSAML_Configuration $idpMetadata, SimpleSAML_Configuration $spMetadata ) : string | Determine which NameFormat we should use for attributes. |
public static getAssociationConfig ( SimpleSAML_IdP $idp, array $association ) : SimpleSAML_Configuration | ||
$idp | SimpleSAML_IdP | The IdP the association belongs to. |
$association | array | The SP association. |
Résultat | SimpleSAML_Configuration | Configuration object for the SP metadata. |
public static getLogoutURL ( SimpleSAML_IdP $idp, array $association, string | null $relayState ) : string | ||
$idp | SimpleSAML_IdP | The IdP we are sending a logout request from. |
$association | array | The association that should be terminated. |
$relayState | string | null | An id that should be carried across the logout. |
Résultat | string | The logout URL. |
public static handleAuthError ( SimpleSAML_Error_Exception $exception, array $state ) | ||
$exception | SimpleSAML_Error_Exception | |
$state | array | The error state. |
public static receiveAuthnRequest ( SimpleSAML_IdP $idp ) | ||
$idp | SimpleSAML_IdP | The IdP we are receiving it for. |
public static receiveLogoutMessage ( SimpleSAML_IdP $idp ) | ||
$idp | SimpleSAML_IdP | The IdP we are receiving it for. |
public static sendLogoutRequest ( SimpleSAML_IdP $idp, array $association, string | null $relayState ) | ||
$idp | SimpleSAML_IdP | The IdP we are sending a logout request from. |
$association | array | The association that should be terminated. |
$relayState | string | null | An id that should be carried across the logout. |
public static sendLogoutResponse ( SimpleSAML_IdP $idp, array $state ) | ||
$idp | SimpleSAML_IdP | The IdP we are sending a logout request from. |
$state | array |
public static sendResponse ( array $state ) | ||
$state | array | The authentication state. |