spid-es 0.0.53 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/spid/ruby-saml/response.rb +7 -1
- data/spid-es.gemspec +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: 260a13e8d6e591786c759cddf638b01b104d81a17f0454aff4111841ada9af96
|
|
4
|
+
data.tar.gz: af65f68c2820b1b64aee65ec0f6e5af6cb25ca6c61859b4effe924c8e5ca322e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e80526df0c06424076ed14ac6888be57d80cd751af96b2ad90cdba1717531540d36e9011345633e5f02f7bb61e4d29c75854059e1138c1b2b55fc8b3af5d4e02
|
|
7
|
+
data.tar.gz: 3879698a322e5d15d5f48519c5f3c90ea90e1f37a780dc34580aa1cd84c38d4507614d420addafde2ec697d8299d823ebc280d64f1c9b8c96b98f52d9d27e207
|
|
@@ -231,12 +231,18 @@ module Spid
|
|
|
231
231
|
return node_cond_not_on_or_after.attributes["NotOnOrAfter"] unless node_cond_not_on_or_after.blank?
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
#ricavo l'issue instant della
|
|
234
|
+
#ricavo l'issue instant della assertion response
|
|
235
235
|
def assertion_authninstant
|
|
236
236
|
node_authn_statement = xpath_first_from_signed_assertion('/a:AuthnStatement')
|
|
237
237
|
return node_authn_statement.attributes["AuthnInstant"] unless node_authn_statement.blank?
|
|
238
238
|
end
|
|
239
239
|
|
|
240
|
+
#ricavo il session index della assertion response
|
|
241
|
+
def assertion_session_index
|
|
242
|
+
node_authn_statement = xpath_first_from_signed_assertion('/a:AuthnStatement')
|
|
243
|
+
return node_authn_statement.attributes["SessionIndex"] unless node_authn_statement.blank?
|
|
244
|
+
end
|
|
245
|
+
|
|
240
246
|
private
|
|
241
247
|
|
|
242
248
|
def validation_error(message)
|
data/spid-es.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'spid-es'
|
|
5
|
-
s.version = '0.0.
|
|
5
|
+
s.version = '0.0.54'
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Fabiano Pavan"]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spid-es
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.54
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabiano Pavan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: canonix
|