workos 5.4.0 → 5.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/workos/user_management.rb +3 -0
- data/lib/workos/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: caccb989844cfe680efb2a990f90797e011c17ccf9f591d97c289bc5b87a8697
|
4
|
+
data.tar.gz: d02be4dd057488124b08ba1a305a5fde3faf3c2f8f7bdfc559a1a808a469027c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 392f9a8393e068074934f53a9414f7379f25ad88d9f029304dd44ee4e6d9873982a44f435875bf6fc5b7ebee5efabfa990d4ba86465170d20305cd83694af3f5
|
7
|
+
data.tar.gz: 92745e3a044a4e161753762de7b6c1eae1ceab2c2a939739ae1b4839b5cb8a89fd23e37fcdd5ced060c280f7e0e761928e5a440d77498231e406971629084c7d
|
data/Gemfile.lock
CHANGED
@@ -318,6 +318,7 @@ module WorkOS
|
|
318
318
|
#
|
319
319
|
# @param [String] refresh_token The refresh token previously obtained from a successful authentication call
|
320
320
|
# @param [String] client_id The WorkOS client ID for the environment
|
321
|
+
# @param [String] organization_id The organization to issue the new access token for. (Optional)
|
321
322
|
# @param [String] ip_address The IP address of the request from the user who is attempting to authenticate.
|
322
323
|
# @param [String] user_agent The user agent of the request from the user who is attempting to authenticate.
|
323
324
|
#
|
@@ -325,6 +326,7 @@ module WorkOS
|
|
325
326
|
def authenticate_with_refresh_token(
|
326
327
|
refresh_token:,
|
327
328
|
client_id:,
|
329
|
+
organization_id: nil,
|
328
330
|
ip_address: nil,
|
329
331
|
user_agent: nil
|
330
332
|
)
|
@@ -338,6 +340,7 @@ module WorkOS
|
|
338
340
|
ip_address: ip_address,
|
339
341
|
user_agent: user_agent,
|
340
342
|
grant_type: 'refresh_token',
|
343
|
+
organization_id: organization_id,
|
341
344
|
},
|
342
345
|
),
|
343
346
|
)
|
data/lib/workos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WorkOS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|