Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 189ae2d

Browse files
committed
Added support for addInstitution application
1 parent 45f00ca commit 189ae2d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/DiscoTemplate.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ public function isOriginalSpNonFilteringIdPs() {
8787
return (isset($this->data['originalsp']['disco.doNotFilterIdps']) && $this->data['originalsp']['disco.doNotFilterIdps'] === TRUE);
8888
}
8989

90+
/**
91+
* @return bool true if SP has property 'disco.addInstitutionApp' set to true in its metadata. False otherwise.
92+
*/
93+
public function isAddInstitutionApp() {
94+
return (isset($this->data['originalsp']['disco.addInstitutionApp']) && $this->data['originalsp']['disco.addInstitutionApp'] === TRUE);
95+
}
96+
9097

9198
/**
9299
* @param string $idpEntityId

0 commit comments

Comments
 (0)