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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74c208eacd57a4de167aff12ce910cb10089737d1b4252eff6b7e6a794e14a56
4
- data.tar.gz: 537d35286b97391c9411a9c49da98e970117c072b1966cee527fda168fc8bad7
3
+ metadata.gz: 260a13e8d6e591786c759cddf638b01b104d81a17f0454aff4111841ada9af96
4
+ data.tar.gz: af65f68c2820b1b64aee65ec0f6e5af6cb25ca6c61859b4effe924c8e5ca322e
5
5
  SHA512:
6
- metadata.gz: 3f3ae005200bbdcbe2f3e79d14e12f43da15b9bb3991da688bde07fef82b94905dbb57fc9c1209ed9410a1f50332c47dc36c24c9af8a50b07119ed40ee1f2823
7
- data.tar.gz: 78c674fdcc668a1be3667ed11de60a36fb95f2a49c72f973d8115d929ff845f16ad34ab3c59509dbc77fb0b110bbf28b704a646b079767b4a4412dbf2c1e3b7c
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 request
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.53'
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.53
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: 2024-11-28 00:00:00.000000000 Z
11
+ date: 2026-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix