Skip to content

Commit ac4e68f

Browse files
committed
Allow retrieval of Scoping -> RequesterIds
The requester ids can already be set as part of the setscoping method. Now they can also be retrieved.
1 parent 3902d86 commit ac4e68f

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 4.1.11
2+
**New feature**
3+
* Allow retrieval of Scoping -> RequesterIds #97
4+
15
# 4.1.10
26
**New feature**
37
* Allow setting the ForceAuthn property on AuthNRequest objects #96

src/SAML2/ReceivedAuthnRequest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,14 @@ public function setScoping(array $requesterIds, $proxyCount = 10)
205205
$this->request->setProxyCount($proxyCount);
206206
}
207207

208+
/**
209+
* @return string[]
210+
*/
211+
public function getScopingRequesterIds()
212+
{
213+
return $this->request->getRequesterID();
214+
}
215+
208216
/**
209217
* @param XMLSecurityKey $key
210218
* @return bool

0 commit comments

Comments
 (0)