workos 0.9.0 → 1.0.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/.github/CODEOWNERS +5 -0
- data/.rubocop.yml +5 -1
- data/.ruby-version +1 -1
- data/.semaphore/semaphore.yml +8 -2
- data/Gemfile.lock +49 -36
- data/LICENSE +1 -1
- data/README.md +13 -167
- data/docs/WorkOS/SSO.html +235 -235
- data/docs/file.README.html +20 -20
- data/lib/workos/audit_trail.rb +1 -0
- data/lib/workos/client.rb +42 -4
- data/lib/workos/connection.rb +12 -3
- data/lib/workos/directory.rb +53 -0
- data/lib/workos/directory_group.rb +44 -0
- data/lib/workos/directory_sync.rb +63 -7
- data/lib/workos/directory_user.rb +63 -0
- data/lib/workos/organization.rb +0 -2
- data/lib/workos/organizations.rb +150 -0
- data/lib/workos/passwordless.rb +7 -2
- data/lib/workos/portal.rb +1 -87
- data/lib/workos/profile.rb +3 -6
- data/lib/workos/profile_and_token.rb +28 -0
- data/lib/workos/sso.rb +106 -65
- data/lib/workos/types/connection_struct.rb +3 -0
- data/lib/workos/types/directory_group_struct.rb +13 -0
- data/lib/workos/types/directory_struct.rb +16 -0
- data/lib/workos/types/directory_user_struct.rb +19 -0
- data/lib/workos/types/intent_enum.rb +1 -0
- data/lib/workos/types.rb +3 -0
- data/lib/workos/version.rb +1 -1
- data/lib/workos.rb +6 -0
- data/sorbet/rbi/gems/addressable.rbi +199 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/codecov.rbi +37 -0
- data/sorbet/rbi/gems/crack.rbi +62 -0
- data/sorbet/rbi/gems/docile.rbi +36 -0
- data/sorbet/rbi/gems/hashdiff.rbi +66 -0
- data/sorbet/rbi/gems/parallel.rbi +83 -0
- data/sorbet/rbi/gems/parser.rbi +1429 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +644 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
- data/sorbet/rbi/gems/rexml.rbi +628 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1127 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1355 -0
- data/sorbet/rbi/gems/rubocop.rbi +7253 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +406 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/vcr.rbi +572 -0
- data/sorbet/rbi/gems/webmock.rbi +556 -0
- data/sorbet/rbi/gems/yard.rbi +1165 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +2072 -0
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +1214 -0
- data/sorbet/rbi/todo.rbi +1 -3
- data/spec/lib/workos/audit_trail_spec.rb +0 -8
- data/spec/lib/workos/directory_sync_spec.rb +347 -40
- data/spec/lib/workos/organizations_spec.rb +164 -0
- data/spec/lib/workos/passwordless_spec.rb +1 -8
- data/spec/lib/workos/portal_spec.rb +17 -123
- data/spec/lib/workos/sso_spec.rb +230 -71
- data/spec/spec_helper.rb +2 -1
- data/spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml +2 -2
- data/spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/{list_directories_with_domain_param.yml → list_directories/with_domain.yml} +19 -9
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/{list_directories.yml → list_directories/with_no_options.yml} +1 -1
- data/spec/support/fixtures/vcr_cassettes/directory_sync/{list_users_with_directory_param.yml → list_directories/with_search.yml} +22 -11
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_after.yml +76 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_before.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_directory.yml +78 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_limit.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/{list_groups.yml → list_groups/with_no_options.yml} +16 -6
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_user.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_after.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_before.yml +75 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_directory.yml +93 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_group.yml +76 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_limit.yml +75 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/{list_users.yml → list_users/with_no_options.yml} +16 -6
- data/spec/support/fixtures/vcr_cassettes/organization/get.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/{directory_sync/list_groups_with_directory_param.yml → organization/get_invalid.yml} +21 -11
- data/spec/support/fixtures/vcr_cassettes/organization/update.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/organization/update_invalid.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_dsync.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/{generate_link.yml → generate_link_sso.yml} +1 -1
- data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml +70 -0
- data/spec/support/fixtures/vcr_cassettes/sso/{create_connection_with_invalid_source.yml → get_connection_with_invalid_id.yml} +26 -12
- data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_after.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_before.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_connection_type.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_domain.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_limit.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_no_options.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_organization_id.yml +72 -0
- data/workos.gemspec +2 -0
- metadata +122 -33
- data/CODEOWNERS +0 -1
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -24896
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -38411
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8684
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +0 -4222
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
- data/spec/support/fixtures/vcr_cassettes/sso/create_connection_with_valid_source.yml +0 -63
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.workos.com/connections
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- WorkOS; ruby/2.7.1; x86_64-darwin19; v0.10.3
|
|
18
|
+
Authorization:
|
|
19
|
+
- Bearer <API_KEY>
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Server:
|
|
26
|
+
- Cowboy
|
|
27
|
+
Connection:
|
|
28
|
+
- keep-alive
|
|
29
|
+
Vary:
|
|
30
|
+
- Origin, Accept-Encoding
|
|
31
|
+
Access-Control-Allow-Credentials:
|
|
32
|
+
- 'true'
|
|
33
|
+
Content-Security-Policy:
|
|
34
|
+
- 'default-src ''self'';base-uri ''self'';block-all-mixed-content;font-src ''self''
|
|
35
|
+
https: data:;frame-ancestors ''self'';img-src ''self'' data:;object-src ''none'';script-src
|
|
36
|
+
''self'';script-src-attr ''none'';style-src ''self'' https: ''unsafe-inline'';upgrade-insecure-requests'
|
|
37
|
+
X-Dns-Prefetch-Control:
|
|
38
|
+
- 'off'
|
|
39
|
+
Expect-Ct:
|
|
40
|
+
- max-age=0
|
|
41
|
+
X-Frame-Options:
|
|
42
|
+
- SAMEORIGIN
|
|
43
|
+
Strict-Transport-Security:
|
|
44
|
+
- max-age=15552000; includeSubDomains
|
|
45
|
+
X-Download-Options:
|
|
46
|
+
- noopen
|
|
47
|
+
X-Content-Type-Options:
|
|
48
|
+
- nosniff
|
|
49
|
+
X-Permitted-Cross-Domain-Policies:
|
|
50
|
+
- none
|
|
51
|
+
Referrer-Policy:
|
|
52
|
+
- no-referrer
|
|
53
|
+
X-Xss-Protection:
|
|
54
|
+
- '0'
|
|
55
|
+
X-Request-Id:
|
|
56
|
+
- bbcbfd7d-1236-4569-b210-533526aabc5c
|
|
57
|
+
Content-Type:
|
|
58
|
+
- application/json; charset=utf-8
|
|
59
|
+
Etag:
|
|
60
|
+
- W/"4663-woqacdTBQyrC5yRu6JmZzTcKGHg"
|
|
61
|
+
Date:
|
|
62
|
+
- Thu, 22 Apr 2021 22:27:16 GMT
|
|
63
|
+
Transfer-Encoding:
|
|
64
|
+
- chunked
|
|
65
|
+
Via:
|
|
66
|
+
- 1.1 vegur
|
|
67
|
+
body:
|
|
68
|
+
encoding: ASCII-8BIT
|
|
69
|
+
string: '{"data":[{"object":"connection","id":"conn_01EXSJNNJYDMAPMW4RGJFPSS8S","status":"linked","state":"active","name":"Gyres","connection_type":"AzureSAML","oidc_client_id":null,"oidc_client_secret":null,"oidc_discovery_endpoint":null,"oidc_redirect_uri":null,"saml_entity_id":"https://auth.workos.com/UkfpBFm8KYo80cWmAa8GsCMSQ","saml_idp_url":"https://login.microsoftonline.com/f2416a9f-8064-45fe-99b6-d68b320c33f5/saml2","saml_relying_party_private_key":null,"saml_relying_party_public_key":null,"saml_x509_certs":null,"organization_id":"org_01EXSJN9K761YW588FHMADPPFD","oauth_uid":null,"oauth_secret":null,"oauth_redirect_uri":null,"domains":[{"object":"connection_domain","id":"org_domain_01EXSJNNJNVVHRW1HSAMJ12J31","domain":"gyres.com"}]},{"object":"connection","id":"conn_01EXJ9WRWG2526AQNQQ55J6ZFX","status":"linked","state":"active","name":"Unique
|
|
70
|
+
Domain","connection_type":"AzureSAML","oidc_client_id":null,"oidc_client_secret":null,"oidc_discovery_endpoint":null,"oidc_redirect_uri":null,"saml_entity_id":"https://auth.workos.com/AM9h0jCQPmM4iWUCMqKIuEMEI","saml_idp_url":"https://login.microsoftonline.com/f2416a9f-8064-45fe-99b6-d68b320c33f5/saml2","saml_relying_party_private_key":null,"saml_relying_party_public_key":null,"saml_x509_certs":null,"organization_id":"org_01EXJ9W92SBSMZNZE05XFVTTHK","oauth_uid":null,"oauth_secret":null,"oauth_redirect_uri":null,"domains":[{"object":"connection_domain","id":"org_domain_01EXJ9WRWANA8WV370QJGE2PTW","domain":"uniquedomain.com"},{"object":"connection_domain","id":"org_domain_01EXPTAPN9NB4V2ZHNQ0ZFBCEA","domain":"newdomainn.com"}]},{"object":"connection","id":"conn_01EWDSQJNXM1M33MTVSQ2ZR5M5","status":"unlinked","state":"draft","name":"IBM","connection_type":"OktaSAML","oidc_client_id":null,"oidc_client_secret":null,"oidc_discovery_endpoint":null,"oidc_redirect_uri":null,"saml_entity_id":null,"saml_idp_url":null,"saml_relying_party_private_key":null,"saml_relying_party_public_key":null,"saml_x509_certs":null,"organization_id":"org_01EWDSPEYNG87X1KMBNA7315F7","oauth_uid":null,"oauth_secret":null,"oauth_redirect_uri":null,"domains":[{"object":"connection_domain","id":"org_domain_01EWDSQJNPD7J8RPJ3KQ98PPTJ","domain":"ibm.com"},{"object":"connection_domain","id":"org_domain_01EWDSQJNQXAFPVH7C8E0MM2C0","domain":"ibm.jp"}]}],"listMetadata":{"before":"before_id","after":null}}'
|
|
71
|
+
http_version:
|
|
72
|
+
recorded_at: Thu, 22 Apr 2021 22:27:16 GMT
|
|
73
|
+
recorded_with: VCR 5.0.0
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.workos.com/connections?organization_id=org_01EGS4P7QR31EZ4YWD1Z1XA176
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- WorkOS; ruby/2.7.1; x86_64-darwin19; v0.10.3
|
|
18
|
+
Authorization:
|
|
19
|
+
- Bearer <API_KEY>
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Server:
|
|
26
|
+
- Cowboy
|
|
27
|
+
Connection:
|
|
28
|
+
- keep-alive
|
|
29
|
+
Vary:
|
|
30
|
+
- Origin, Accept-Encoding
|
|
31
|
+
Access-Control-Allow-Credentials:
|
|
32
|
+
- 'true'
|
|
33
|
+
Content-Security-Policy:
|
|
34
|
+
- 'default-src ''self'';base-uri ''self'';block-all-mixed-content;font-src ''self''
|
|
35
|
+
https: data:;frame-ancestors ''self'';img-src ''self'' data:;object-src ''none'';script-src
|
|
36
|
+
''self'';script-src-attr ''none'';style-src ''self'' https: ''unsafe-inline'';upgrade-insecure-requests'
|
|
37
|
+
X-Dns-Prefetch-Control:
|
|
38
|
+
- 'off'
|
|
39
|
+
Expect-Ct:
|
|
40
|
+
- max-age=0
|
|
41
|
+
X-Frame-Options:
|
|
42
|
+
- SAMEORIGIN
|
|
43
|
+
Strict-Transport-Security:
|
|
44
|
+
- max-age=15552000; includeSubDomains
|
|
45
|
+
X-Download-Options:
|
|
46
|
+
- noopen
|
|
47
|
+
X-Content-Type-Options:
|
|
48
|
+
- nosniff
|
|
49
|
+
X-Permitted-Cross-Domain-Policies:
|
|
50
|
+
- none
|
|
51
|
+
Referrer-Policy:
|
|
52
|
+
- no-referrer
|
|
53
|
+
X-Xss-Protection:
|
|
54
|
+
- '0'
|
|
55
|
+
X-Request-Id:
|
|
56
|
+
- b54525cb-f608-4736-9a91-51a60fa20768
|
|
57
|
+
Content-Type:
|
|
58
|
+
- application/json; charset=utf-8
|
|
59
|
+
Etag:
|
|
60
|
+
- W/"858-uzKJUA8m8TqEzP1BIYcD7v5jWXc"
|
|
61
|
+
Date:
|
|
62
|
+
- Thu, 22 Apr 2021 22:27:18 GMT
|
|
63
|
+
Transfer-Encoding:
|
|
64
|
+
- chunked
|
|
65
|
+
Via:
|
|
66
|
+
- 1.1 vegur
|
|
67
|
+
body:
|
|
68
|
+
encoding: ASCII-8BIT
|
|
69
|
+
string: '{"data":[{"object":"connection","id":"conn_01EGS6E1K7YK1G380ADPHTDC4K","status":"linked","state":"active","name":"foochrop","connection_type":"GoogleSAML","oidc_client_id":null,"oidc_client_secret":null,"oidc_discovery_endpoint":null,"oidc_redirect_uri":null,"saml_entity_id":"http://www.okta.com/exk2nna6ce7sryESs4x7","saml_idp_url":"https://foo-corp.okta.com/app/foo-corp_workossandboxworkostestapp_1/exk2nna6ce7sryESs4x7/sso/saml","saml_relying_party_private_key":null,"saml_relying_party_public_key":null,"saml_x509_certs":null,"organization_id":"org_01EGS4P7QR31EZ4YWD1Z1XA176","oauth_uid":null,"oauth_secret":null,"oauth_redirect_uri":null,"domains":[{"object":"connection_domain","id":"org_domain_01EGS4P7RNQPFQAQ7SKCC40KNE","domain":"foo-corp.com"}]}],"listMetadata":{"before":null,"after":null}}'
|
|
70
|
+
http_version:
|
|
71
|
+
recorded_at: Thu, 22 Apr 2021 22:27:19 GMT
|
|
72
|
+
recorded_with: VCR 5.0.0
|
data/workos.gemspec
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: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- WorkOS
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sorbet-runtime
|
|
@@ -161,6 +161,7 @@ executables:
|
|
|
161
161
|
extensions: []
|
|
162
162
|
extra_rdoc_files: []
|
|
163
163
|
files:
|
|
164
|
+
- ".github/CODEOWNERS"
|
|
164
165
|
- ".github/renovate.json"
|
|
165
166
|
- ".gitignore"
|
|
166
167
|
- ".rspec"
|
|
@@ -168,7 +169,6 @@ files:
|
|
|
168
169
|
- ".ruby-version"
|
|
169
170
|
- ".semaphore/rubygems.yml"
|
|
170
171
|
- ".semaphore/semaphore.yml"
|
|
171
|
-
- CODEOWNERS
|
|
172
172
|
- Gemfile
|
|
173
173
|
- Gemfile.lock
|
|
174
174
|
- LICENSE
|
|
@@ -211,15 +211,23 @@ files:
|
|
|
211
211
|
- lib/workos/base.rb
|
|
212
212
|
- lib/workos/client.rb
|
|
213
213
|
- lib/workos/connection.rb
|
|
214
|
+
- lib/workos/directory.rb
|
|
215
|
+
- lib/workos/directory_group.rb
|
|
214
216
|
- lib/workos/directory_sync.rb
|
|
217
|
+
- lib/workos/directory_user.rb
|
|
215
218
|
- lib/workos/errors.rb
|
|
216
219
|
- lib/workos/organization.rb
|
|
220
|
+
- lib/workos/organizations.rb
|
|
217
221
|
- lib/workos/passwordless.rb
|
|
218
222
|
- lib/workos/portal.rb
|
|
219
223
|
- lib/workos/profile.rb
|
|
224
|
+
- lib/workos/profile_and_token.rb
|
|
220
225
|
- lib/workos/sso.rb
|
|
221
226
|
- lib/workos/types.rb
|
|
222
227
|
- lib/workos/types/connection_struct.rb
|
|
228
|
+
- lib/workos/types/directory_group_struct.rb
|
|
229
|
+
- lib/workos/types/directory_struct.rb
|
|
230
|
+
- lib/workos/types/directory_user_struct.rb
|
|
223
231
|
- lib/workos/types/intent_enum.rb
|
|
224
232
|
- lib/workos/types/list_struct.rb
|
|
225
233
|
- lib/workos/types/organization_struct.rb
|
|
@@ -228,17 +236,43 @@ files:
|
|
|
228
236
|
- lib/workos/types/provider_enum.rb
|
|
229
237
|
- lib/workos/version.rb
|
|
230
238
|
- sorbet/config
|
|
231
|
-
- sorbet/rbi/
|
|
232
|
-
- sorbet/rbi/
|
|
233
|
-
- sorbet/rbi/
|
|
239
|
+
- sorbet/rbi/gems/addressable.rbi
|
|
240
|
+
- sorbet/rbi/gems/ast.rbi
|
|
241
|
+
- sorbet/rbi/gems/codecov.rbi
|
|
242
|
+
- sorbet/rbi/gems/crack.rbi
|
|
243
|
+
- sorbet/rbi/gems/docile.rbi
|
|
244
|
+
- sorbet/rbi/gems/hashdiff.rbi
|
|
245
|
+
- sorbet/rbi/gems/parallel.rbi
|
|
246
|
+
- sorbet/rbi/gems/parser.rbi
|
|
247
|
+
- sorbet/rbi/gems/public_suffix.rbi
|
|
248
|
+
- sorbet/rbi/gems/rainbow.rbi
|
|
249
|
+
- sorbet/rbi/gems/rake.rbi
|
|
250
|
+
- sorbet/rbi/gems/regexp_parser.rbi
|
|
251
|
+
- sorbet/rbi/gems/rexml.rbi
|
|
252
|
+
- sorbet/rbi/gems/rspec-core.rbi
|
|
253
|
+
- sorbet/rbi/gems/rspec-expectations.rbi
|
|
254
|
+
- sorbet/rbi/gems/rspec-mocks.rbi
|
|
255
|
+
- sorbet/rbi/gems/rspec-support.rbi
|
|
256
|
+
- sorbet/rbi/gems/rspec.rbi
|
|
257
|
+
- sorbet/rbi/gems/rubocop-ast.rbi
|
|
258
|
+
- sorbet/rbi/gems/rubocop.rbi
|
|
259
|
+
- sorbet/rbi/gems/ruby-progressbar.rbi
|
|
260
|
+
- sorbet/rbi/gems/simplecov-html.rbi
|
|
261
|
+
- sorbet/rbi/gems/simplecov.rbi
|
|
262
|
+
- sorbet/rbi/gems/unicode-display_width.rbi
|
|
263
|
+
- sorbet/rbi/gems/vcr.rbi
|
|
264
|
+
- sorbet/rbi/gems/webmock.rbi
|
|
265
|
+
- sorbet/rbi/gems/yard.rbi
|
|
234
266
|
- sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi
|
|
235
|
-
- sorbet/rbi/sorbet-typed/lib/
|
|
236
|
-
- sorbet/rbi/sorbet-typed/lib/
|
|
237
|
-
- sorbet/rbi/sorbet-typed/lib/
|
|
267
|
+
- sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi
|
|
268
|
+
- sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi
|
|
269
|
+
- sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi
|
|
270
|
+
- sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi
|
|
238
271
|
- sorbet/rbi/todo.rbi
|
|
239
272
|
- spec/lib/workos/audit_trail_spec.rb
|
|
240
273
|
- spec/lib/workos/base_spec.rb
|
|
241
274
|
- spec/lib/workos/directory_sync_spec.rb
|
|
275
|
+
- spec/lib/workos/organizations_spec.rb
|
|
242
276
|
- spec/lib/workos/passwordless_spec.rb
|
|
243
277
|
- spec/lib/workos/portal_spec.rb
|
|
244
278
|
- spec/lib/workos/sso_spec.rb
|
|
@@ -250,27 +284,54 @@ files:
|
|
|
250
284
|
- spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_different_payload.yml
|
|
251
285
|
- spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml
|
|
252
286
|
- spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml
|
|
287
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml
|
|
253
288
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml
|
|
254
289
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml
|
|
255
290
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml
|
|
256
291
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_user_with_invalid_id.yml
|
|
257
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories.yml
|
|
258
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
259
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
260
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
261
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
262
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
292
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml
|
|
293
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml
|
|
294
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_domain.yml
|
|
295
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml
|
|
296
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_no_options.yml
|
|
297
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_search.yml
|
|
298
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_after.yml
|
|
299
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_before.yml
|
|
300
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_directory.yml
|
|
301
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_limit.yml
|
|
302
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_no_options.yml
|
|
303
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_user.yml
|
|
304
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_after.yml
|
|
305
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_before.yml
|
|
306
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_directory.yml
|
|
307
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_group.yml
|
|
308
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_limit.yml
|
|
309
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_no_options.yml
|
|
263
310
|
- spec/support/fixtures/vcr_cassettes/organization/create.yml
|
|
264
311
|
- spec/support/fixtures/vcr_cassettes/organization/create_invalid.yml
|
|
312
|
+
- spec/support/fixtures/vcr_cassettes/organization/get.yml
|
|
313
|
+
- spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml
|
|
265
314
|
- spec/support/fixtures/vcr_cassettes/organization/list.yml
|
|
315
|
+
- spec/support/fixtures/vcr_cassettes/organization/update.yml
|
|
316
|
+
- spec/support/fixtures/vcr_cassettes/organization/update_invalid.yml
|
|
266
317
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml
|
|
267
318
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
|
|
268
319
|
- spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml
|
|
269
320
|
- spec/support/fixtures/vcr_cassettes/passwordless/send_session_invalid.yml
|
|
270
|
-
- spec/support/fixtures/vcr_cassettes/portal/
|
|
321
|
+
- spec/support/fixtures/vcr_cassettes/portal/generate_link_dsync.yml
|
|
271
322
|
- spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml
|
|
272
|
-
- spec/support/fixtures/vcr_cassettes/
|
|
273
|
-
- spec/support/fixtures/vcr_cassettes/sso/
|
|
323
|
+
- spec/support/fixtures/vcr_cassettes/portal/generate_link_sso.yml
|
|
324
|
+
- spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml
|
|
325
|
+
- spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml
|
|
326
|
+
- spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml
|
|
327
|
+
- spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml
|
|
328
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_after.yml
|
|
329
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_before.yml
|
|
330
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_connection_type.yml
|
|
331
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_domain.yml
|
|
332
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_limit.yml
|
|
333
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_no_options.yml
|
|
334
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_organization_id.yml
|
|
274
335
|
- spec/support/profile.txt
|
|
275
336
|
- workos.gemspec
|
|
276
337
|
homepage: https://github.com/workos-inc/workos-ruby
|
|
@@ -278,29 +339,30 @@ licenses:
|
|
|
278
339
|
- MIT
|
|
279
340
|
metadata:
|
|
280
341
|
documentation_uri: https://docs.workos.com/sdk/ruby
|
|
281
|
-
post_install_message:
|
|
342
|
+
post_install_message:
|
|
282
343
|
rdoc_options: []
|
|
283
344
|
require_paths:
|
|
284
345
|
- lib
|
|
285
346
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
286
347
|
requirements:
|
|
287
|
-
- - "
|
|
348
|
+
- - "~>"
|
|
288
349
|
- !ruby/object:Gem::Version
|
|
289
|
-
version: '0'
|
|
350
|
+
version: '3.0'
|
|
290
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
291
352
|
requirements:
|
|
292
353
|
- - ">="
|
|
293
354
|
- !ruby/object:Gem::Version
|
|
294
355
|
version: '0'
|
|
295
356
|
requirements: []
|
|
296
|
-
rubygems_version: 3.
|
|
297
|
-
signing_key:
|
|
357
|
+
rubygems_version: 3.2.17
|
|
358
|
+
signing_key:
|
|
298
359
|
specification_version: 4
|
|
299
360
|
summary: API client for WorkOS
|
|
300
361
|
test_files:
|
|
301
362
|
- spec/lib/workos/audit_trail_spec.rb
|
|
302
363
|
- spec/lib/workos/base_spec.rb
|
|
303
364
|
- spec/lib/workos/directory_sync_spec.rb
|
|
365
|
+
- spec/lib/workos/organizations_spec.rb
|
|
304
366
|
- spec/lib/workos/passwordless_spec.rb
|
|
305
367
|
- spec/lib/workos/portal_spec.rb
|
|
306
368
|
- spec/lib/workos/sso_spec.rb
|
|
@@ -312,25 +374,52 @@ test_files:
|
|
|
312
374
|
- spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_different_payload.yml
|
|
313
375
|
- spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml
|
|
314
376
|
- spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml
|
|
377
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml
|
|
315
378
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml
|
|
316
379
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml
|
|
317
380
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml
|
|
318
381
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_user_with_invalid_id.yml
|
|
319
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories.yml
|
|
320
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
321
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
322
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
323
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
324
|
-
- spec/support/fixtures/vcr_cassettes/directory_sync/
|
|
382
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml
|
|
383
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml
|
|
384
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_domain.yml
|
|
385
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml
|
|
386
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_no_options.yml
|
|
387
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_search.yml
|
|
388
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_after.yml
|
|
389
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_before.yml
|
|
390
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_directory.yml
|
|
391
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_limit.yml
|
|
392
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_no_options.yml
|
|
393
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_user.yml
|
|
394
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_after.yml
|
|
395
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_before.yml
|
|
396
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_directory.yml
|
|
397
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_group.yml
|
|
398
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_limit.yml
|
|
399
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_no_options.yml
|
|
325
400
|
- spec/support/fixtures/vcr_cassettes/organization/create.yml
|
|
326
401
|
- spec/support/fixtures/vcr_cassettes/organization/create_invalid.yml
|
|
402
|
+
- spec/support/fixtures/vcr_cassettes/organization/get.yml
|
|
403
|
+
- spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml
|
|
327
404
|
- spec/support/fixtures/vcr_cassettes/organization/list.yml
|
|
405
|
+
- spec/support/fixtures/vcr_cassettes/organization/update.yml
|
|
406
|
+
- spec/support/fixtures/vcr_cassettes/organization/update_invalid.yml
|
|
328
407
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml
|
|
329
408
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
|
|
330
409
|
- spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml
|
|
331
410
|
- spec/support/fixtures/vcr_cassettes/passwordless/send_session_invalid.yml
|
|
332
|
-
- spec/support/fixtures/vcr_cassettes/portal/
|
|
411
|
+
- spec/support/fixtures/vcr_cassettes/portal/generate_link_dsync.yml
|
|
333
412
|
- spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml
|
|
334
|
-
- spec/support/fixtures/vcr_cassettes/
|
|
335
|
-
- spec/support/fixtures/vcr_cassettes/sso/
|
|
413
|
+
- spec/support/fixtures/vcr_cassettes/portal/generate_link_sso.yml
|
|
414
|
+
- spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml
|
|
415
|
+
- spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml
|
|
416
|
+
- spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml
|
|
417
|
+
- spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml
|
|
418
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_after.yml
|
|
419
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_before.yml
|
|
420
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_connection_type.yml
|
|
421
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_domain.yml
|
|
422
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_limit.yml
|
|
423
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_no_options.yml
|
|
424
|
+
- spec/support/fixtures/vcr_cassettes/sso/list_connections/with_organization_id.yml
|
|
336
425
|
- spec/support/profile.txt
|
data/CODEOWNERS
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@marktran
|