stytch 2.10.0 → 2.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/stytch/client.rb +1 -1
- data/lib/stytch/version.rb +1 -1
- data/lib/stytch.rb +0 -13
- 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: a7e1189f6fb15a13e7eca082c284fd13e96297000dcd4cad735620289a34ac2f
|
4
|
+
data.tar.gz: 922aed7238ccb9f2042afad0c506ca0ceeff30d1cc2905947fec5d3513051eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5786234e98901186751ad3c142365144e1587d83aa827c1f13c4bbbec7f2093a165af5e26aacab9a27069d280885f897c03ea245e8c4dfae03dd60716eaa832
|
7
|
+
data.tar.gz: 32a2c56b4cb0327ed95e0991bbb5dd2db32eb3a3eee4f8c21aba81b540a08a04a14d38931b52b476dfcb4353c7679346c15aafdf8d056532370f02e674bae491
|
data/README.md
CHANGED
@@ -57,7 +57,7 @@ client.magic_links.email.login_or_create(
|
|
57
57
|
Authenticate the token from the magic link:
|
58
58
|
```ruby
|
59
59
|
client.magic_links.authenticate(
|
60
|
-
token: "
|
60
|
+
token: "SeiGwdj5lKkrEVgcEY3QNJXt6srxS3IK2Nwkar6mXD4=",
|
61
61
|
)
|
62
62
|
```
|
63
63
|
|
data/lib/stytch/client.rb
CHANGED
data/lib/stytch/version.rb
CHANGED
data/lib/stytch.rb
CHANGED
@@ -8,16 +8,3 @@ require_relative 'stytch/middleware'
|
|
8
8
|
require_relative 'stytch/version'
|
9
9
|
|
10
10
|
module Stytch end
|
11
|
-
|
12
|
-
client = Stytch::Client.new(
|
13
|
-
env: :test,
|
14
|
-
project_id: "project-test-2a934f44-a014-425d-aa1d-76f2d0344db7",
|
15
|
-
secret: "secret-test-z5kbR31dkcTnocolLJT77gkyX9KJQeU9umg="
|
16
|
-
)
|
17
|
-
|
18
|
-
resp = client.totps.authenticate(
|
19
|
-
user_id: "user-test-fa9e1ba8-6786-4a7c-923f-a76a2b82e6a5",
|
20
|
-
totp_code: "021363",
|
21
|
-
session_token: "HLr0NGPZkyn7xA9Vc9XFjOIDjUafuTumOT6au3-PqM83",
|
22
|
-
)
|
23
|
-
puts resp
|
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: 2.10.
|
4
|
+
version: 2.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|