stytch 10.19.0 → 10.20.0
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_magic_links.rb +3 -0
- data/lib/stytch/b2b_otp.rb +6 -3
- data/lib/stytch/b2b_passwords.rb +11 -2
- data/lib/stytch/b2b_sessions.rb +6 -4
- data/lib/stytch/b2b_sso.rb +3 -0
- 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: c952f51df5bedbec2f8ea1a1067d4f48f6e286ad4d3995a637fbbd9d0f8d2fd2
|
4
|
+
data.tar.gz: f2aefae357b0bffc0d60766e0c135bb4d196f15d7eca7a85aba8a6c4cea6b9a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cbab2c8cec7e1f94a2573ff9e36abe59d511c75e773be046dfe9cd12fd0e17be70b6410581496a3d0a37ed40324fb1f8256628ed329ee3e62d0485efead885f
|
7
|
+
data.tar.gz: 633239b9adaa11ccb7dd0baabb7b5b8ff2259feca39284efee3809cf83cfef2171c317eb2917496ed54ee729174f347c6f240f24111b1b60ade90f9c08f1e1dd
|
@@ -124,6 +124,9 @@ module StytchB2B
|
|
124
124
|
# mfa_required::
|
125
125
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
126
126
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
127
|
+
# primary_required::
|
128
|
+
# (no documentation yet)
|
129
|
+
# The type of this field is nilable +PrimaryRequired+ (+object+).
|
127
130
|
def authenticate(
|
128
131
|
magic_links_token:,
|
129
132
|
pkce_code_verifier: nil,
|
data/lib/stytch/b2b_otp.rb
CHANGED
@@ -405,9 +405,6 @@ module StytchB2B
|
|
405
405
|
# session_jwt::
|
406
406
|
# The JSON Web Token (JWT) for a given Stytch Session.
|
407
407
|
# The type of this field is +String+.
|
408
|
-
# member_session::
|
409
|
-
# The [Session object](https://stytch.com/docs/b2b/api/session-object).
|
410
|
-
# The type of this field is +MemberSession+ (+object+).
|
411
408
|
# organization::
|
412
409
|
# The [Organization object](https://stytch.com/docs/b2b/api/organization-object).
|
413
410
|
# The type of this field is +Organization+ (+object+).
|
@@ -420,9 +417,15 @@ module StytchB2B
|
|
420
417
|
# status_code::
|
421
418
|
# 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.
|
422
419
|
# The type of this field is +Integer+.
|
420
|
+
# member_session::
|
421
|
+
# The [Session object](https://stytch.com/docs/b2b/api/session-object).
|
422
|
+
# The type of this field is nilable +MemberSession+ (+object+).
|
423
423
|
# mfa_required::
|
424
424
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
425
425
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
426
|
+
# primary_required::
|
427
|
+
# (no documentation yet)
|
428
|
+
# The type of this field is nilable +PrimaryRequired+ (+object+).
|
426
429
|
def authenticate(
|
427
430
|
organization_id:,
|
428
431
|
email_address:,
|
data/lib/stytch/b2b_passwords.rb
CHANGED
@@ -315,6 +315,9 @@ module StytchB2B
|
|
315
315
|
# mfa_required::
|
316
316
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
317
317
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
318
|
+
# primary_required::
|
319
|
+
# Information about the primary authentication requirements of the Organization.
|
320
|
+
# The type of this field is nilable +PrimaryRequired+ (+object+).
|
318
321
|
def authenticate(
|
319
322
|
organization_id:,
|
320
323
|
email_address:,
|
@@ -412,7 +415,7 @@ module StytchB2B
|
|
412
415
|
# Use a custom template for reset password emails. By default, it will use your default email template. The template must be a template using our built-in customizations or a custom HTML email for Passwords - Reset Password.
|
413
416
|
# The type of this field is nilable +String+.
|
414
417
|
# verify_email_template_id::
|
415
|
-
# Use a custom template for verification emails sent during password reset flows.
|
418
|
+
# Use a custom template for verification emails sent during password reset flows. When cross-organization passwords are enabled for your Project, this template will be used the first time a user sets a password via a
|
416
419
|
# password reset flow. By default, it will use your default email template. The template must be a template using our built-in customizations or a custom HTML email for Passwords - Email Verification.
|
417
420
|
# The type of this field is nilable +String+.
|
418
421
|
#
|
@@ -565,6 +568,9 @@ module StytchB2B
|
|
565
568
|
# mfa_required::
|
566
569
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
567
570
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
571
|
+
# primary_required::
|
572
|
+
# Information about the primary authentication requirements of the Organization.
|
573
|
+
# The type of this field is nilable +PrimaryRequired+ (+object+).
|
568
574
|
def reset(
|
569
575
|
password_reset_token:,
|
570
576
|
password:,
|
@@ -856,6 +862,9 @@ module StytchB2B
|
|
856
862
|
# mfa_required::
|
857
863
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
858
864
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
865
|
+
# primary_required::
|
866
|
+
# Information about the primary authentication requirements of the Organization.
|
867
|
+
# The type of this field is nilable +PrimaryRequired+ (+object+).
|
859
868
|
def reset(
|
860
869
|
email_address:,
|
861
870
|
existing_password:,
|
@@ -996,7 +1005,7 @@ module StytchB2B
|
|
996
1005
|
#
|
997
1006
|
# The type of this field is nilable +String+.
|
998
1007
|
# verify_email_template_id::
|
999
|
-
# Use a custom template for verification emails sent during password reset flows.
|
1008
|
+
# Use a custom template for verification emails sent during password reset flows. When cross-organization passwords are enabled for your Project, this template will be used the first time a user sets a password via a
|
1000
1009
|
# password reset flow. By default, it will use your default email template. The template must be a template using our built-in customizations or a custom HTML email for Passwords - Email Verification.
|
1001
1010
|
# The type of this field is nilable +String+.
|
1002
1011
|
#
|
data/lib/stytch/b2b_sessions.rb
CHANGED
@@ -293,9 +293,6 @@ module StytchB2B
|
|
293
293
|
# member_id::
|
294
294
|
# Globally unique UUID that identifies a specific Member.
|
295
295
|
# The type of this field is +String+.
|
296
|
-
# member_session::
|
297
|
-
# The [Session object](https://stytch.com/docs/b2b/api/session-object).
|
298
|
-
# The type of this field is +MemberSession+ (+object+).
|
299
296
|
# session_token::
|
300
297
|
# A secret token for a given Stytch Session.
|
301
298
|
# The type of this field is +String+.
|
@@ -317,6 +314,9 @@ module StytchB2B
|
|
317
314
|
# status_code::
|
318
315
|
# 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.
|
319
316
|
# The type of this field is +Integer+.
|
317
|
+
# member_session::
|
318
|
+
# The [Session object](https://stytch.com/docs/b2b/api/session-object).
|
319
|
+
# The type of this field is nilable +MemberSession+ (+object+).
|
320
320
|
# mfa_required::
|
321
321
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
322
322
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
@@ -347,7 +347,9 @@ module StytchB2B
|
|
347
347
|
# Use this endpoint to exchange a Connected Apps Access Token back into a Member Session for the underlying Member.
|
348
348
|
# This session can be used with the Stytch SDKs and APIs.
|
349
349
|
#
|
350
|
-
# The Access Token must contain the `full_access` scope and must not be more than 5 minutes old. Access Tokens may only be exchanged a single time.
|
350
|
+
# The Access Token must contain the `full_access` scope (only available to First Party clients) and must not be more than 5 minutes old. Access Tokens may only be exchanged a single time.
|
351
|
+
#
|
352
|
+
# The Member Session returned will be the same Member Session that was active in your application (the authorizing party) during the initial authorization flow.
|
351
353
|
#
|
352
354
|
# Because the Member previously completed MFA and satisfied all Organization authentication requirements at the time of the original Access Token issuance, this endpoint will never return an `intermediate_session_token` or require MFA.
|
353
355
|
#
|
data/lib/stytch/b2b_sso.rb
CHANGED
@@ -230,6 +230,9 @@ module StytchB2B
|
|
230
230
|
# mfa_required::
|
231
231
|
# Information about the MFA requirements of the Organization and the Member's options for fulfilling MFA.
|
232
232
|
# The type of this field is nilable +MfaRequired+ (+object+).
|
233
|
+
# primary_required::
|
234
|
+
# (no documentation yet)
|
235
|
+
# The type of this field is nilable +PrimaryRequired+ (+object+).
|
233
236
|
def authenticate(
|
234
237
|
sso_token:,
|
235
238
|
pkce_code_verifier: nil,
|
data/lib/stytch/sessions.rb
CHANGED
@@ -223,7 +223,9 @@ module Stytch
|
|
223
223
|
# Use this endpoint to exchange a Connected Apps Access Token back into a Stytch Session for the underlying User.
|
224
224
|
# This session can be used with the Stytch SDKs and APIs.
|
225
225
|
#
|
226
|
-
# The
|
226
|
+
# The Session returned will be the same Session that was active in your application (the authorizing party) during the initial authorization flow.
|
227
|
+
#
|
228
|
+
# The Access Token must contain the `full_access` scope (only available to First Party clients) and must not be more than 5 minutes old. Access Tokens may only be exchanged a single time.
|
227
229
|
#
|
228
230
|
# == Parameters:
|
229
231
|
# access_token::
|
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: 10.
|
4
|
+
version: 10.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|