stytch 10.39.0 → 10.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5b6536b2413740806ccad0a1bd83714be80a37e47a332f97eaf4bbf8896bc1f
4
- data.tar.gz: 7432afc39e2207fb1020d90c710d536d69088033a9a892e3e1bf9a5385310a2b
3
+ metadata.gz: faf04175b2b02718e01921a2a7ccead4a650f01c701d17052dca2fbfae1b5ae3
4
+ data.tar.gz: a2fc0646286d15c39fd9d190e25f2280642309b4d10ee3f1662928abd12d1923
5
5
  SHA512:
6
- metadata.gz: 425223ac3af73717f5d779b005091e159f976f5bc4b7d66d5f840efde714163e9898357536b3e7a00bedeb20e1c579ca04df9ee7e1969e90d7f8f3400763f34a
7
- data.tar.gz: 7bd7d8d1e07fe67a19be06d536ec66ee6fb2a2110989e5db2d0ee5cc86a75a154cbadfa9ec8d71701f5c97df37b241ba7707033f6988aeaf5898c0d985739f22
6
+ metadata.gz: dfc7e3ff2246923c0f66ae0da90b27a00a80c63128d669deb60b4db7a57254d9f07f316dd6f04f81632cfed908128e40569e8d78b435ad11b028efb066d7c965
7
+ data.tar.gz: d3c8a6636644365b3f852d93630a51d46600f62efe2612319b2eb78bef92b6aa91d9a4d02f2209f4ed2f5d3945e5ad77f150052e5d8936a2c359a6b85abdf822
@@ -441,6 +441,9 @@ module StytchB2B
441
441
  # code_challenge::
442
442
  # A base64url encoded challenge derived from the code verifier for PKCE flows.
443
443
  # The type of this field is nilable +String+.
444
+ # resources::
445
+ # (no documentation yet)
446
+ # The type of this field is nilable list of +String+.
444
447
  #
445
448
  # == Returns:
446
449
  # An object with the following fields:
@@ -469,7 +472,8 @@ module StytchB2B
469
472
  prompt: nil,
470
473
  state: nil,
471
474
  nonce: nil,
472
- code_challenge: nil
475
+ code_challenge: nil,
476
+ resources: nil
473
477
  )
474
478
  headers = {}
475
479
  request = {
@@ -487,6 +491,7 @@ module StytchB2B
487
491
  request[:state] = state unless state.nil?
488
492
  request[:nonce] = nonce unless nonce.nil?
489
493
  request[:code_challenge] = code_challenge unless code_challenge.nil?
494
+ request[:resources] = resources unless resources.nil?
490
495
 
491
496
  post_request('/v1/b2b/idp/oauth/authorize', request, headers)
492
497
  end
@@ -608,7 +608,7 @@ module StytchB2B
608
608
  end
609
609
 
610
610
  #
611
- # **Warning**: This endpoint is not recommended for use in login flows. Scaling issues may occur, as search performance may vary from ~150 milliseconds to 9 seconds depending on query complexity and rate limits are set to 100 requests/second.
611
+ # **Warning**: This endpoint is not recommended for use in login flows. Scaling issues may occur, as search performance may vary from ~150 milliseconds to 9 seconds depending on query complexity and rate limits are set to 100 requests/minute.
612
612
  #
613
613
  # Search across your Organizations. Returns an array of Organization objects.
614
614
  #
@@ -1268,7 +1268,7 @@ module StytchB2B
1268
1268
  end
1269
1269
 
1270
1270
  #
1271
- # **Warning**: This endpoint is not recommended for use in login flows. Scaling issues may occur, as search performance may vary from ~150 milliseconds to 9 seconds depending on query complexity and rate limits are set to 100 requests/second.
1271
+ # **Warning**: This endpoint is not recommended for use in login flows. Scaling issues may occur, as search performance may vary from ~150 milliseconds to 9 seconds depending on query complexity and rate limits are set to 100 requests/minute.
1272
1272
  #
1273
1273
  # Search for Members within specified Organizations. An array with at least one `organization_id` is required. Submitting an empty `query` returns all non-deleted Members within the specified Organizations.
1274
1274
  #
@@ -96,7 +96,7 @@ module StytchB2B
96
96
  #
97
97
  # Adds an existing password to a Member's email that doesn't have a password yet.
98
98
  #
99
- # We support migrating members from passwords stored with bcrypt, scrypt, argon2, MD-5, SHA-1, and PBKDF2. This endpoint has a rate limit of 100 requests per second.
99
+ # We support migrating members from passwords stored with bcrypt, scrypt, argon2, MD-5, SHA-1, SHA-512, and PBKDF2. This endpoint has a rate limit of 100 requests per second.
100
100
  #
101
101
  # The Member's email will be marked as verified when you use this endpoint.
102
102
  #
@@ -110,7 +110,7 @@ module StytchB2B
110
110
  # The password hash. For a Scrypt or PBKDF2 hash, the hash needs to be a base64 encoded string.
111
111
  # The type of this field is +String+.
112
112
  # hash_type::
113
- # The password hash used. Currently `bcrypt`, `scrypt`, `argon_2i`, `argon_2id`, `md_5`, `sha_1`, and `pbkdf_2` are supported.
113
+ # The password hash used. Currently `bcrypt`, `scrypt`, `argon_2i`, `argon_2id`, `md_5`, `sha_1`, `sha_512`, and `pbkdf_2` are supported.
114
114
  # The type of this field is +MigrateRequestHashType+ (string enum).
115
115
  # organization_id::
116
116
  # 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 or organization_external_id here as a convenience.
@@ -124,6 +124,9 @@ module StytchB2B
124
124
  # sha_1_config::
125
125
  # Optional parameters for SHA-1 hash types.
126
126
  # The type of this field is nilable +SHA1Config+ (+object+).
127
+ # sha_512_config::
128
+ # Optional parameters for SHA-512 hash types.
129
+ # The type of this field is nilable +SHA512Config+ (+object+).
127
130
  # scrypt_config::
128
131
  # Required parameters if the scrypt is not provided in a **PHC encoded form**.
129
132
  # The type of this field is nilable +ScryptConfig+ (+object+).
@@ -195,6 +198,7 @@ module StytchB2B
195
198
  md_5_config: nil,
196
199
  argon_2_config: nil,
197
200
  sha_1_config: nil,
201
+ sha_512_config: nil,
198
202
  scrypt_config: nil,
199
203
  pbkdf_2_config: nil,
200
204
  name: nil,
@@ -216,6 +220,7 @@ module StytchB2B
216
220
  request[:md_5_config] = md_5_config unless md_5_config.nil?
217
221
  request[:argon_2_config] = argon_2_config unless argon_2_config.nil?
218
222
  request[:sha_1_config] = sha_1_config unless sha_1_config.nil?
223
+ request[:sha_512_config] = sha_512_config unless sha_512_config.nil?
219
224
  request[:scrypt_config] = scrypt_config unless scrypt_config.nil?
220
225
  request[:pbkdf_2_config] = pbkdf_2_config unless pbkdf_2_config.nil?
221
226
  request[:name] = name unless name.nil?
data/lib/stytch/idp.rb CHANGED
@@ -414,6 +414,9 @@ module Stytch
414
414
  # code_challenge::
415
415
  # A base64url encoded challenge derived from the code verifier for PKCE flows.
416
416
  # The type of this field is nilable +String+.
417
+ # resources::
418
+ # (no documentation yet)
419
+ # The type of this field is nilable list of +String+.
417
420
  #
418
421
  # == Returns:
419
422
  # An object with the following fields:
@@ -441,7 +444,8 @@ module Stytch
441
444
  prompt: nil,
442
445
  state: nil,
443
446
  nonce: nil,
444
- code_challenge: nil
447
+ code_challenge: nil,
448
+ resources: nil
445
449
  )
446
450
  headers = {}
