saml-kit 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8740c5ff70303b968a161c67da75dfc7651d9456f6020d4bca4859cefce353c6
|
4
|
+
data.tar.gz: cf0a2a09fa2aa032029f928c1751b09bcc1d0d51b151e8c05d882b5fb689d50b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 898f5356615e106f93446b6cc785eb1f5ba86bd82ad4978a5c6f39df92fedb1602ce5a974e33f8a5b4d60fe47aa3e06a528b5da4d7f0e8b1791b54fbfcc14bb0
|
7
|
+
data.tar.gz: a06066cf4bc5e22d57d184498e2f798b3cb5b46b25092973f558623085644790d745d778d9532a80fbf836083f7e86ba8a7dbe1ad75a94b4b0012557b7ce8085
|
@@ -64,10 +64,13 @@ module Saml
|
|
64
64
|
{
|
65
65
|
AuthnInstant: now.iso8601,
|
66
66
|
SessionIndex: reference_id,
|
67
|
-
SessionNotOnOrAfter:
|
68
|
-
configuration.session_timeout.since(now).utc.iso8601,
|
67
|
+
SessionNotOnOrAfter: configuration.session_timeout.since(now).utc.iso8601,
|
69
68
|
}
|
70
69
|
end
|
70
|
+
|
71
|
+
def name_id_options
|
72
|
+
{ Format: name_id_format || Saml::Kit::Namespaces::UNSPECIFIED_NAMEID }
|
73
|
+
end
|
71
74
|
end
|
72
75
|
end
|
73
76
|
end
|
@@ -4,7 +4,7 @@ xml.Assertion(assertion_options) do
|
|
4
4
|
xml.Issuer issuer
|
5
5
|
signature_for(reference_id: reference_id, xml: xml)
|
6
6
|
xml.Subject do
|
7
|
-
xml.NameID name_id,
|
7
|
+
xml.NameID name_id, name_id_options
|
8
8
|
xml.SubjectConfirmation Method: Saml::Kit::Namespaces::BEARER do
|
9
9
|
xml.SubjectConfirmationData '', subject_confirmation_data_options
|
10
10
|
end
|
data/lib/saml/kit/version.rb
CHANGED