spid 0.17.1 → 0.17.2

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: ad2bb363e9655931185336c070f3d25a709b2d86aaf0bdd9cd4dae4202c1295c
4
- data.tar.gz: 1b24bd54b4e02243a49990be1770866d273fdd3a4053b477620a036b7dfb735a
3
+ metadata.gz: 1a7a11b70c24ab1e6d40359dd05c34cf4e5bfa0c785bdf988fb02f9c6c992c0b
4
+ data.tar.gz: e3864055608e4cba6a1f43d79e4ab02cf1caad03e29c5b978811d1b192740279
5
5
  SHA512:
6
- metadata.gz: 8c47af1c2bdc93e5b94c304e399678249ebe54a0185e0b3f095f3a33f87ef9b9054ed7417ab9d67792915cd8c12cc2b76058db5cd2233dca993be5a340811361
7
- data.tar.gz: 145ed20ece203b9fecb261d6de1edd709abba8c93ee89ee5a71ca80ac3211b7c2d683a2b913615a7a4ef794bd9f609a97939b20174267bde39301203de8675fa
6
+ metadata.gz: 60ed65ef4c9d0c1eb8b295feb39b3113bf40042397da55b2e63d47772b6dec6be7bf46bc78f6064a36511d75cf935766258333f3989e3f144e5c24290a978c50
7
+ data.tar.gz: c569e171dfe3b1f4da07c3d4e8a0d5a4b1794cd31f3b449727b27f3221c566ed761a14fdc5cd22d0c930539a122fb527751fb2b3a13a381133828a04251ce69b
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.17.2] - 2018-09-11
6
+ ### Fixed
7
+ - `Spid::Rack::Login` now use authn_context value
8
+
5
9
  ## [0.17.1] - 2018-09-10
6
10
  ### Changed
7
11
  - Identity Provider fetched by entity_id
@@ -138,7 +142,8 @@
138
142
  - Coveralls Integration
139
143
  - Rubygems version badge in README
140
144
 
141
- [Unreleased]: https://github.com/italia/spid-ruby/compare/v0.17.1...HEAD
145
+ [Unreleased]: https://github.com/italia/spid-ruby/compare/v0.17.2...HEAD
146
+ [0.17.2]: https://github.com/italia/spid-ruby/compare/v0.17.1...v0.17.2
142
147
  [0.17.1]: https://github.com/italia/spid-ruby/compare/v0.17.0...v0.17.1
143
148
  [0.17.0]: https://github.com/italia/spid-ruby/compare/v0.16.1...v0.17.0
144
149
  [0.16.1]: https://github.com/italia/spid-ruby/compare/v0.16.0...v0.16.1
@@ -48,7 +48,8 @@ module Spid
48
48
  Spid::Sso::Request.new(
49
49
  idp_name: idp_name,
50
50
  relay_state: relay_state,
51
- attribute_index: attribute_consuming_service_index
51
+ attribute_index: attribute_consuming_service_index,
52
+ authn_context: authn_context
52
53
  )
53
54
  end
54
55
  end
@@ -70,6 +71,10 @@ module Spid
70
71
  request.params["idp_name"]
71
72
  end
72
73
 
74
+ def authn_context
75
+ request.params["authn_context"] || Spid::L1
76
+ end
77
+
73
78
  def attribute_consuming_service_index
74
79
  request.params["attribute_index"] || "0"
75
80
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spid
4
- VERSION = "0.17.1"
4
+ VERSION = "0.17.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Librera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2018-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport