add examples of overloading for handling of idp initiated slo

This commit is contained in:
<bdauvergne@entrouvert.com> 1209045403 +0200 0001-01-01 00:00:00 +00:00
parent b22c830c98
commit 713d8c2bc6
1 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,19 @@ class MyEndPoint extends LassoSPKitSaml2Endpoint {
}
}
function sloBrws() {
$ret = parent::sloSoap();
$this->handleSlo($ret);
}
function sloSoap() {
$ret = parent::sloSoap();
$this->handleSlo($ret);
}
function handleSlo($ret) {
if ($ret) {
lassospkit_errlog("Demande de slo échoué: $ret");
}
}
}