stytch 0.1.15 → 0.1.16
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/endpoints/magic.rb +0 -22
- 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: b5e74159b4ccdd160d7a8a599d61275e517a0df54f7c9b275b04270ca70e1cce
|
4
|
+
data.tar.gz: 4c4fe4ca458b8a9b2406dc91a8cb17aeee00a9f085d1d0901667bc56e9889f7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2776be6b39e2e79539ee725a443a5f219cd6908852d85615eb8827ae1612555fda1c7253741e4ae09f253e4d57c0c372a65dba233a5f578411743429d869b2ee
|
7
|
+
data.tar.gz: e3c11df26c21e8a7898fa652502781e63d0362bf2958338946318236351f3c83643d0e35cc773c77f27899e893833a6c3c9330168b7ab26ebaf50d430e3ac88c
|
data/README.md
CHANGED
@@ -61,28 +61,6 @@ module Stytch
|
|
61
61
|
post("#{PATH}/login_or_create", request)
|
62
62
|
end
|
63
63
|
|
64
|
-
def login_or_invite_by_email(
|
65
|
-
email:,
|
66
|
-
login_magic_link_url:,
|
67
|
-
invite_magic_link_url:,
|
68
|
-
login_expiration_minutes: nil,
|
69
|
-
invite_expiration_minutes: nil,
|
70
|
-
attributes: {}
|
71
|
-
)
|
72
|
-
|
73
|
-
request = {
|
74
|
-
email: email,
|
75
|
-
login_magic_link_url: login_magic_link_url,
|
76
|
-
invite_magic_link_url: invite_magic_link_url,
|
77
|
-
}
|
78
|
-
|
79
|
-
request[:login_expiration_minutes] = login_expiration_minutes if login_expiration_minutes != nil
|
80
|
-
request[:invite_expiration_minutes] = invite_expiration_minutes if invite_expiration_minutes != nil
|
81
|
-
request[:attributes] = attributes if attributes != {}
|
82
|
-
|
83
|
-
post("#{PATH}/login_or_invite", request)
|
84
|
-
end
|
85
|
-
|
86
64
|
def invite_by_email(
|
87
65
|
email:,
|
88
66
|
magic_link_url:,
|
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: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alex-stytch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|