stytch 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stytch/sessions.rb +3 -1
- data/lib/stytch/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: f219fb6d4229d63ba1b65af614d31cae64ab44e139e17babd3063147a44d49e7
|
4
|
+
data.tar.gz: 9d4180197e58f77c20019ea48178347f4f74b76c3260b1ba9d1cdb8df096abd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 686beb70fe69bf487b051a05a436c0dbd8b162a8b51423b3bdd05f20b32f11675568cc565526c974b5cd2437fe1b5ffb1c45def8ad92370ac99fabfc636e9ec4
|
7
|
+
data.tar.gz: 1663b04992bd745b83413175819ee8adaa950e487a028846dd77bd23e5d994dc889daedb9882decb045c21263dd0b2a6cb578653bc0d44ca7add548e07352da7
|
data/lib/stytch/sessions.rb
CHANGED
@@ -57,12 +57,14 @@ module Stytch
|
|
57
57
|
|
58
58
|
def revoke(
|
59
59
|
session_id: nil,
|
60
|
-
session_token: nil
|
60
|
+
session_token: nil,
|
61
|
+
session_jwt: nil
|
61
62
|
)
|
62
63
|
request = {}
|
63
64
|
|
64
65
|
request[:session_id] = session_id unless session_id.nil?
|
65
66
|
request[:session_token] = session_token unless session_token.nil?
|
67
|
+
request[:session_jwt] = session_jwt unless session_jwt.nil?
|
66
68
|
|
67
69
|
post_request("#{PATH}/revoke", request)
|
68
70
|
end
|
data/lib/stytch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stytch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|