auth0 4.6.0 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/DEPLOYMENT.md +2 -1
- data/lib/auth0/api/v2/jobs.rb +43 -10
- data/lib/auth0/api/v2/resource_servers.rb +25 -0
- data/lib/auth0/api/v2/tickets.rb +26 -6
- data/lib/auth0/mixins/httpproxy.rb +8 -1
- data/lib/auth0/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_export_users_and_get_job/should_create_an_export_users_job_successfully.yml +61 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_export_users_and_get_job/should_get_the_export_users_job.yml +117 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_import_users_and_get_job/should_create_an_import_users_job_successfully.yml +60 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_import_users_and_get_job/should_get_the_import_users_job.yml +116 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_create_a_new_verification_email_job.yml +119 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_get_the_completed_verification_email.yml +175 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_reject_an_invalid_client_id.yml +109 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/delete_imported_user.yml +110 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/search_for_connection_id.yml +59 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_delete_resource_server/should_delete_the_test_server_without_an_error.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_patch_resource_server/should_update_the_resource_server_with_the_correct_attributes.yml +61 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_server/should_get_the_test_server.yml +9 -14
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_get_the_test_server.yml +59 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_return_at_least_1_result.yml +59 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_return_the_first_page_of_one_result.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/create_test_server.yml +7 -12
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/delete_test_server.yml +8 -8
- data/spec/integration/lib/auth0/api/v2/api_email_spec.rb +2 -2
- data/spec/integration/lib/auth0/api/v2/api_jobs_spec.rb +101 -60
- data/spec/integration/lib/auth0/api/v2/api_resource_servers_spec.rb +38 -0
- data/spec/lib/auth0/api/v2/jobs_spec.rb +48 -5
- data/spec/lib/auth0/api/v2/resource_servers_spec.rb +23 -0
- data/spec/lib/auth0/api/v2/tickets_spec.rb +10 -4
- data/spec/spec_helper.rb +1 -1
- metadata +35 -10
@@ -0,0 +1,110 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/users?q=email:rubytest*
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Auth0-Client:
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
|
+
Authorization:
|
21
|
+
- Bearer API_TOKEN
|
22
|
+
Host:
|
23
|
+
- auth0-sdk-tests.auth0.com
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Wed, 27 Feb 2019 16:13:18 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '10'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '4'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1551284002'
|
43
|
+
Vary:
|
44
|
+
- origin,accept-encoding
|
45
|
+
Cache-Control:
|
46
|
+
- private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
47
|
+
Content-Encoding:
|
48
|
+
- gzip
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15724800
|
51
|
+
X-Robots-Tag:
|
52
|
+
- noindex, nofollow, nosnippet, noarchive
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |-
|
56
|
+
H4sIAAAAAAAAA7WWXW/TMBSG/0skuNoyfzuuNAE3XCMBN0xTdWIft9lWp3LSAYL9d5yuW7eRVDQLUi9s+cRu3ueJ7YtfGa6guslmWdyUP1tsWlitIdbv8Udq3GAesM1OsgArTDX3Y6m/fWh+i7HyFbps5uGmwZNss3bQoptDm4oZoeaUsFOmv1A1I3ImSc6k/JYe3zQY55XrZty0S/JbWq1KKZFoXRitrXaeCml9Kl1Xtt3EbvFl266b2dlZky8i3EILMbf16uy+eebLwnmUjGgKJaU8dYhykhVYoETN3jXnoiBv4/l68dadb+d6wz+8YR/Tz7qQb/9IN2Hq30/ZdK1Vvg6LLoDKXu9CeB5UGqschrZqK2yy2cWvzNYhoG2rOqTir+lNu+dOP0HTfK+jO/2QFurqLWxLnoZxKIZY36Z14kNk3bLN59pWcLNL/+7yJLMR/yH/u5O/qdtlrJp+6NuhUcwpmVGVSy0GmStVEKE9gCZeWeq8oUcw5+iVkWXBuAYGxvpCllLYgjDvjSrEOOZ2Ocz8IYtpkQ+k8FrkT+LvQ34NAZsl9EPfDY7GrnNGyQHs5rnjaI/AbphCQEOkU14T5NyxBNuysrSeK03HYb+GYez7NKYG35vDFOB3APrAx3oF4RF7ymGPfTv0CuhGmIPQn1vOjoCOBmVptNM07fTCcy5MAQK8dyUthRz5rcd6GPpDFtMj70lhGuTb+PuQQ2jrUNVzCNeb4KqwGDjfX5aNU4F3+w7RalAFTe1z7707QgXh0WjwSYJCCp9mA4mKSC6QkJJKP/KoDweO+p5cptViIJFXa7FH0afFEmNyPMxd2t8ejajjYm9EN5Lvyl4hgybDh0F6dSuhsJA+DQ5aKwvH3PuIoqVPtz1QyDgKJylKQJ9mlYSokfc+d+AweBra//CgL4xpPNhS6PPgCsL8ql6GJmne78HTitEe6FwLfsAD9+LVy2PuglpozlNcThiFvOBQpMu/YqUXRktnxnlwdcCDF5FM7UFvGFN4sKNwd/kHrc27Y/0NAAA=
|
57
|
+
http_version:
|
58
|
+
recorded_at: Wed, 27 Feb 2019 16:13:18 GMT
|
59
|
+
- request:
|
60
|
+
method: delete
|
61
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5c76b55e0778977c7df145cf
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers:
|
66
|
+
Accept:
|
67
|
+
- "*/*"
|
68
|
+
Accept-Encoding:
|
69
|
+
- gzip, deflate
|
70
|
+
User-Agent:
|
71
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
74
|
+
Auth0-Client:
|
75
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
76
|
+
Authorization:
|
77
|
+
- Bearer API_TOKEN
|
78
|
+
Host:
|
79
|
+
- auth0-sdk-tests.auth0.com
|
80
|
+
response:
|
81
|
+
status:
|
82
|
+
code: 204
|
83
|
+
message: No Content
|
84
|
+
headers:
|
85
|
+
Date:
|
86
|
+
- Wed, 27 Feb 2019 16:13:18 GMT
|
87
|
+
Content-Type:
|
88
|
+
- application/json; charset=utf-8
|
89
|
+
Connection:
|
90
|
+
- keep-alive
|
91
|
+
X-Ratelimit-Limit:
|
92
|
+
- '10'
|
93
|
+
X-Ratelimit-Remaining:
|
94
|
+
- '3'
|
95
|
+
X-Ratelimit-Reset:
|
96
|
+
- '1551284002'
|
97
|
+
Vary:
|
98
|
+
- origin,accept-encoding
|
99
|
+
Cache-Control:
|
100
|
+
- private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
101
|
+
Strict-Transport-Security:
|
102
|
+
- max-age=15724800
|
103
|
+
X-Robots-Tag:
|
104
|
+
- noindex, nofollow, nosnippet, noarchive
|
105
|
+
body:
|
106
|
+
encoding: UTF-8
|
107
|
+
string: ''
|
108
|
+
http_version:
|
109
|
+
recorded_at: Wed, 27 Feb 2019 16:13:18 GMT
|
110
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/connections
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Auth0-Client:
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
|
+
Authorization:
|
21
|
+
- Bearer API_TOKEN
|
22
|
+
Host:
|
23
|
+
- auth0-sdk-tests.auth0.com
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Wed, 27 Feb 2019 16:13:11 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '10'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '9'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1551283992'
|
43
|
+
Vary:
|
44
|
+
- origin,accept-encoding
|
45
|
+
Cache-Control:
|
46
|
+
- private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
47
|
+
Content-Encoding:
|
48
|
+
- gzip
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15724800
|
51
|
+
X-Robots-Tag:
|
52
|
+
- noindex, nofollow, nosnippet, noarchive
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |-
|
56
|
+
H4sIAAAAAAAAA+1W33OqOhD+X3imM4Ao2jdrtVVba1Wq9kwnE5IAqUCABPxx5vzvJ6i1wrFzOnPv0537osO3Xza7m823+fFToVi5VhCLwGMQ1h43T5N6Jhb6fJorqsJiQVnEleufSujC4g8iQXOiXIs0I6qSEpGlESBRyoIAcCIEjTx+sP5SlRhyvmYpHrOAoq3cxmMMS7eYcugEBHDqRVmsXLsw4HtvSUZTwkHGSRrBkJwsTpoJAlyWIgLilAmCirg+ouAihYJ4W5CTlO9x49cnKreFmfA1ue/BpzIjXMgvygFmIaQRkNlHHy5PscAglJn8OLDfVIVERcwYoICSSOxNBormWeY1drC30N81j+jjVuu9bUdaz1xMs77y9ks9K/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Ut6ov4hJOplBVFL0qGeh1Oe8a48u6J3P8f8GfLNcX5acXFslwV/3IIzrdH18plmkT6alwW/pMMnkS7V78eR9Gl/K2ckH5FeQK5Y8XoxPtOqwt/Mrbzs/3fJf/hd8vYbF9Qi/e4MAAA=
|
57
|
+
http_version:
|
58
|
+
recorded_at: Wed, 27 Feb 2019 16:13:11 GMT
|
59
|
+
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: delete
|
5
|
-
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5c76f6a9724ec0372d108a42
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -12,13 +12,13 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
15
|
-
-
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Auth0-Client:
|
19
|
-
-
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
20
|
Authorization:
|
21
|
-
- Bearer
|
21
|
+
- Bearer API_TOKEN
|
22
22
|
Host:
|
23
23
|
- auth0-sdk-tests.auth0.com
|
24
24
|
response:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
message: No Content
|
28
28
|
headers:
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Wed, 27 Feb 2019 20:44:27 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Connection:
|
@@ -35,9 +35,9 @@ http_interactions:
|
|
35
35
|
X-Ratelimit-Limit:
|
36
36
|
- '10'
|
37
37
|
X-Ratelimit-Remaining:
|
38
|
-
- '
|
38
|
+
- '7'
|
39
39
|
X-Ratelimit-Reset:
|
40
|
-
- '
|
40
|
+
- '1551300269'
|
41
41
|
Vary:
|
42
42
|
- origin,accept-encoding
|
43
43
|
Cache-Control:
|
@@ -50,5 +50,5 @@ http_interactions:
|
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Wed, 27 Feb 2019 20:44:29 GMT
|
54
54
|
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: patch
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5c76f6a9724ec0372d108a42
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"token_lifetime":654321}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Auth0-Client:
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
|
+
Authorization:
|
21
|
+
- Bearer API_TOKEN
|
22
|
+
Content-Length:
|
23
|
+
- '25'
|
24
|
+
Host:
|
25
|
+
- auth0-sdk-tests.auth0.com
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Date:
|
32
|
+
- Wed, 27 Feb 2019 20:44:26 GMT
|
33
|
+
Content-Type:
|
34
|
+
- application/json; charset=utf-8
|
35
|
+
Transfer-Encoding:
|
36
|
+
- chunked
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
X-Ratelimit-Limit:
|
40
|
+
- '10'
|
41
|
+
X-Ratelimit-Remaining:
|
42
|
+
- '7'
|
43
|
+
X-Ratelimit-Reset:
|
44
|
+
- '1551300269'
|
45
|
+
Vary:
|
46
|
+
- origin,accept-encoding
|
47
|
+
Cache-Control:
|
48
|
+
- private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
49
|
+
Content-Encoding:
|
50
|
+
- gzip
|
51
|
+
Strict-Transport-Security:
|
52
|
+
- max-age=15724800
|
53
|
+
X-Robots-Tag:
|
54
|
+
- noindex, nofollow, nosnippet, noarchive
|
55
|
+
body:
|
56
|
+
encoding: ASCII-8BIT
|
57
|
+
string: !binary |-
|
58
|
+
H4sIAAAAAAAAA12PTU/DMAyG/0vOQNusH6y3CSG0C5rYJOAUpYnTmmVJlZhNA/Hf8bhM4mj7ea3n/RZoRS8a07Wu1ctO1mDKRSdtVd7rWoobEfQBmNhBpi2kI6Tb9DmciUc+ooVA6BASIxPRnPui8NFoP8VMdxeq0DMWx6pgOuMYMIwqg0lAnPjY2MqWu9dh7ObnJW7Mm6V3elyvn1b75ms6PCCntPfxpKJzHgMobQzkLHqnfQZ+ucdZmRgyeygXk2JB9tGDB+UwZVKzTnRWxiMT1xzFPQTl0QHhpV/b1AtZ/d//fTzBIPpOluW1gPYj279sZdOKn18v7+RVQwEAAA==
|
59
|
+
http_version:
|
60
|
+
recorded_at: Wed, 27 Feb 2019 20:44:29 GMT
|
61
|
+
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5c76f6a9724ec0372d108a42
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -12,13 +12,13 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
15
|
-
-
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Auth0-Client:
|
19
|
-
-
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
20
|
Authorization:
|
21
|
-
- Bearer
|
21
|
+
- Bearer API_TOKEN
|
22
22
|
Host:
|
23
23
|
- auth0-sdk-tests.auth0.com
|
24
24
|
response:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
message: OK
|
28
28
|
headers:
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Wed, 27 Feb 2019 20:44:26 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Transfer-Encoding:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '10'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '7'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1551300269'
|
43
43
|
Vary:
|
44
44
|
- origin,accept-encoding
|
45
45
|
Cache-Control:
|
@@ -53,12 +53,7 @@ http_interactions:
|
|
53
53
|
body:
|
54
54
|
encoding: ASCII-8BIT
|
55
55
|
string: !binary |-
|
56
|
-
|
57
|
-
gvh3pmwqsZyZc0fnfgscRC9qrRtTdm07WKVVtTJVo7quaMWN8OoATOwh0Q7i
|
58
|
-
EeJt/NRn4pGPOIAntAiRkYloSX2WuWCUm0KiuwuVqQWzY5ExnXD06EeZwEQg
|
59
|
-
Tnxsh2LI9696bJbnDrfmbaB3etxsntZz/TUdHpBTyrlwksFahx6kMgZSEr1V
|
60
|
-
LgG/nHGRJvjEHtKGKFmQfZR2IC3GRHJRkc7SOGTimqMwg5cOLRBe+hXlfVWv
|
61
|
-
/u//Pp5Ai74p8/xaQLmR7V92Zb0SP7/OQVooQwEAAA==
|
56
|
+
H4sIAAAAAAAAA12PTU/DMAyG/0vOQNusH6y3CSG0C5rYJOAUpYnTmmVJlZhNA/Hf8bhM4mj7ea3n/RZoRS8a07Wu1ctO1mDKRSdtVd7rWoobEfQBmNhBpi2kI6Tb9DmciUc+ooVA6BASIxPRnPui8NFoP8VMdxeq0DMWx6pgOuMYMIwqg0lAnPjY2MqWu9dh7ObnJW7Mm6V3elyvn1b75ms6PCCntPfxpKJzHgMobQzkLHqnfQZ+ucdZmRgyeygXk2JB9tGDB+UwZVKzTnRWxiMT1xzFPQTl0QHhpV8lF3XT/t//fTzBIPpOluW1gPYj279sZdOKn19q2ZhOQwEAAA==
|
62
57
|
http_version:
|
63
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 27 Feb 2019 20:44:29 GMT
|
64
59
|
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Auth0-Client:
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
|
+
Authorization:
|
21
|
+
- Bearer API_TOKEN
|
22
|
+
Host:
|
23
|
+
- auth0-sdk-tests.auth0.com
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Wed, 27 Feb 2019 20:44:25 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '10'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '8'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1551300267'
|
43
|
+
Vary:
|
44
|
+
- origin,accept-encoding
|
45
|
+
Cache-Control:
|
46
|
+
- private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
47
|
+
Content-Encoding:
|
48
|
+
- gzip
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15724800
|
51
|
+
X-Robots-Tag:
|
52
|
+
- noindex, nofollow, nosnippet, noarchive
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |-
|
56
|
+
H4sIAAAAAAAAA72Y227jNhCGX4XQdRIf4kPsO6+zCII2RbDJoi0WAUFRlM01LQoi5SBd5N1LUWQsSxrJ2xbNlaOZ+TTzc0iR/PYj4FGwDKZkPCM305tRuLiek2k0mk5Gw+FkEVwECdkz47HK9XaIHkhCNmzPEo1Wj/fGyiPzm8ecZcZnq3WqloMBKXwvVbS71ExpdWX/v6JyPyApHxzGAxNIhJCvWMax4AnDhFKmVLCMiVDsIlA7nmIqE2XgOJYZPrDMvISEguGYZ0rjlGT6DVPBjccxTssdS7DgMdO8yHo0n02Gw2HdYJGvLAyW83FhVXyT8GSDidiYKr48jaczk6GiMmWG/e1HEDFFM55qLpPCgZEIre2r0V1GigQuggMReaFTZozLMi+8KY3vF3XC2nhpBjKoNfdSbplgHZTImnspX9OoK5fcmnspVpOvimUNLXL7EHxvPca9D4pyNdejXK1QlNO7HuV0hqKONaFVmqIHponJjbQWiEma4r336K4WolV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GOMxys6ZdUZGHg7K/y6vh0X9/NVwU0LwZvikuhv/1vbAXsLjmXtrnxn4q+QoVRlQa31+OUtL5LJ6RxXw8YXR4PR9Ho+ENmYxPpSyPyZdZHr4VGEhOs2shYiuVviq8KlL6ChQz/aRNxPfHaBQNn38PN/P0twV/pH9E+k/9+f7+brWb/rXdr/n/djc/vp5MZ/9kCN5f/gYAZnj1txgAAA==
|
57
|
+
http_version:
|
58
|
+
recorded_at: Wed, 27 Feb 2019 20:44:28 GMT
|
59
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Auth0-Client:
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjYuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
|
20
|
+
Authorization:
|
21
|
+
- Bearer API_TOKEN
|
22
|
+
Host:
|
23
|
+
- auth0-sdk-tests.auth0.com
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Wed, 27 Feb 2019 20:44:25 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '10'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '8'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1551300267'
|
43
|
+
Vary:
|
44
|
+
- origin,accept-encoding
|
45
|
+
Cache-Control:
|
46
|
+
- private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
47
|
+
Content-Encoding:
|
48
|
+
- gzip
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15724800
|
51
|
+
X-Robots-Tag:
|
52
|
+
- noindex, nofollow, nosnippet, noarchive
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |-
|
56
|
+
H4sIAAAAAAAAA72Y227jNhCGX4XQdRIf4kPsO6+zCII2RbDJoi0WAUFRlM01LQoi5SBd5N1LUWQsSxrJ2xbNlaOZ+TTzc0iR/PYj4FGwDKZkPCM305tRuLiek2k0mk5Gw+FkEVwECdkz47HK9XaIHkhCNmzPEo1Wj/fGyiPzm8ecZcZnq3WqloMBKXwvVbS71ExpdWX/v6JyPyApHxzGAxNIhJCvWMax4AnDhFKmVLCMiVDsIlA7nmIqE2XgOJYZPrDMvISEguGYZ0rjlGT6DVPBjccxTssdS7DgMdO8yHo0n02Gw2HdYJGvLAyW83FhVXyT8GSDidiYKr48jaczk6GiMmWG/e1HEDFFM55qLpPCgZEIre2r0V1GigQuggMReaFTZozLMi+8KY3vF3XC2nhpBjKoNfdSbplgHZTImnspX9OoK5fcmnspVpOvimUNLXL7EHxvPca9D4pyNdejXK1QlNO7HuV0hqKONaFVmqIHponJjbQWiEma4r336K4WolVL7+NVdYB4VVH6eFWFIF5Vrp/goWdOd6ytwQsS1s4K6L92U7x1hvX2M9jJvfMJnEm98xmcyT01ol/YG7SS7ApT39ytxZ/OXIBwuobUCKcrCEA4XctqhNOVDCCUGsgkYbR40tSgYoI1aI33GnQSvAatBK9BJ8Fr0ErwGnQSrAZfmJJ5Rhl6YtmhZSnNnB0rZwfV6CA5Sc5gOV06WE6cM1hOoQ6Wk+kMltXql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