Commit d81549a
committed
Implement new API for ACS/SLO data in metadata
Supports more control over which indexes go where for AssertionConsumerServices
and you can change which one the default is as well. The old constuctor syntax
is still supported but translated to this new setup.
my $sp = Net::SAML2::SP->new(
single_logout_service => [
{
Binding => BINDING_HTTP_REDIRECT,
Location => 'https://foo.nl',
},
],
AssertionConsumerService => [
# order decides index?
{
Binding => BINDING_HTTP_ARTIFACT,
Location => ...,
# index 1
},
{
Binding => BINDING_HTTP_POST,
Location => ...,
# index 2
isDefault => 1,
}
],
...,
);
Closes: #46
Signed-off-by: Wesley Schwengle <wesley@opndev.io>1 parent 01d5fb7 commit d81549a
File tree
5 files changed
+324
-105
lines changed- lib/Net/SAML2
- t
5 files changed
+324
-105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments