devise_auth0_jwt_strategy 0.0.5 → 0.0.6
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/devise_auth0_jwt_strategy/strategy.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ed0d9e7109129d0d062d05c8c2bb5acc45dd909
|
|
4
|
+
data.tar.gz: 90fb3861bf1a21237a60598bf349cb98f9773457
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1044bb8673739596cdf590185023db7d2098b6e2eea4c85f2299844796ffc927e17decc410cb152e78c6435f058e35f936752b05614d90f18f41f1c3afb0dec4
|
|
7
|
+
data.tar.gz: e9e54804dbb3c0af58c0c6a34aa2b74d5726b179b377fe96e80d689c7608e6bc2f943cfd689794cd220336210877db13b2ef376bfef8f4d30ddc46a5162f1f70
|
|
@@ -42,6 +42,11 @@ module Devise
|
|
|
42
42
|
@jwt_token ||= ( params['jwt'] || jwt_from_auth_header )
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
# This login should be required on each request and not setup a session
|
|
46
|
+
def store?
|
|
47
|
+
false
|
|
48
|
+
end
|
|
49
|
+
|
|
45
50
|
def valid?
|
|
46
51
|
( auth0_client_secret? and auth0_client_id? and !!jwt_token )
|
|
47
52
|
end
|