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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e96a33bee882eb21d22726513aac5a488ff88a0bd4cf3229dff028d942f167c5
4
- data.tar.gz: ec682c61ba49d5fa28304cf7eff937c9f418db588708a923f361e1a7fde38bfd
3
+ metadata.gz: caccb989844cfe680efb2a990f90797e011c17ccf9f591d97c289bc5b87a8697
4
+ data.tar.gz: d02be4dd057488124b08ba1a305a5fde3faf3c2f8f7bdfc559a1a808a469027c
5
5
  SHA512:
6
- metadata.gz: 6a0013b9cfa1e87d48fc05e367fb0042f36d3495d0c3bd57d6dfcde18b268cc76892ba3129340c72f8719ea5dc2796fad8879737b498cffcb48346b09eb697e3
7
- data.tar.gz: 6b581232dcfd75bab0d54b9915fa38a514c2cb9d059110a74aecd20170f78111819629a269d4b8ede7bcf0d89d3f92e04414503e6b8270b4ae6131abd0af6b39
6
+ metadata.gz: 392f9a8393e068074934f53a9414f7379f25ad88d9f029304dd44ee4e6d9873982a44f435875bf6fc5b7ebee5efabfa990d4ba86465170d20305cd83694af3f5
7
+ data.tar.gz: 92745e3a044a4e161753762de7b6c1eae1ceab2c2a939739ae1b4839b5cb8a89fd23e37fcdd5ced060c280f7e0e761928e5a440d77498231e406971629084c7d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- workos (5.4.0)
4
+ workos (5.5.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WorkOS
4
- VERSION = '5.4.0'
4
+ VERSION = '5.5.0'
5
5
  end
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.0
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-05 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler