stytch 10.11.0 → 10.11.1
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/stytch/b2b_discovery.rb +1 -1
- data/lib/stytch/b2b_magic_links.rb +6 -2
- data/lib/stytch/b2b_organizations.rb +33 -33
- data/lib/stytch/b2b_otp.rb +6 -6
- data/lib/stytch/b2b_passwords.rb +7 -7
- data/lib/stytch/b2b_recovery_codes.rb +6 -6
- data/lib/stytch/b2b_scim.rb +8 -8
- data/lib/stytch/b2b_sessions.rb +4 -4
- data/lib/stytch/b2b_sso.rb +10 -10
- data/lib/stytch/b2b_totps.rb +6 -6
- data/lib/stytch/crypto_wallets.rb +1 -1
- data/lib/stytch/magic_links.rb +2 -2
- data/lib/stytch/oauth.rb +1 -1
- data/lib/stytch/otps.rb +3 -3
- data/lib/stytch/sessions.rb +1 -1
- data/lib/stytch/totps.rb +4 -4
- data/lib/stytch/users.rb +4 -4
- data/lib/stytch/version.rb +1 -1
- data/lib/stytch/webauthn.rb +9 -9
- 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: f8813da25b767802037b6606d40b3162d7f9662056b568ae7045085351f79c7c
|
4
|
+
data.tar.gz: 7f06f0905ac8a3fb31ed38f418a082dcea9ff83272bf9bdb51583ecfb2b611c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49c847a6c8de5d9d2daf9aa9cbed4a3883a334243518938272fe80cc437f97e7996b75f374edffd0b494070ebfacbe9ee5414c75941648cee818cbd825d165a1
|
7
|
+
data.tar.gz: 96f1d4f126272781a76e7172f48b9884332ade3f99d718111a9b85043be5756261d4338687b610d74f673a2d698505d83049347cceb7df99dbd5c70dbc91a820
|
data/lib/stytch/b2b_discovery.rb
CHANGED
@@ -47,7 +47,7 @@ module StytchB2B
|
|
47
47
|
# The Intermediate Session Token. This token does not necessarily belong to a specific instance of a Member, but represents a bag of factors that may be converted to a member session. The token can be used with the [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to complete an MFA flow and log in to the Organization. It can also be used with the [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) to join a specific Organization that allows the factors represented by the intermediate session token; or the [Create Organization via Discovery endpoint](https://stytch.com/docs/b2b/api/create-organization-via-discovery) to create a new Organization and Member.
|
48
48
|
# The type of this field is +String+.
|
49
49
|
# organization_id::
|
50
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
50
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
51
51
|
# The type of this field is +String+.
|
52
52
|
# session_duration_minutes::
|
53
53
|
# Set the session lifetime to be this many minutes from now. This will start a new session if one doesn't already exist,
|
@@ -184,7 +184,7 @@ module StytchB2B
|
|
184
184
|
#
|
185
185
|
# == Parameters:
|
186
186
|
# organization_id::
|
187
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
187
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
188
188
|
# The type of this field is +String+.
|
189
189
|
# email_address::
|
190
190
|
# The email address of the Member.
|
@@ -268,9 +268,13 @@ module StytchB2B
|
|
268
268
|
#
|
269
269
|
# The magic link invite will be valid for 1 week.
|
270
270
|
#
|
271
|
+
# ## Revoke an invite
|
272
|
+
#
|
273
|
+
# To revoke an existing invite, use the [Delete Member](https://stytch.com/docs/b2b/api/delete-member) endpoint. This will both delete the invited Member from the target Organization and revoke all existing invite emails.
|
274
|
+
#
|
271
275
|
# == Parameters:
|
272
276
|
# organization_id::
|
273
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
277
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
274
278
|
# The type of this field is +String+.
|
275
279
|
# email_address::
|
276
280
|
# The email address of the Member.
|
@@ -68,7 +68,7 @@ module StytchB2B
|
|
68
68
|
# The name of the Organization. Must be between 1 and 128 characters in length.
|
69
69
|
# The type of this field is +String+.
|
70
70
|
# organization_slug::
|
71
|
-
# The unique URL slug of the Organization. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. Must be between 2 and 128 characters in length.
|
71
|
+
# The unique URL slug of the Organization. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. Must be between 2 and 128 characters in length. Wherever an organization_id is expected in a path or request parameter, you may also use the organization_slug as a convenience.
|
72
72
|
# The type of this field is nilable +String+.
|
73
73
|
# organization_logo_url::
|
74
74
|
# The image URL of the Organization logo.
|
@@ -223,7 +223,7 @@ module StytchB2B
|
|
223
223
|
#
|
224
224
|
# == Parameters:
|
225
225
|
# organization_id::
|
226
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
226
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
227
227
|
# The type of this field is +String+.
|
228
228
|
#
|
229
229
|
# == Returns:
|
@@ -252,7 +252,7 @@ module StytchB2B
|
|
252
252
|
#
|
253
253
|
# == Parameters:
|
254
254
|
# organization_id::
|
255
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
255
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
256
256
|
# The type of this field is +String+.
|
257
257
|
# organization_name::
|
258
258
|
# The name of the Organization. Must be between 1 and 128 characters in length.
|
@@ -260,7 +260,7 @@ module StytchB2B
|
|
260
260
|
# If this field is provided and a session header is passed into the request, the Member Session must have permission to perform the `update.info.name` action on the `stytch.organization` Resource.
|
261
261
|
# The type of this field is nilable +String+.
|
262
262
|
# organization_slug::
|
263
|
-
# The unique URL slug of the Organization. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. Must be between 2 and 128 characters in length.
|
263
|
+
# The unique URL slug of the Organization. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. Must be between 2 and 128 characters in length. Wherever an organization_id is expected in a path or request parameter, you may also use the organization_slug as a convenience.
|
264
264
|
#
|
265
265
|
# If this field is provided and a session header is passed into the request, the Member Session must have permission to perform the `update.info.slug` action on the `stytch.organization` Resource.
|
266
266
|
# The type of this field is nilable +String+.
|
@@ -465,7 +465,7 @@ module StytchB2B
|
|
465
465
|
#
|
466
466
|
# == Parameters:
|
467
467
|
# organization_id::
|
468
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
468
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
469
469
|
# The type of this field is +String+.
|
470
470
|
#
|
471
471
|
# == Returns:
|
@@ -726,10 +726,10 @@ module StytchB2B
|
|
726
726
|
#
|
727
727
|
# == Parameters:
|
728
728
|
# organization_id::
|
729
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
729
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
730
730
|
# The type of this field is +String+.
|
731
731
|
# member_id::
|
732
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
732
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
733
733
|
# The type of this field is +String+.
|
734
734
|
# name::
|
735
735
|
# The name of the Member.
|
@@ -849,10 +849,10 @@ module StytchB2B
|
|
849
849
|
#
|
850
850
|
# == Parameters:
|
851
851
|
# organization_id::
|
852
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
852
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
853
853
|
# The type of this field is +String+.
|
854
854
|
# member_id::
|
855
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
855
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
856
856
|
# The type of this field is +String+.
|
857
857
|
#
|
858
858
|
# == Returns:
|
@@ -883,10 +883,10 @@ module StytchB2B
|
|
883
883
|
#
|
884
884
|
# == Parameters:
|
885
885
|
# organization_id::
|
886
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
886
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
887
887
|
# The type of this field is +String+.
|
888
888
|
# member_id::
|
889
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
889
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
890
890
|
# The type of this field is +String+.
|
891
891
|
#
|
892
892
|
# == Returns:
|
@@ -931,10 +931,10 @@ module StytchB2B
|
|
931
931
|
#
|
932
932
|
# == Parameters:
|
933
933
|
# organization_id::
|
934
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
934
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
935
935
|
# The type of this field is +String+.
|
936
936
|
# member_id::
|
937
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
937
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
938
938
|
# The type of this field is +String+.
|
939
939
|
#
|
940
940
|
# == Returns:
|
@@ -975,10 +975,10 @@ module StytchB2B
|
|
975
975
|
#
|
976
976
|
# == Parameters:
|
977
977
|
# organization_id::
|
978
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
978
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
979
979
|
# The type of this field is +String+.
|
980
980
|
# member_id::
|
981
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
981
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
982
982
|
# The type of this field is +String+.
|
983
983
|
#
|
984
984
|
# == Returns:
|
@@ -1072,7 +1072,7 @@ module StytchB2B
|
|
1072
1072
|
#
|
1073
1073
|
# == Parameters:
|
1074
1074
|
# organization_id::
|
1075
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1075
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1076
1076
|
# The type of this field is +String+.
|
1077
1077
|
# member_password_id::
|
1078
1078
|
# Globally unique UUID that identifies a Member's password.
|
@@ -1153,10 +1153,10 @@ module StytchB2B
|
|
1153
1153
|
#
|
1154
1154
|
# == Parameters:
|
1155
1155
|
# organization_id::
|
1156
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1156
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1157
1157
|
# The type of this field is +String+.
|
1158
1158
|
# member_id::
|
1159
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1159
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1160
1160
|
# The type of this field is +String+.
|
1161
1161
|
# include_refresh_token::
|
1162
1162
|
# Whether to return the refresh token Stytch has stored for the OAuth Provider. Defaults to false. **Important:** If your application exchanges the refresh token, Stytch may not be able to automatically refresh access tokens in the future.
|
@@ -1203,10 +1203,10 @@ module StytchB2B
|
|
1203
1203
|
#
|
1204
1204
|
# == Parameters:
|
1205
1205
|
# organization_id::
|
1206
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1206
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1207
1207
|
# The type of this field is +String+.
|
1208
1208
|
# member_id::
|
1209
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1209
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1210
1210
|
# The type of this field is +String+.
|
1211
1211
|
# email_id::
|
1212
1212
|
# The globally unique UUID of a Member's email.
|
@@ -1258,7 +1258,7 @@ module StytchB2B
|
|
1258
1258
|
#
|
1259
1259
|
# == Parameters:
|
1260
1260
|
# organization_id::
|
1261
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1261
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1262
1262
|
# The type of this field is +String+.
|
1263
1263
|
# email_address::
|
1264
1264
|
# The email address of the Member.
|
@@ -1345,10 +1345,10 @@ module StytchB2B
|
|
1345
1345
|
#
|
1346
1346
|
# == Parameters:
|
1347
1347
|
# organization_id::
|
1348
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1348
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1349
1349
|
# The type of this field is +String+.
|
1350
1350
|
# member_id::
|
1351
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1351
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1352
1352
|
# The type of this field is nilable +String+.
|
1353
1353
|
# email_address::
|
1354
1354
|
# The email address of the Member.
|
@@ -1404,10 +1404,10 @@ module StytchB2B
|
|
1404
1404
|
#
|
1405
1405
|
# == Parameters:
|
1406
1406
|
# organization_id::
|
1407
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1407
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1408
1408
|
# The type of this field is +String+.
|
1409
1409
|
# member_id::
|
1410
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1410
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1411
1411
|
# The type of this field is +String+.
|
1412
1412
|
# include_refresh_token::
|
1413
1413
|
# Whether to return the refresh token Stytch has stored for the OAuth Provider. Defaults to false. **Important:** If your application exchanges the refresh token, Stytch may not be able to automatically refresh access tokens in the future.
|
@@ -1461,10 +1461,10 @@ module StytchB2B
|
|
1461
1461
|
#
|
1462
1462
|
# == Parameters:
|
1463
1463
|
# organization_id::
|
1464
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1464
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1465
1465
|
# The type of this field is +String+.
|
1466
1466
|
# member_id::
|
1467
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1467
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1468
1468
|
# The type of this field is +String+.
|
1469
1469
|
# include_refresh_token::
|
1470
1470
|
# Whether to return the refresh token Stytch has stored for the OAuth Provider. Defaults to false. **Important:** If your application exchanges the refresh token, Stytch may not be able to automatically refresh access tokens in the future.
|
@@ -1517,10 +1517,10 @@ module StytchB2B
|
|
1517
1517
|
#
|
1518
1518
|
# == Parameters:
|
1519
1519
|
# organization_id::
|
1520
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1520
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1521
1521
|
# The type of this field is +String+.
|
1522
1522
|
# member_id::
|
1523
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1523
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1524
1524
|
# The type of this field is +String+.
|
1525
1525
|
#
|
1526
1526
|
# == Returns:
|
@@ -1553,10 +1553,10 @@ module StytchB2B
|
|
1553
1553
|
#
|
1554
1554
|
# == Parameters:
|
1555
1555
|
# organization_id::
|
1556
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1556
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1557
1557
|
# The type of this field is +String+.
|
1558
1558
|
# member_id::
|
1559
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1559
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1560
1560
|
# The type of this field is +String+.
|
1561
1561
|
# include_refresh_token::
|
1562
1562
|
# Whether to return the refresh token Stytch has stored for the OAuth Provider. Defaults to false. **Important:** If your application exchanges the refresh token, Stytch may not be able to automatically refresh access tokens in the future.
|
@@ -1595,10 +1595,10 @@ module StytchB2B
|
|
1595
1595
|
#
|
1596
1596
|
# == Parameters:
|
1597
1597
|
# organization_id::
|
1598
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
1598
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
1599
1599
|
# The type of this field is +String+.
|
1600
1600
|
# member_id::
|
1601
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
1601
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
1602
1602
|
# The type of this field is +String+.
|
1603
1603
|
# include_refresh_token::
|
1604
1604
|
# Whether to return the refresh token Stytch has stored for the OAuth Provider. Defaults to false. **Important:** If your application exchanges the refresh token, Stytch may not be able to automatically refresh access tokens in the future.
|
data/lib/stytch/b2b_otp.rb
CHANGED
@@ -49,10 +49,10 @@ module StytchB2B
|
|
49
49
|
#
|
50
50
|
# == Parameters:
|
51
51
|
# organization_id::
|
52
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
52
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
53
53
|
# The type of this field is +String+.
|
54
54
|
# member_id::
|
55
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
55
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
56
56
|
# The type of this field is +String+.
|
57
57
|
# mfa_phone_number::
|
58
58
|
# The phone number to send the OTP to. If the Member already has a phone number, this argument is not needed.
|
@@ -136,10 +136,10 @@ module StytchB2B
|
|
136
136
|
#
|
137
137
|
# == Parameters:
|
138
138
|
# organization_id::
|
139
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
139
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
140
140
|
# The type of this field is +String+.
|
141
141
|
# member_id::
|
142
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
142
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
143
143
|
# The type of this field is +String+.
|
144
144
|
# code::
|
145
145
|
# The code to authenticate.
|
@@ -255,7 +255,7 @@ module StytchB2B
|
|
255
255
|
#
|
256
256
|
# == Parameters:
|
257
257
|
# organization_id::
|
258
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
258
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
259
259
|
# The type of this field is +String+.
|
260
260
|
# email_address::
|
261
261
|
# The email address of the Member.
|
@@ -328,7 +328,7 @@ module StytchB2B
|
|
328
328
|
#
|
329
329
|
# == Parameters:
|
330
330
|
# organization_id::
|
331
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
331
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
332
332
|
# The type of this field is +String+.
|
333
333
|
# email_address::
|
334
334
|
# The email address of the Member.
|
data/lib/stytch/b2b_passwords.rb
CHANGED
@@ -103,7 +103,7 @@ module StytchB2B
|
|
103
103
|
# The password hash used. Currently `bcrypt`, `scrypt`, `argon_2i`, `argon2_id`, `md_5`, `sha_1`, and `pbkdf_2` are supported.
|
104
104
|
# The type of this field is +MigrateRequestHashType+ (string enum).
|
105
105
|
# organization_id::
|
106
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
106
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
107
107
|
# The type of this field is +String+.
|
108
108
|
# md_5_config::
|
109
109
|
# Optional parameters for MD-5 hash types.
|
@@ -226,7 +226,7 @@ module StytchB2B
|
|
226
226
|
#
|
227
227
|
# == Parameters:
|
228
228
|
# organization_id::
|
229
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
229
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
230
230
|
# The type of this field is +String+.
|
231
231
|
# email_address::
|
232
232
|
# The email address of the Member.
|
@@ -373,7 +373,7 @@ module StytchB2B
|
|
373
373
|
#
|
374
374
|
# == Parameters:
|
375
375
|
# organization_id::
|
376
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
376
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
377
377
|
# The type of this field is +String+.
|
378
378
|
# email_address::
|
379
379
|
# The email address of the Member to start the email reset process for.
|
@@ -593,10 +593,10 @@ module StytchB2B
|
|
593
593
|
# The email address of the Member to start the email reset process for.
|
594
594
|
# The type of this field is +String+.
|
595
595
|
# organization_id::
|
596
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
596
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
597
597
|
# The type of this field is nilable +String+.
|
598
598
|
# member_id::
|
599
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
599
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
600
600
|
# The type of this field is nilable +String+.
|
601
601
|
#
|
602
602
|
# == Returns:
|
@@ -647,7 +647,7 @@ module StytchB2B
|
|
647
647
|
#
|
648
648
|
# == Parameters:
|
649
649
|
# organization_id::
|
650
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
650
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
651
651
|
# The type of this field is +String+.
|
652
652
|
# password::
|
653
653
|
# The password to authenticate, reset, or set for the first time. Any UTF8 character is allowed, e.g. spaces, emojis, non-English characers, etc.
|
@@ -778,7 +778,7 @@ module StytchB2B
|
|
778
778
|
# The Member's elected new password.
|
779
779
|
# The type of this field is +String+.
|
780
780
|
# organization_id::
|
781
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
781
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
782
782
|
# The type of this field is +String+.
|
783
783
|
# session_token::
|
784
784
|
# A secret token for a given Stytch Session.
|
@@ -20,10 +20,10 @@ module StytchB2B
|
|
20
20
|
#
|
21
21
|
# == Parameters:
|
22
22
|
# organization_id::
|
23
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
23
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
24
24
|
# The type of this field is +String+.
|
25
25
|
# member_id::
|
26
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
26
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
27
27
|
# The type of this field is +String+.
|
28
28
|
# recovery_code::
|
29
29
|
# The recovery code generated by a secondary MFA method. This code is used to authenticate in place of the secondary MFA method if that method as a backup.
|
@@ -114,10 +114,10 @@ module StytchB2B
|
|
114
114
|
#
|
115
115
|
# == Parameters:
|
116
116
|
# organization_id::
|
117
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
117
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
118
118
|
# The type of this field is +String+.
|
119
119
|
# member_id::
|
120
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
120
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
121
121
|
# The type of this field is +String+.
|
122
122
|
#
|
123
123
|
# == Returns:
|
@@ -154,10 +154,10 @@ module StytchB2B
|
|
154
154
|
#
|
155
155
|
# == Parameters:
|
156
156
|
# organization_id::
|
157
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
157
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
158
158
|
# The type of this field is +String+.
|
159
159
|
# member_id::
|
160
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
160
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
161
161
|
# The type of this field is +String+.
|
162
162
|
#
|
163
163
|
# == Returns:
|
data/lib/stytch/b2b_scim.rb
CHANGED
@@ -182,7 +182,7 @@ module StytchB2B
|
|
182
182
|
#
|
183
183
|
# == Parameters:
|
184
184
|
# organization_id::
|
185
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
185
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
186
186
|
# The type of this field is +String+.
|
187
187
|
# connection_id::
|
188
188
|
# The ID of the SCIM connection.
|
@@ -233,7 +233,7 @@ module StytchB2B
|
|
233
233
|
#
|
234
234
|
# == Parameters:
|
235
235
|
# organization_id::
|
236
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
236
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
237
237
|
# The type of this field is +String+.
|
238
238
|
# connection_id::
|
239
239
|
# The ID of the SCIM connection.
|
@@ -267,7 +267,7 @@ module StytchB2B
|
|
267
267
|
#
|
268
268
|
# == Parameters:
|
269
269
|
# organization_id::
|
270
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
270
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
271
271
|
# The type of this field is +String+.
|
272
272
|
# connection_id::
|
273
273
|
# The ID of the SCIM connection.
|
@@ -303,7 +303,7 @@ module StytchB2B
|
|
303
303
|
#
|
304
304
|
# == Parameters:
|
305
305
|
# organization_id::
|
306
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
306
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
307
307
|
# The type of this field is +String+.
|
308
308
|
# connection_id::
|
309
309
|
# The ID of the SCIM connection.
|
@@ -339,7 +339,7 @@ module StytchB2B
|
|
339
339
|
#
|
340
340
|
# == Parameters:
|
341
341
|
# organization_id::
|
342
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
342
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
343
343
|
# The type of this field is +String+.
|
344
344
|
# connection_id::
|
345
345
|
# The ID of the SCIM connection.
|
@@ -375,7 +375,7 @@ module StytchB2B
|
|
375
375
|
#
|
376
376
|
# == Parameters:
|
377
377
|
# organization_id::
|
378
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
378
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
379
379
|
# The type of this field is +String+.
|
380
380
|
# connection_id::
|
381
381
|
# The ID of the SCIM connection.
|
@@ -422,7 +422,7 @@ module StytchB2B
|
|
422
422
|
#
|
423
423
|
# == Parameters:
|
424
424
|
# organization_id::
|
425
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
425
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
426
426
|
# The type of this field is +String+.
|
427
427
|
# display_name::
|
428
428
|
# A human-readable display name for the connection.
|
@@ -464,7 +464,7 @@ module StytchB2B
|
|
464
464
|
#
|
465
465
|
# == Parameters:
|
466
466
|
# organization_id::
|
467
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
467
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
468
468
|
# The type of this field is +String+.
|
469
469
|
#
|
470
470
|
# == Returns:
|
data/lib/stytch/b2b_sessions.rb
CHANGED
@@ -57,10 +57,10 @@ module StytchB2B
|
|
57
57
|
#
|
58
58
|
# == Parameters:
|
59
59
|
# organization_id::
|
60
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
60
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
61
61
|
# The type of this field is +String+.
|
62
62
|
# member_id::
|
63
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
63
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
64
64
|
# The type of this field is +String+.
|
65
65
|
#
|
66
66
|
# == Returns:
|
@@ -245,7 +245,7 @@ module StytchB2B
|
|
245
245
|
#
|
246
246
|
# == Parameters:
|
247
247
|
# organization_id::
|
248
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
248
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
249
249
|
# The type of this field is +String+.
|
250
250
|
# session_token::
|
251
251
|
# The `session_token` belonging to the member that you wish to associate the email with.
|
@@ -419,7 +419,7 @@ module StytchB2B
|
|
419
419
|
# The authorization token Stytch will pass in to the external userinfo endpoint.
|
420
420
|
# The type of this field is +String+.
|
421
421
|
# organization_id::
|
422
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
422
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
423
423
|
# The type of this field is +String+.
|
424
424
|
# session_duration_minutes::
|
425
425
|
# Set the session lifetime to be this many minutes from now. This will start a new session if one doesn't already exist,
|
data/lib/stytch/b2b_sso.rb
CHANGED
@@ -63,7 +63,7 @@ module StytchB2B
|
|
63
63
|
#
|
64
64
|
# == Parameters:
|
65
65
|
# organization_id::
|
66
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
66
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
67
67
|
# The type of this field is +String+.
|
68
68
|
#
|
69
69
|
# == Returns:
|
@@ -101,7 +101,7 @@ module StytchB2B
|
|
101
101
|
#
|
102
102
|
# == Parameters:
|
103
103
|
# organization_id::
|
104
|
-
# The organization ID that the SSO connection belongs to.
|
104
|
+
# The organization ID that the SSO connection belongs to. You may also use the organization_slug here as a convenience.
|
105
105
|
# The type of this field is +String+.
|
106
106
|
# connection_id::
|
107
107
|
# The ID of the SSO connection. SAML, OIDC, and External connection IDs can be provided.
|
@@ -304,7 +304,7 @@ module StytchB2B
|
|
304
304
|
#
|
305
305
|
# == Parameters:
|
306
306
|
# organization_id::
|
307
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
307
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
308
308
|
# The type of this field is +String+.
|
309
309
|
# display_name::
|
310
310
|
# A human-readable display name for the connection.
|
@@ -365,7 +365,7 @@ module StytchB2B
|
|
365
365
|
#
|
366
366
|
# == Parameters:
|
367
367
|
# organization_id::
|
368
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
368
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
369
369
|
# The type of this field is +String+.
|
370
370
|
# connection_id::
|
371
371
|
# Globally unique UUID that identifies a specific SSO `connection_id` for a Member.
|
@@ -545,7 +545,7 @@ module StytchB2B
|
|
545
545
|
#
|
546
546
|
# == Parameters:
|
547
547
|
# organization_id::
|
548
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
548
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
549
549
|
# The type of this field is +String+.
|
550
550
|
# display_name::
|
551
551
|
# A human-readable display name for the connection.
|
@@ -595,7 +595,7 @@ module StytchB2B
|
|
595
595
|
#
|
596
596
|
# == Parameters:
|
597
597
|
# organization_id::
|
598
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
598
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
599
599
|
# The type of this field is +String+.
|
600
600
|
# connection_id::
|
601
601
|
# Globally unique UUID that identifies a specific SSO `connection_id` for a Member.
|
@@ -703,7 +703,7 @@ module StytchB2B
|
|
703
703
|
#
|
704
704
|
# == Parameters:
|
705
705
|
# organization_id::
|
706
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
706
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
707
707
|
# The type of this field is +String+.
|
708
708
|
# connection_id::
|
709
709
|
# Globally unique UUID that identifies a specific SSO `connection_id` for a Member.
|
@@ -747,7 +747,7 @@ module StytchB2B
|
|
747
747
|
#
|
748
748
|
# == Parameters:
|
749
749
|
# organization_id::
|
750
|
-
# The organization ID that the SAML connection belongs to.
|
750
|
+
# The organization ID that the SAML connection belongs to. You may also use the organization_slug here as a convenience.
|
751
751
|
# The type of this field is +String+.
|
752
752
|
# connection_id::
|
753
753
|
# The ID of the SAML connection.
|
@@ -831,7 +831,7 @@ module StytchB2B
|
|
831
831
|
#
|
832
832
|
# == Parameters:
|
833
833
|
# organization_id::
|
834
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
834
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
835
835
|
# The type of this field is +String+.
|
836
836
|
# external_organization_id::
|
837
837
|
# Globally unique UUID that identifies a different Organization within your Project.
|
@@ -889,7 +889,7 @@ module StytchB2B
|
|
889
889
|
#
|
890
890
|
# == Parameters:
|
891
891
|
# organization_id::
|
892
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
892
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
893
893
|
# The type of this field is +String+.
|
894
894
|
# connection_id::
|
895
895
|
# Globally unique UUID that identifies a specific External SSO Connection.
|
data/lib/stytch/b2b_totps.rb
CHANGED
@@ -22,10 +22,10 @@ module StytchB2B
|
|
22
22
|
#
|
23
23
|
# == Parameters:
|
24
24
|
# organization_id::
|
25
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
25
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
26
26
|
# The type of this field is +String+.
|
27
27
|
# member_id::
|
28
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
28
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
29
29
|
# The type of this field is +String+.
|
30
30
|
# expiration_minutes::
|
31
31
|
# The expiration for the TOTP registration. If the newly created TOTP registration is not authenticated within this time frame the member will have to restart the registration flow. Defaults to 60 (1 hour) with a minimum of 5 and a maximum of 1440.
|
@@ -94,10 +94,10 @@ module StytchB2B
|
|
94
94
|
#
|
95
95
|
# == Parameters:
|
96
96
|
# organization_id::
|
97
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
97
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
98
98
|
# The type of this field is +String+.
|
99
99
|
# member_id::
|
100
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
100
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
101
101
|
# The type of this field is +String+.
|
102
102
|
# code::
|
103
103
|
# The code to authenticate.
|
@@ -200,10 +200,10 @@ module StytchB2B
|
|
200
200
|
#
|
201
201
|
# == Parameters:
|
202
202
|
# organization_id::
|
203
|
-
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
|
203
|
+
# Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug here as a convenience.
|
204
204
|
# The type of this field is +String+.
|
205
205
|
# member_id::
|
206
|
-
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
|
206
|
+
# Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.
|
207
207
|
# The type of this field is +String+.
|
208
208
|
# secret::
|
209
209
|
# The TOTP secret key shared between the authenticator app and the server used to generate TOTP codes.
|
@@ -31,7 +31,7 @@ module Stytch
|
|
31
31
|
# The crypto wallet address to authenticate.
|
32
32
|
# The type of this field is +String+.
|
33
33
|
# user_id::
|
34
|
-
# The unique ID of a specific User.
|
34
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
35
35
|
# The type of this field is nilable +String+.
|
36
36
|
# session_token::
|
37
37
|
# The `session_token` associated with a User's existing Session.
|
data/lib/stytch/magic_links.rb
CHANGED
@@ -127,7 +127,7 @@ module Stytch
|
|
127
127
|
#
|
128
128
|
# == Parameters:
|
129
129
|
# user_id::
|
130
|
-
# The unique ID of a specific User.
|
130
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
131
131
|
# The type of this field is +String+.
|
132
132
|
# expiration_minutes::
|
133
133
|
# Set the expiration for the Magic Link `token` in minutes. By default, it expires in 1 hour. The minimum expiration is 5 minutes and the maximum is 7 days (10080 mins).
|
@@ -206,7 +206,7 @@ module Stytch
|
|
206
206
|
# A base64url encoded SHA256 hash of a one time secret used to validate that the request starts and ends on the same device.
|
207
207
|
# The type of this field is nilable +String+.
|
208
208
|
# user_id::
|
209
|
-
# The unique ID of a specific User.
|
209
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
210
210
|
# The type of this field is nilable +String+.
|
211
211
|
# session_token::
|
212
212
|
# The `session_token` of the user to associate the email with.
|
data/lib/stytch/oauth.rb
CHANGED
@@ -29,7 +29,7 @@ module Stytch
|
|
29
29
|
# The OAuth provider's name.
|
30
30
|
# The type of this field is +String+.
|
31
31
|
# user_id::
|
32
|
-
# The unique ID of a specific User.
|
32
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
33
33
|
# The type of this field is nilable +String+.
|
34
34
|
# session_token::
|
35
35
|
# The `session_token` associated with a User's existing Session.
|
data/lib/stytch/otps.rb
CHANGED
@@ -161,7 +161,7 @@ module Stytch
|
|
161
161
|
#
|
162
162
|
# The type of this field is nilable +SendRequestLocale+ (string enum).
|
163
163
|
# user_id::
|
164
|
-
# The unique ID of a specific User.
|
164
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
165
165
|
# The type of this field is nilable +String+.
|
166
166
|
# session_token::
|
167
167
|
# The `session_token` associated with a User's existing Session.
|
@@ -324,7 +324,7 @@ module Stytch
|
|
324
324
|
#
|
325
325
|
# The type of this field is nilable +SendRequestLocale+ (string enum).
|
326
326
|
# user_id::
|
327
|
-
# The unique ID of a specific User.
|
327
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
328
328
|
# The type of this field is nilable +String+.
|
329
329
|
# session_token::
|
330
330
|
# The `session_token` associated with a User's existing Session.
|
@@ -476,7 +476,7 @@ module Stytch
|
|
476
476
|
#
|
477
477
|
# The type of this field is nilable +SendRequestLocale+ (string enum).
|
478
478
|
# user_id::
|
479
|
-
# The unique ID of a specific User.
|
479
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
480
480
|
# The type of this field is nilable +String+.
|
481
481
|
# session_token::
|
482
482
|
# The `session_token` associated with a User's existing Session.
|
data/lib/stytch/sessions.rb
CHANGED
@@ -37,7 +37,7 @@ module Stytch
|
|
37
37
|
#
|
38
38
|
# == Parameters:
|
39
39
|
# user_id::
|
40
|
-
# The `user_id` to get active Sessions for.
|
40
|
+
# The `user_id` to get active Sessions for. You may use an external_id here if one is set for the user.
|
41
41
|
# The type of this field is +String+.
|
42
42
|
#
|
43
43
|
# == Returns:
|
data/lib/stytch/totps.rb
CHANGED
@@ -20,7 +20,7 @@ module Stytch
|
|
20
20
|
#
|
21
21
|
# == Parameters:
|
22
22
|
# user_id::
|
23
|
-
# The `user_id` of an active user the TOTP registration should be tied to.
|
23
|
+
# The `user_id` of an active user the TOTP registration should be tied to. You may use an external_id here if one is set for the user.
|
24
24
|
# The type of this field is +String+.
|
25
25
|
# expiration_minutes::
|
26
26
|
# The expiration for the TOTP instance. If the newly created TOTP is not authenticated within this time frame the TOTP will be unusable. Defaults to 1440 (1 day) with a minimum of 5 and a maximum of 1440.
|
@@ -69,7 +69,7 @@ module Stytch
|
|
69
69
|
#
|
70
70
|
# == Parameters:
|
71
71
|
# user_id::
|
72
|
-
# The `user_id` of an active user the TOTP registration should be tied to.
|
72
|
+
# The `user_id` of an active user the TOTP registration should be tied to. You may use an external_id here if one is set for the user.
|
73
73
|
# The type of this field is +String+.
|
74
74
|
# totp_code::
|
75
75
|
# The TOTP code to authenticate. The TOTP code should consist of 6 digits.
|
@@ -151,7 +151,7 @@ module Stytch
|
|
151
151
|
#
|
152
152
|
# == Parameters:
|
153
153
|
# user_id::
|
154
|
-
# The `user_id` of an active user the TOTP registration should be tied to.
|
154
|
+
# The `user_id` of an active user the TOTP registration should be tied to. You may use an external_id here if one is set for the user.
|
155
155
|
# The type of this field is +String+.
|
156
156
|
#
|
157
157
|
# == Returns:
|
@@ -183,7 +183,7 @@ module Stytch
|
|
183
183
|
#
|
184
184
|
# == Parameters:
|
185
185
|
# user_id::
|
186
|
-
# The `user_id` of an active user the TOTP registration should be tied to.
|
186
|
+
# The `user_id` of an active user the TOTP registration should be tied to. You may use an external_id here if one is set for the user.
|
187
187
|
# The type of this field is +String+.
|
188
188
|
# recovery_code::
|
189
189
|
# The recovery code to authenticate.
|
data/lib/stytch/users.rb
CHANGED
@@ -94,7 +94,7 @@ module Stytch
|
|
94
94
|
#
|
95
95
|
# == Parameters:
|
96
96
|
# user_id::
|
97
|
-
# The unique ID of a specific User.
|
97
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
98
98
|
# The type of this field is +String+.
|
99
99
|
#
|
100
100
|
# == Returns:
|
@@ -211,7 +211,7 @@ module Stytch
|
|
211
211
|
#
|
212
212
|
# == Parameters:
|
213
213
|
# user_id::
|
214
|
-
# The unique ID of a specific User.
|
214
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
215
215
|
# The type of this field is +String+.
|
216
216
|
# name::
|
217
217
|
# The name of the user. Each field in the name object is optional.
|
@@ -276,7 +276,7 @@ module Stytch
|
|
276
276
|
#
|
277
277
|
# == Parameters:
|
278
278
|
# user_id::
|
279
|
-
# The unique ID of a specific User.
|
279
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
280
280
|
# The type of this field is +String+.
|
281
281
|
# email_address::
|
282
282
|
# The email address to exchange to.
|
@@ -316,7 +316,7 @@ module Stytch
|
|
316
316
|
#
|
317
317
|
# == Parameters:
|
318
318
|
# user_id::
|
319
|
-
# The unique ID of a specific User.
|
319
|
+
# The unique ID of a specific User. You may use an external_id here if one is set for the user.
|
320
320
|
# The type of this field is +String+.
|
321
321
|
#
|
322
322
|
# == Returns:
|
data/lib/stytch/version.rb
CHANGED
data/lib/stytch/webauthn.rb
CHANGED
@@ -26,7 +26,7 @@ module Stytch
|
|
26
26
|
#
|
27
27
|
# == Parameters:
|
28
28
|
# user_id::
|
29
|
-
# The `user_id` of an active user the Passkey or WebAuthn registration should be tied to.
|
29
|
+
# The `user_id` of an active user the Passkey or WebAuthn registration should be tied to. You may use an external_id here if one is set for the user.
|
30
30
|
# The type of this field is +String+.
|
31
31
|
# domain::
|
32
32
|
# The domain for Passkeys or WebAuthn. Defaults to `window.location.hostname`.
|
@@ -96,7 +96,7 @@ module Stytch
|
|
96
96
|
#
|
97
97
|
# == Parameters:
|
98
98
|
# user_id::
|
99
|
-
# The `user_id` of an active user the Passkey or WebAuthn registration should be tied to.
|
99
|
+
# The `user_id` of an active user the Passkey or WebAuthn registration should be tied to. You may use an external_id here if one is set for the user.
|
100
100
|
# The type of this field is +String+.
|
101
101
|
# public_key_credential::
|
102
102
|
# The response of the [navigator.credentials.create()](https://www.w3.org/TR/webauthn-2/#sctn-createCredential).
|
@@ -187,7 +187,7 @@ module Stytch
|
|
187
187
|
# The domain for Passkeys or WebAuthn. Defaults to `window.location.hostname`.
|
188
188
|
# The type of this field is +String+.
|
189
189
|
# user_id::
|
190
|
-
# The `user_id` of an active user the Passkey or WebAuthn registration should be tied to.
|
190
|
+
# The `user_id` of an active user the Passkey or WebAuthn registration should be tied to. You may use an external_id here if one is set for the user.
|
191
191
|
# The type of this field is nilable +String+.
|
192
192
|
# return_passkey_credential_options::
|
193
193
|
# If true, the `public_key_credential_creation_options` returned will be optimized for Passkeys with `userVerification` set to `"preferred"`.
|
@@ -350,19 +350,19 @@ module Stytch
|
|
350
350
|
# credentials::
|
351
351
|
# A list of WebAuthn credential objects.
|
352
352
|
# The type of this field is list of +WebAuthnCredential+ (+object+).
|
353
|
+
# request_id::
|
354
|
+
# Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
|
355
|
+
# The type of this field is +String+.
|
353
356
|
# status_code::
|
354
357
|
# The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
|
355
358
|
# The type of this field is +Integer+.
|
356
|
-
def
|
359
|
+
def list_credentials(
|
357
360
|
user_id:,
|
358
361
|
domain:
|
359
362
|
)
|
360
363
|
headers = {}
|
361
|
-
query_params = {
|
362
|
-
|
363
|
-
domain: domain
|
364
|
-
}
|
365
|
-
request = request_with_query_params('/v1/webauthn/credentials', query_params)
|
364
|
+
query_params = {}
|
365
|
+
request = request_with_query_params("/v1/webauthn/credentials/#{user_id}/#{domain}", query_params)
|
366
366
|
get_request(request, headers)
|
367
367
|
end
|
368
368
|
end
|
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: 10.11.
|
4
|
+
version: 10.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|