Skip to content

Commit c2ef540

Browse files
committed
Merge pull request SAML-Toolkits#46 from ilnuska/add_idp
Adding ability to set idp, make sense in order to let multi-idp support
2 parents b286983 + 7d1d14b commit c2ef540

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/Saml2/Settings.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,4 +772,15 @@ public function isDebugActive()
772772
{
773773
return $this->_debug;
774774
}
775+
776+
/**
777+
* Sets the IdP certificate.
778+
*
779+
* @param string $value IdP certificate
780+
*/
781+
public function setIdPCert($cert)
782+
{
783+
$this->_idp['x509cert'] = $cert;
784+
$this->formatIdPCert();
785+
}
775786
}

0 commit comments

Comments
 (0)