keypairs 1.3.2 → 1.3.3
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/keypair.rb +1 -1
- data/lib/keypairs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f204cbb9214023154fb4b23804e6a18b0e6bd929592616fe2cd12b2cd5a180ac
|
4
|
+
data.tar.gz: 487339606bd6d7f0d5b90628147e613784dec153165821172efe26565b4351ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38fc480ca4a36beee8c5b5c4658359c0cea284e66a6143e9a5cd8c51247d984b1bdd947b8b6f2e32243c94bd3d0212f7e6d27050cab0eda95140eb0b8be45676
|
7
|
+
data.tar.gz: c9b87af55f4f38a0397a89c25be5a8d7e82b1daa7bb7bd3ef5cd0094c05c8f12a6b7476b146d2d4fc8b8bac42443adedea7db866aa046b294a3f8722bac83ba3
|
data/lib/keypair.rb
CHANGED
@@ -119,7 +119,7 @@ class Keypair < ActiveRecord::Base
|
|
119
119
|
# @return [String] Encoded JWT token with security credentials.
|
120
120
|
# @param payload [Hash] Hash which should be encoded.
|
121
121
|
def self.jwt_encode_without_nonce(payload)
|
122
|
-
current.
|
122
|
+
current.jwt_encode(payload, {}, nonce: false)
|
123
123
|
end
|
124
124
|
|
125
125
|
# Decodes the payload and verifies the signature against the current valid keypairs.
|
data/lib/keypairs/version.rb
CHANGED