stytch 3.1.0 → 3.1.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 +1 -1
- data/lib/stytch/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e91043619b43a9897c4df68cdfbdcff3153d21c09dcb0ba2fa0c7f7c2d8d2135
|
4
|
+
data.tar.gz: 5f925cecd213b77e7e5991b95016849d81cb9a017bc3f0bebbc62d53e8d6f562
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1066e9ee807780bbe7d1a5f255b844553615ed93889ca129320ec499e494acc98321bdc48c6ae47c7eaf2ddc9a9410bb9e2e81e4dd92a5e72a87a3178384fd25
|
7
|
+
data.tar.gz: d765dcf96b92bb7bdd65b0b710b27f94069635f61c3d74bdb376b7c8a086c7888f794c273bcb84617d1f2df2a737cbf2eedc5c50c3455b502c0a9371478df5d2
|
data/lib/stytch/sessions.rb
CHANGED
@@ -114,7 +114,7 @@ module Stytch
|
|
114
114
|
def marshal_jwt_into_session(jwt)
|
115
115
|
stytch_claim = "https://stytch.com/session"
|
116
116
|
return {
|
117
|
-
"session_id" => jwt["
|
117
|
+
"session_id" => jwt[stytch_claim]["id"],
|
118
118
|
"user_id" => jwt["sub"],
|
119
119
|
"started_at" => jwt[stytch_claim]["started_at"],
|
120
120
|
"last_accessed_at" => jwt[stytch_claim]["last_accessed_at"],
|
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: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -78,7 +78,7 @@ dependencies:
|
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: 1.13.0
|
81
|
-
description:
|
81
|
+
description:
|
82
82
|
email:
|
83
83
|
- support@stytch.com
|
84
84
|
executables: []
|
@@ -118,7 +118,7 @@ licenses:
|
|
118
118
|
metadata:
|
119
119
|
homepage_uri: https://stytch.com
|
120
120
|
source_code_uri: https://github.com/stytchauth/stytch-ruby
|
121
|
-
post_install_message:
|
121
|
+
post_install_message:
|
122
122
|
rdoc_options: []
|
123
123
|
require_paths:
|
124
124
|
- lib
|
@@ -133,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
-
signing_key:
|
136
|
+
rubygems_version: 3.1.6
|
137
|
+
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Stytch Ruby Gem
|
140
140
|
test_files: []
|