File tree Expand file tree Collapse file tree 4 files changed +31
-3
lines changed
Expand file tree Collapse file tree 4 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 4242 *
4343 * @package simplesamlphp/saml2
4444 */
45- class HTTPArtifact extends Binding
45+ class HTTPArtifact extends Binding implements RelayStateInterface
4646{
4747 use RelayStateTrait;
4848
Original file line number Diff line number Diff line change 2727 *
2828 * @package simplesamlphp/saml2
2929 */
30- class HTTPPost extends Binding
30+ class HTTPPost extends Binding implements RelayStateInterface
3131{
3232 use RelayStateTrait;
3333
Original file line number Diff line number Diff line change 3838 *
3939 * @package simplesamlphp/saml2
4040 */
41- class HTTPRedirect extends Binding
41+ class HTTPRedirect extends Binding implements RelayStateInterface
4242{
4343 use RelayStateTrait;
4444
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace SimpleSAML \SAML2 \Binding ;
6+
7+ /**
8+ * Interface grouping common functionality for binding that use a RelayState.
9+ *
10+ * @package simplesamlphp/saml2
11+ */
12+ interface RelayStateInterface
13+ {
14+ /**
15+ * Set the RelayState associated with he message.
16+ *
17+ * @param string|null $relayState The RelayState.
18+ */
19+ public function setRelayState (?string $ relayState = null ): void ;
20+
21+
22+ /**
23+ * Get the RelayState associated with the message.
24+ *
25+ * @return string|null The RelayState.
26+ */
27+ public function getRelayState (): ?string ;
28+ }
You can’t perform that action at this time.
0 commit comments