auth0 4.8.0 → 4.9.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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +1 -0
  3. data/CHANGELOG.md +19 -0
  4. data/Gemfile.lock +18 -17
  5. data/README.md +10 -1
  6. data/auth0.gemspec +1 -1
  7. data/lib/auth0/api/v2.rb +2 -0
  8. data/lib/auth0/api/v2/guardian.rb +142 -0
  9. data/lib/auth0/api/v2/roles.rb +0 -2
  10. data/lib/auth0/api/v2/users.rb +0 -2
  11. data/lib/auth0/mixins.rb +8 -3
  12. data/lib/auth0/mixins/httpproxy.rb +1 -1
  13. data/lib/auth0/version.rb +1 -1
  14. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml +12 -10
  15. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml +13 -11
  16. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml +12 -10
  17. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml +13 -11
  18. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml +12 -10
  19. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml +12 -10
  20. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml +13 -11
  21. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml +13 -11
  22. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml +12 -10
  23. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml +12 -10
  24. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml +13 -11
  25. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml +14 -12
  26. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml +12 -10
  27. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml +13 -11
  28. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml +12 -10
  29. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml +12 -10
  30. data/spec/integration/lib/auth0/api/v2/api_roles_spec.rb +3 -3
  31. data/spec/lib/auth0/api/v2/guardian_spec.rb +154 -0
  32. data/spec/lib/auth0/mixins/httpproxy_spec.rb +24 -2
  33. data/spec/spec_helper.rb +2 -1
  34. metadata +7 -4
@@ -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/roles/rol_rSi7DH8MezaQ229K
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,27 +27,29 @@ http_interactions:
27
27
  message: No Content
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:42 GMT
30
+ - Wed, 25 Sep 2019 16:28:53 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Connection:
34
34
  - keep-alive
35
+ Server:
36
+ - nginx
35
37
  Ot-Tracer-Spanid:
36
- - 11652af63de32e09
38
+ - 7c964a5a3bf32b2d
37
39
  Ot-Tracer-Traceid:
38
- - 4310301d4e1c7c32
40
+ - 15d9978a5056db4c
39
41
  Ot-Tracer-Sampled:
40
42
  - 'true'
41
43
  X-Ratelimit-Limit:
42
44
  - '10'
43
45
  X-Ratelimit-Remaining:
44
- - '9'
46
+ - '1'
45
47
  X-Ratelimit-Reset:
46
- - '1561749043'
48
+ - '1569428939'
47
49
  Vary:
48
50
  - origin,accept-encoding
49
51
  Cache-Control:
50
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
52
+ - no-cache
51
53
  Strict-Transport-Security:
52
54
  - max-age=15724800
53
55
  X-Robots-Tag:
@@ -56,5 +58,5 @@ http_interactions:
56
58
  encoding: UTF-8
57
59
  string: ''
58
60
  http_version:
59
- recorded_at: Fri, 28 Jun 2019 19:10:42 GMT
60
- recorded_with: VCR 4.0.0
61
+ recorded_at: Wed, 25 Sep 2019 16:28:53 GMT
62
+ recorded_with: VCR 5.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/roles/rol_rSi7DH8MezaQ229K
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,29 +27,31 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:29 GMT
30
+ - Wed, 25 Sep 2019 16:28:52 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Transfer-Encoding:
34
34
  - chunked
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 29d59d014f04514c
40
+ - 39ff4b9528693457
39
41
  Ot-Tracer-Traceid:
40
- - 23d7e3cf35ba0ed8
42
+ - 6d6a7dfc1414253e
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '8'
47
49
  X-Ratelimit-Reset:
48
- - '1561749030'
50
+ - '1569428934'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Content-Encoding:
54
56
  - gzip
55
57
  Strict-Transport-Security:
@@ -59,7 +61,7 @@ http_interactions:
59
61
  body:
60
62
  encoding: ASCII-8BIT
61
63
  string: !binary |-
