src/LightSaml/Model/Metadata/IdpSsoDescriptor.php 1 location
|
@@ 112-121 (lines=10) @@
|
| 109 |
|
* |
| 110 |
|
* @return SingleSignOnService|null |
| 111 |
|
*/ |
| 112 |
|
public function getFirstSingleSignOnService($binding = null) |
| 113 |
|
{ |
| 114 |
|
foreach ($this->getAllSingleSignOnServices() as $svc) { |
| 115 |
|
if (null == $binding || $svc->getBinding() == $binding) { |
| 116 |
|
return $svc; |
| 117 |
|
} |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
return null; |
| 121 |
|
} |
| 122 |
|
|
| 123 |
|
/** |
| 124 |
|
* @param \LightSaml\Model\Assertion\Attribute $attribute |
src/LightSaml/Model/Metadata/SpSsoDescriptor.php 1 location
|
@@ 110-119 (lines=10) @@
|
| 107 |
|
* |
| 108 |
|
* @return AssertionConsumerService|null |
| 109 |
|
*/ |
| 110 |
|
public function getFirstAssertionConsumerService($binding = null) |
| 111 |
|
{ |
| 112 |
|
foreach ($this->getAllAssertionConsumerServices() as $svc) { |
| 113 |
|
if (null == $binding || $svc->getBinding() == $binding) { |
| 114 |
|
return $svc; |
| 115 |
|
} |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
return null; |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
/** |
| 122 |
|
* @param bool|null $authnRequestsSigned |
src/LightSaml/Model/Metadata/SSODescriptor.php 1 location
|
@@ 68-77 (lines=10) @@
|
| 65 |
|
* |
| 66 |
|
* @return SingleLogoutService|null |
| 67 |
|
*/ |
| 68 |
|
public function getFirstSingleLogoutService($binding = null) |
| 69 |
|
{ |
| 70 |
|
foreach ($this->getAllSingleLogoutServices() as $svc) { |
| 71 |
|
if (null == $binding || $binding == $svc->getBinding()) { |
| 72 |
|
return $svc; |
| 73 |
|
} |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
return null; |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
/** |
| 80 |
|
* @param string $nameIDFormat |