ims-lti 2.3.7 → 2.3.8
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/ims/lti/services/message_authenticator.rb +6 -2
- data/lib/ims/lti/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: ed1f42b055870fe4b2b472217452810f4568656e335efa174500bd84eba371c0
|
|
4
|
+
data.tar.gz: 032733b5bd9f7d1af7663038aff1ed90b9cb045f1a90f22b7e6a03bd78b62028
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afa633f7a98115e79970df5823cf9ba1bc31dffc153e9f7376a968aafc9ee50a34a4c77077e3bc7b6bf41d048af74e3346e8a77b502046c931e7d3c8cb4ff111
|
|
7
|
+
data.tar.gz: caa5c789ab065c56c2b095f14b1215bdeb3f6f6a0bc97f7e6b63d93ed1a1759466ac19c9c4008393ef3961a880b58487978b1714d24775a15a5cc8954129976a
|
|
@@ -14,7 +14,10 @@ module IMS::LTI::Services
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def valid_signature?
|
|
17
|
-
|
|
17
|
+
return valid_jwt? if message.jwt
|
|
18
|
+
return false if signature.nil?
|
|
19
|
+
|
|
20
|
+
simple_oauth_header.valid?
|
|
18
21
|
end
|
|
19
22
|
|
|
20
23
|
def message
|
|
@@ -33,7 +36,8 @@ module IMS::LTI::Services
|
|
|
33
36
|
@options.merge(
|
|
34
37
|
{
|
|
35
38
|
consumer_key: consumer_key,
|
|
36
|
-
consumer_secret: @secret
|
|
39
|
+
consumer_secret: @secret,
|
|
40
|
+
signature: signature
|
|
37
41
|
}
|
|
38
42
|
)
|
|
39
43
|
)
|
data/lib/ims/lti/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ims-lti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Instructure
|
|
@@ -324,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
324
324
|
- !ruby/object:Gem::Version
|
|
325
325
|
version: '0'
|
|
326
326
|
requirements: []
|
|
327
|
-
rubygems_version:
|
|
327
|
+
rubygems_version: 4.0.20
|
|
328
328
|
specification_version: 4
|
|
329
329
|
summary: Ruby library for creating IMS LTI tool providers and consumers
|
|
330
330
|
test_files: []
|