62
- H4sIAAAAAAAAA6tWykxRslIqys+JLwrONHfxsPBNrUoMNDKy9FbSUcpLzE0FyZYmVZakFpfoggmg2lSgXEpqcXJRZkFJZn4eUEkIUEYBJKOALF4LAIwSdAlfAAAA
64
+ H4sIAAAAAAAAA6tWykxRslIqys+J9001dy73qogsKo0KSis0L1TSUcpLzE0FyZYmVZakFpfoggmg2lSgXEpqcXJRZkFJZn4eUEkIUEYBJKOALF4LADvySGBfAAAA
63
65
  http_version:
64
- recorded_at: Fri, 28 Jun 2019 19:10:29 GMT
65
- recorded_with: VCR 4.0.0
66
+ recorded_at: Wed, 25 Sep 2019 16:28:52 GMT
67
+ recorded_with: VCR 5.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/roles/rol_rSi7DH8MezaQ229K/permissions
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q/permissions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,29 +27,31 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:38 GMT
30
+ - Wed, 25 Sep 2019 16:28:53 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Transfer-Encoding:
34
34
  - chunked
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 2ef7a3554c0d3d37
40
+ - 2b424a85236be19b
39
41
  Ot-Tracer-Traceid:
40
- - 264a88200375ff52
42
+ - 719c34c5274983d4
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '3'
47
49
  X-Ratelimit-Reset:
48
- - '1561749039'
50
+ - '1569428937'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Content-Encoding:
54
56
  - gzip
55
57
  Strict-Transport-Security:
@@ -61,5 +63,5 @@ http_interactions:
61
63
  string: !binary |-
62
64
  H4sIAAAAAAAAA4WMSwqAMBBD7zJrewGvIiJaIwxoWzKtIOLd/WzcCG4CyeOl2SWBi5ppDF3oF0gtLMOWYdk98XKpZIR5asp3q+UaCIuFHp2BK/h90Sd1U6RjnGEfko4IWScFf9SjPQGSemtTsQAAAA==
63
65
  http_version:
64
- recorded_at: Fri, 28 Jun 2019 19:10:38 GMT
65
- recorded_with: VCR 4.0.0
66
+ recorded_at: Wed, 25 Sep 2019 16:28:53 GMT
67
+ recorded_with: VCR 5.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/roles/rol_rSi7DH8MezaQ229K/permissions
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q/permissions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,29 +27,31 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:39 GMT
30
+ - Wed, 25 Sep 2019 16:28:53 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Transfer-Encoding:
34
34
  - chunked
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 5073dec72ed81075
40
+ - 3045a3192399c970
39
41
  Ot-Tracer-Traceid:
40
- - 74571f82431ad586
42
+ - 18a77052568068f0
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '2'
47
49
  X-Ratelimit-Reset:
48
- - '1561749041'
50
+ - '1569428938'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Content-Encoding:
54
56
  - gzip
55
57
  Strict-Transport-Security:
@@ -61,5 +63,5 @@ http_interactions:
61
63
  string: !binary |-
62
64
  H4sIAAAAAAAAA4WMSwqAMBBD7zJrewGvIiJaIwxoWzKtIOLd/WzcCG4CyeOl2SWBi5ppDF3oF0gtLMOWYdk98XKpZIR5asp3q+UaCIuFHp2BK/h90Sd1U6RjnGEfko4IWScFf9SjPQGSemtTsQAAAA==
63
65
  http_version:
64
- recorded_at: Fri, 28 Jun 2019 19:10:39 GMT
65
- recorded_with: VCR 4.0.0
66
+ recorded_at: Wed, 25 Sep 2019 16:28:53 GMT
67
+ recorded_with: VCR 5.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/roles/rol_rSi7DH8MezaQ229K/users
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q/users
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,29 +27,31 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:34 GMT
30
+ - Wed, 25 Sep 2019 16:28:52 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Transfer-Encoding:
34
34
  - chunked
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 205e9d613430dcc4
40
+ - 53f0c303554001e2
39
41
  Ot-Tracer-Traceid:
40
- - 67c8c3eb43ddd0c8
42
+ - 565cff3e695dd6f3
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '5'
47
49
  X-Ratelimit-Reset:
48
- - '1561749035'
50
+ - '1569428936'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Content-Encoding:
54
56
  - gzip
