saml-kit 1.0.18 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/kit/builders/assertion.rb +4 -1
- data/lib/saml/kit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7de3914506e622094ea275f1f1f98a0994931ab9779df6e58c47387558be511b
|
4
|
+
data.tar.gz: ea5497e11c1490e189a391354bfa8cc958ce758942cba8f139c3fc29540cf2ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cdd0a19b09784a1987cc9e16e98498ad6411b9b9f17bd31aaef0c4436de6dd0b8b543ee096eb7fa56abfddc9fdb55fb626abd55a44b6bd53b52e312fd14cd51
|
7
|
+
data.tar.gz: c79384552443f04600c30ff75f617ad88e3d3b3835e206299a99d8b773a57b20200e6f1f36ec206a0af6838cb97a50aacca9873302004e8ed7b2608ea0489b6f
|
@@ -13,9 +13,12 @@ module Saml
|
|
13
13
|
:request, :issuer, :reference_id, :now, :configuration, :user,
|
14
14
|
:version, :destination
|
15
15
|
|
16
|
+
attr_accessor :default_name_id_format
|
17
|
+
|
16
18
|
def initialize(response_builder, embed_signature)
|
17
19
|
@response_builder = response_builder
|
18
20
|
self.embed_signature = embed_signature
|
21
|
+
self.default_name_id_format = Saml::Kit::Namespaces::UNSPECIFIED_NAMEID
|
19
22
|
end
|
20
23
|
|
21
24
|
def name_id_format
|
@@ -69,7 +72,7 @@ module Saml
|
|
69
72
|
end
|
70
73
|
|
71
74
|
def name_id_options
|
72
|
-
{ Format: name_id_format ||
|
75
|
+
{ Format: name_id_format || default_name_id_format }
|
73
76
|
end
|
74
77
|
end
|
75
78
|
end
|
data/lib/saml/kit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mo khan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|