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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/spid/rack/login.rb +6 -1
- data/lib/spid/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: 1a7a11b70c24ab1e6d40359dd05c34cf4e5bfa0c785bdf988fb02f9c6c992c0b
|
4
|
+
data.tar.gz: e3864055608e4cba6a1f43d79e4ab02cf1caad03e29c5b978811d1b192740279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60ed65ef4c9d0c1eb8b295feb39b3113bf40042397da55b2e63d47772b6dec6be7bf46bc78f6064a36511d75cf935766258333f3989e3f144e5c24290a978c50
|
7
|
+
data.tar.gz: c569e171dfe3b1f4da07c3d4e8a0d5a4b1794cd31f3b449727b27f3221c566ed761a14fdc5cd22d0c930539a122fb527751fb2b3a13a381133828a04251ce69b
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
data/lib/spid/rack/login.rb
CHANGED
@@ -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
|
data/lib/spid/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|