447
451
  request = {
@@ -458,6 +462,7 @@ module Stytch
458
462
  request[:state] = state unless state.nil?
459
463
  request[:nonce] = nonce unless nonce.nil?
460
464
  request[:code_challenge] = code_challenge unless code_challenge.nil?
465
+ request[:resources] = resources unless resources.nil?
461
466
 
462
467
  post_request('/v1/idp/oauth/authorize', request, headers)
463
468
  end
@@ -275,7 +275,7 @@ module Stytch
275
275
  post_request('/v1/passwords/strength_check', request, headers)
276
276
  end
277
277
 
278
- # Adds an existing password to a User's email that doesn't have a password yet. We support migrating users from passwords stored with `bcrypt`, `scrypt`, `argon2`, `MD-5`, `SHA-1`, or `PBKDF2`. This endpoint has a rate limit of 100 requests per second.
278
+ # Adds an existing password to a User's email that doesn't have a password yet. We support migrating users from passwords stored with `bcrypt`, `scrypt`, `argon2`, `MD-5`, `SHA-1`, `SHA-512`, or `PBKDF2`. This endpoint has a rate limit of 100 requests per second.
279
279
  #
280
280
  # == Parameters:
281
281
  # email::
@@ -285,7 +285,7 @@ module Stytch
285
285
  # The password hash. For a Scrypt or PBKDF2 hash, the hash needs to be a base64 encoded string.
286
286
  # The type of this field is +String+.
287
287
  # hash_type::
288
- # The password hash used. Currently `bcrypt`, `scrypt`, `argon_2i`, `argon_2id`, `md_5`, `sha_1`, and `pbkdf_2` are supported.
288
+ # The password hash used. Currently `bcrypt`, `scrypt`, `argon_2i`, `argon_2id`, `md_5`, `sha_1`, `sha_512`, and `pbkdf_2` are supported.
289
289
  # The type of this field is +MigrateRequestHashType+ (string enum).
290
290
  # md_5_config::
291
291
  # Optional parameters for MD-5 hash types.
@@ -296,6 +296,9 @@ module Stytch
296
296
  # sha_1_config::
297
297
  # Optional parameters for SHA-1 hash types.
298
298
  # The type of this field is nilable +SHA1Config+ (+object+).
299
+ # sha_512_config::
300
+ # Optional parameters for SHA-512 hash types.
301
+ # The type of this field is nilable +SHA512Config+ (+object+).
299
302
  # scrypt_config::
300
303
  # Required parameters if the scrypt is not provided in a [PHC encoded form](https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md#phc-string-format).
301
304
  # The type of this field is nilable +ScryptConfig+ (+object+).
@@ -358,6 +361,7 @@ module Stytch
358
361
  md_5_config: nil,
359
362
  argon_2_config: nil,
360
363
  sha_1_config: nil,
364
+ sha_512_config: nil,
361
365
  scrypt_config: nil,
362
366
  pbkdf_2_config: nil,
363
367
  trusted_metadata: nil,
@@ -378,6 +382,7 @@ module Stytch
378
382
  request[:md_5_config] = md_5_config unless md_5_config.nil?
379
383
  request[:argon_2_config] = argon_2_config unless argon_2_config.nil?
380
384
  request[:sha_1_config] = sha_1_config unless sha_1_config.nil?
385
+ request[:sha_512_config] = sha_512_config unless sha_512_config.nil?
381
386
  request[:scrypt_config] = scrypt_config unless scrypt_config.nil?
382
387
  request[:pbkdf_2_config] = pbkdf_2_config unless pbkdf_2_config.nil?
383
388
  request[:trusted_metadata] = trusted_metadata unless trusted_metadata.nil?
data/lib/stytch/users.rb CHANGED
@@ -184,7 +184,7 @@ module Stytch
184
184
  end
185
185
 
186
186
  #
187
- # **Warning**: This endpoint is not recommended for use in login flows. Scaling issues may occur, as search performance may vary from ~150 milliseconds to 9 seconds depending on query complexity and rate limits are set to 150 requests/second.
187
+ # **Warning**: This endpoint is not recommended for use in login flows. Scaling issues may occur, as search performance may vary from ~150 milliseconds to 9 seconds depending on query complexity and rate limits are set to 150 requests/minute.
188
188
  #
189
189
  # Search for Users within your Stytch Project.
190
190
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '10.39.0'
4
+ VERSION = '10.40.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: 10.39.0
4
+ version: 10.40.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-10-07 00:00:00.000000000 Z
11
+ date: 2025-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday