stytch 9.11.1 → 9.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67c4852f9d2c309dd74ecef7bf04bc20d626cdfebf41d1edc4d1ca22b8c21ac5
4
- data.tar.gz: 78598669744ab68e3d7b6f1353f6f7c3ce4ba9c0f51cfc133fdacf88bcb2cc27
3
+ metadata.gz: 7a7313c3d6a55f38477e50fd472aacfe0807de7125b96dcb677824274658f254
4
+ data.tar.gz: 5ba3af52897fcdff9fca9cf34c2f241ed00a4a52df529c908b167b5c7cf28e43
5
5
  SHA512:
6
- metadata.gz: 6c902ed37382e199a60891fe5084fe05b16e0d8930cd0b37368c16d02616bb705706775aafec4a41dfd0d20b6730caa66f8c54fd323c5889461c86ee9697b620
7
- data.tar.gz: dbf5815d64e1eb9ab95d0463f193537f9e306a813d5fae72f21792a37a5594a8305337dc7084663604750dce50b4203fb62da47e55a2aa850f5851e733bcb9d6
6
+ metadata.gz: 8519184ebd5bb875421a65dad85a84b0e10996e12eabbb4aa2ebdc8e2a1da27e932dc76e90232b428ef8ae1ddf9b20b550fde3c131842cb4e0b993c47ba5bac4
7
+ data.tar.gz: 0c33b69b60daa0997cb75ed0fca9455b733e135e732d30772f13a550ac48b5b15dd0b83a70de8685d5025ed395def6374de8412b97aa1cf981bc600acd4f6af7
@@ -370,7 +370,7 @@ module StytchB2B
370
370
  # will be returned, and any membership can be assumed by calling the [Exchange Session](https://stytch.com/docs/b2b/api/exchange-session) endpoint.
371
371
  #
372
372
  # When an Intermediate Session is passed in, all relationship types - `active_member`, `pending_member`, `invited_member`,
373
- # and `eligible_to_join_by_email_domain` - will be returned,
373
+ # `eligible_to_join_by_email_domain`, and `eligible_to_join_by_oauth_tenant` - will be returned,
374
374
  # and any membership can be assumed by calling the [Exchange Intermediate Session](https://stytch.com/docs/b2b/api/exchange-intermediate-session) endpoint.
375
375
  #
376
376
  # This endpoint requires either an `intermediate_session_token`, `session_jwt` or `session_token` be included in the request.
@@ -92,8 +92,7 @@ module StytchB2B
92
92
  # The email or device involved in the authentication.
93
93
  # The type of this field is +String+.
94
94
  # reset_sessions::
95
- # Indicates if all Sessions linked to the Member need to be reset. You should check this field if you aren't using
96
- # Stytch's Session product. If you are using Stytch's Session product, we revoke the Member’s other Sessions for you.
95
+ # This field is deprecated.
97
96
  # The type of this field is +Boolean+.
98
97
  # organization_id::
99
98
  # 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.
@@ -108,7 +108,7 @@ module StytchB2B
108
108
  # The [Organization object](https://stytch.com/docs/b2b/api/organization-object).
109
109
  # The type of this field is +Organization+ (+object+).
110
110
  # reset_sessions::
111
- # (no documentation yet)
111
+ # This field is deprecated.
112
112
  # The type of this field is +Boolean+.
113
113
  # member_authenticated::
114
114
  # Indicates whether the Member is fully authenticated. If false, the Member needs to complete an MFA step to log in to the Organization.
@@ -1032,10 +1032,21 @@ module StytchB2B
1032
1032
  # The returned Intermediate Session Token contains a password factor associated with the Member. If this value is non-empty, the member must complete an MFA step to finish logging in to the Organization. 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. Password factors are not transferable between Organizations, so the intermediate session token is not valid for use with discovery endpoints.
1033
1033
  # The type of this field is +String+.
1034
1034
  # email_address::
1035
- # (no documentation yet)
1035
+ # The email address.
1036
1036
  # The type of this field is +String+.
1037
1037
  # discovered_organizations::
1038
- # (no documentation yet)
1038
+ # An array of `discovered_organization` objects tied to the `intermediate_session_token`, `session_token`, or `session_jwt`. See the [Discovered Organization Object](https://stytch.com/docs/b2b/api/discovered-organization-object) for complete details.
1039
+ #
1040
+ # Note that Organizations will only appear here under any of the following conditions:
1041
+ # 1. The end user is already a Member of the Organization.
1042
+ # 2. The end user is invited to the Organization.
1043
+ # 3. The end user can join the Organization because:
1044
+ #
1045
+ # a) The Organization allows JIT provisioning.
1046
+ #
1047
+ # b) The Organizations' allowed domains list contains the Member's email domain.
1048
+ #
1049
+ # c) The Organization has at least one other Member with a verified email address with the same domain as the end user (to prevent phishing attacks).
1039
1050
  # The type of this field is list of +DiscoveredOrganization+ (+object+).
1040
1051
  # status_code::
1041
1052
  # 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.
@@ -476,7 +476,7 @@ module StytchB2B
476
476
  # 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.
477
477
  # The type of this field is +Integer+.
478
478
  # connection::
479
- # (no documentation yet)
479
+ # A [SCIM Connection](https://stytch.com/docs/b2b/api/scim-connection-object) connection belonging to the organization (currently limited to one).
480
480
  # The type of this field is nilable +SCIMConnection+ (+object+).
481
481
  #
482
482
  # == Method Options:
@@ -210,8 +210,7 @@ module StytchB2B
210
210
  # The JSON Web Token (JWT) for a given Stytch Session.
211
211
  # The type of this field is +String+.
212
212
  # reset_session::
213
- # Indicates if all Sessions linked to the Member need to be reset. You should check this field if you aren't using
214
- # Stytch's Session product. If you are using Stytch's Session product, we revoke the Member’s other Sessions for you.
213
+ # This field is deprecated.
215
214
  # The type of this field is +Boolean+.
216
215
  # organization::
217
216
  # The [Organization object](https://stytch.com/docs/b2b/api/organization-object).
@@ -27,7 +27,7 @@ module Stytch
27
27
  #
28
28
  # The redirect URL will look like `https://example.com/authenticate?stytch_token_type=magic_links&token=rM_kw42CWBhsHLF62V75jELMbvJ87njMe3tFVj7Qupu7`
29
29
  #
30
- # In the redirect URL, the `stytch_token_type` will be `magic_link`. See [here](https://stytch.com/docs/guides/dashboard/redirect-urls) for more detail.
30
+ # In the redirect URL, the `stytch_token_type` will be `magic_link`. See [here](/workspace-management/redirect-urls) for more detail.
31
31
  # The type of this field is +String+.
32
32
  # attributes::
33
33
  # Provided attributes help with fraud detection.
data/lib/stytch/oauth.rb CHANGED
@@ -72,7 +72,7 @@ module Stytch
72
72
  #
73
73
  # The redirect URL will look like `https://example.com/authenticate?stytch_token_type=oauth&token=rM_kw42CWBhsHLF62V75jELMbvJ87njMe3tFVj7Qupu7`
74
74
  #
75
- # In the redirect URL, the `stytch_token_type` will be `oauth`. See [here](https://stytch.com/docs/guides/dashboard/redirect-urls) for more detail.
75
+ # In the redirect URL, the `stytch_token_type` will be `oauth`. See [here](/workspace-management/redirect-urls) for more detail.
76
76
  # The type of this field is +String+.
77
77
  # session_token::
78
78
  # Reuse an existing session instead of creating a new one. If you provide us with a `session_token`, then we'll update the session represented by this session token with this OAuth factor. If this `session_token` belongs to a different user than the OAuth token, the session_jwt will be ignored. This endpoint will error if both `session_token` and `session_jwt` are provided.
@@ -453,7 +453,7 @@ module Stytch
453
453
  #
454
454
  # In the redirect URL, the `stytch_token_type` will be `login` or `reset_password`.
455
455
  #
456
- # See examples and read more about redirect URLs [here](https://stytch.com/docs/guides/dashboard/redirect-urls).
456
+ # See examples and read more about redirect URLs [here](/workspace-management/redirect-urls).
457
457
  # The type of this field is +String+.
458
458
  # password::
459
459
  # The password for the user. Any UTF8 character is allowed, e.g. spaces, emojis, non-English characers, etc.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '9.11.1'
4
+ VERSION = '9.12.0'
5
5
  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: 9.11.1
4
+ version: 9.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - stytch
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-25 00:00:00.000000000 Z
11
+ date: 2025-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -100,7 +100,7 @@ dependencies:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
102
  version: 2.24.0
103
- description:
103
+ description:
104
104
  email:
105
105
  - support@stytch.com
106
106
  executables: []
@@ -162,7 +162,7 @@ licenses:
162
162
  metadata:
163
163
  homepage_uri: https://stytch.com
164
164
  source_code_uri: https://github.com/stytchauth/stytch-ruby
165
- post_install_message:
165
+ post_install_message:
166
166
  rdoc_options: []
167
167
  require_paths:
168
168
  - lib
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubygems_version: 3.2.3
181
- signing_key:
181
+ signing_key:
182
182
  specification_version: 4
183
183
  summary: Stytch Ruby Gem
184
184
  test_files: []