55
57
  Strict-Transport-Security:
@@ -59,7 +61,7 @@ http_interactions:
59
61
  body:
60
62
  encoding: ASCII-8BIT
61
63
  string: !binary |-
62
- H4sIAAAAAAAAA2WO2QrCMBBF/yVgn+yStE1boagv/oSIpMl0gW5MEkHUfzdVKIIwD3fgzplzfhCrAa+dIjsirGmjZ6oo55yxOKtowSOVpFUaQSbJlsAgut4V0VZ3A9r4a1ggoxjAryf0cepBHz60QE6DO5w7aSyCO22NmfUuDHXQoLgJI3CphN8YZrlMC0p5oYAmhaJMSJAsz3gdi5zTaq/LJI88LOfGU+WHtYmPG3ZyI9UYrD/d/kVql9AG89g4jcXwV//fmrwub+3Ac6QTAQAA
64
+ H4sIAAAAAAAAA2WOywrCMBBF/yVQV/aRtqlToagbf0JE0kysBftgkgii/rtpBRGEWdyBO2fO4cGc0XRqka2ZdPaSPAVCXQrFMQcUkCAqgERkBVsy3cn26ovk6rvVxobfMEF62enwPFBIw1Wb7UyL1ND5w7FV1pH2pxdrR7OOYxM1JG/SSpoq8SfGK1Ci5LwoUfO8RJ5KpVUKq+KcSSh4vTFVDsmCqrFZYDWzgmwXpHs/Cvvo+9PvH6TxiVw09o3XmAx/9f+t2ev4BvvO+5gTAQAA
63
65
  http_version:
64
- recorded_at: Fri, 28 Jun 2019 19:10:34 GMT
65
- recorded_with: VCR 4.0.0
66
+ recorded_at: Wed, 25 Sep 2019 16:28:52 GMT
67
+ recorded_with: VCR 5.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/roles/rol_rSi7DH8MezaQ229K/users
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q/users
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,29 +27,31 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:35 GMT
30
+ - Wed, 25 Sep 2019 16:28:52 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Transfer-Encoding:
34
34
  - chunked
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 51eecb694159f48d
40
+ - 654dc94c42bb7b63
39
41
  Ot-Tracer-Traceid:
40
- - 466619e43a516d42
42
+ - 338dfeab2c4513d2
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '4'
47
49
  X-Ratelimit-Reset:
48
- - '1561749036'
50
+ - '1569428936'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Content-Encoding:
54
56
  - gzip
55
57
  Strict-Transport-Security:
@@ -59,7 +61,7 @@ http_interactions:
59
61
  body:
60
62
  encoding: ASCII-8BIT
61
63
  string: !binary |-
62
- H4sIAAAAAAAAA2WO2QrCMBBF/yVgn+yStE1boagv/oSIpMl0gW5MEkHUfzdVKIIwD3fgzplzfhCrAa+dIjsirGmjZ6oo55yxOKtowSOVpFUaQSbJlsAgut4V0VZ3A9r4a1ggoxjAryf0cepBHz60QE6DO5w7aSyCO22NmfUuDHXQoLgJI3CphN8YZrlMC0p5oYAmhaJMSJAsz3gdi5zTaq/LJI88LOfGU+WHtYmPG3ZyI9UYrD/d/kVql9AG89g4jcXwV//fmrwub+3Ac6QTAQAA
64
+ H4sIAAAAAAAAA2WOywrCMBBF/yVQV/aRtqlToagbf0JE0kysBftgkgii/rtpBRGEWdyBO2fO4cGc0XRqka2ZdPaSPAVCXQrFMQcUkCAqgERkBVsy3cn26ovk6rvVxobfMEF62enwPFBIw1Wb7UyL1ND5w7FV1pH2pxdrR7OOYxM1JG/SSpoq8SfGK1Ci5LwoUfO8RJ5KpVUKq+KcSSh4vTFVDsmCqrFZYDWzgmwXpHs/Cvvo+9PvH6TxiVw09o3XmAx/9f+t2ev4BvvO+5gTAQAA
63
65
  http_version:
64
- recorded_at: Fri, 28 Jun 2019 19:10:35 GMT
65
- recorded_with: VCR 4.0.0
66
+ recorded_at: Wed, 25 Sep 2019 16:28:52 GMT
67
+ recorded_with: VCR 5.0.0
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/json
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Host:
@@ -27,29 +27,31 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Fri, 28 Jun 2019 19:10:30 GMT
30
+ - Wed, 25 Sep 2019 16:28:52 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Transfer-Encoding:
34
34
  - chunked
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 4b4a1f8c0535186b
40
+ - 10544ffb51d81425
39
41
  Ot-Tracer-Traceid:
40
- - 5b02f0a47c3d78a0
42
+ - 7e4154cc68459a85
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '7'
47
49
  X-Ratelimit-Reset:
48
- - '1561749031'
50
+ - '1569428934'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Content-Encoding:
54
56
  - gzip
55
57
  Strict-Transport-Security:
@@ -59,7 +61,7 @@ http_interactions:
59
61
  body:
60
62
  encoding: ASCII-8BIT
61
63
  string: !binary |-
62
- H4sIAAAAAAAAA4uuVspMUbJSKsrPiS8KzjR38bDwTa1KDDQysvRW0lHKS8xNBcmWJlWWpBaX6IIJoNpUoFxKanFyUWZBSWZ+HlBJCFBGASSjgCxeGwsACSqLE2EAAAA=
64
+ H4sIAAAAAAAAA4uuVspMUbJSKsrPifdNNXcu96qILCqNCkorNC9U0lHKS8xNBcmWJlWWpBaX6IIJoNpUoFxKanFyUWZBSWZ+HlBJCFBGASSjgCxeGwsAxjDnRmEAAAA=
63
65
  http_version:
64
- recorded_at: Fri, 28 Jun 2019 19:10:30 GMT
65
- recorded_with: VCR 4.0.0
66
+ recorded_at: Wed, 25 Sep 2019 16:28:52 GMT
67
+ recorded_with: VCR 5.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/roles/rol_rSi7DH8MezaQ229K/permissions
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_Me7CwJxYruZRfq7q/permissions
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: permissions[][permission_name]=rubytest-test-permission&permissions[][resource_server_identifier]=rubytest-test-api-for-roles
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
19
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjguMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0=
20
20
  Authorization:
21
21
  - Bearer API_TOKEN
22
22
  Content-Length:
@@ -29,27 +29,29 @@ http_interactions:
29
29
  message: No Content
30
30
  headers:
31
31
  Date:
32
- - Fri, 28 Jun 2019 19:10:40 GMT
32
+ - Wed, 25 Sep 2019 16:28:53 GMT
33
33
  Content-Type:
34
34
  - application/json; charset=utf-8
35
35
  Connection:
36
36
  - keep-alive
37
+ Server:
38
+ - nginx
37
39
  Ot-Tracer-Spanid:
38
- - 715f5e8a2e96400a
40
+ - 23f60e242e13f4d2
39
41
  Ot-Tracer-Traceid:
40
- - 70818b535cddc217
42
+ - 230097b75c9aa897
41
43
  Ot-Tracer-Sampled:
42
44
  - 'true'
43
45
  X-Ratelimit-Limit:
44
46
  - '10'
45
47
  X-Ratelimit-Remaining:
46
- - '9'
48
+ - '2'
47
49
  X-Ratelimit-Reset:
48
- - '1561749042'
50
+ - '1569428938'
49
51
  Vary:
50
52
  - origin,accept-encoding
51
53
  Cache-Control:
52
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
54
+ - no-cache
53
55
  Strict-Transport-Security:
54
56
  - max-age=15724800
55
57
  X-Robots-Tag:
@@ -58,5 +60,5 @@ http_interactions:
58
60
  encoding: UTF-8
59
61
  string: ''
60
62
  http_version:
61
- recorded_at: Fri, 28 Jun 2019 19:10:40 GMT
62
- recorded_with: VCR 4.0.0
63
+ recorded_at: Wed, 25 Sep 2019 16:28:53 GMT
64
+ recorded_with: VCR 5.0.0