diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml index 4280f533..d98844c2 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/permissions + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/permissions body: encoding: UTF-8 string: '{"permissions":[{"permission_name":"rubytest-test-permission","resource_server_identifier":"rubytest-test-api-for-roles"}]}' @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 21:01:54 GMT + - Fri, 28 Jun 2019 19:10:36 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,17 +37,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 1ff78c301fdf8ba9 + - 00b2c56e5846715b Ot-Tracer-Traceid: - - 63da97536aa9285a + - 3e8125b1094f3ea3 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669317' + - '1561749038' Vary: - origin,accept-encoding Cache-Control: @@ -63,5 +63,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA6uuBQBDv6ajAgAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:01:54 GMT + recorded_at: Fri, 28 Jun 2019 19:10:37 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml index 9df9089f..dad4f80d 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml @@ -2,10 +2,10 @@ http_interactions: - request: method: post - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/users + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/users body: encoding: UTF-8 - string: '{"users":["auth0|5d152ebfaa89f90d94fd3007"]}' + string: '{"users":["auth0|5d16662237b1960d45b50e7c"]}' headers: Accept: - "*/*" @@ -29,7 +29,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:53 GMT + - Fri, 28 Jun 2019 19:10:32 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,17 +37,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 44182c477ac2b24e + - '095d0db570914f57' Ot-Tracer-Traceid: - - 3bf43c821a00b426 + - '009605b14993633d' Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '7' + - '9' X-Ratelimit-Reset: - - '1561669316' + - '1561749034' Vary: - origin,accept-encoding Cache-Control: @@ -63,5 +63,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA6uuBQBDv6ajAgAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:01:53 GMT + recorded_at: Fri, 28 Jun 2019 19:10:32 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml index 55b9e09e..004f8cf6 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:01:54 GMT + - Fri, 28 Jun 2019 19:10:42 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 59d67f1c0c17ca15 + - 11652af63de32e09 Ot-Tracer-Traceid: - - 704e2e8c59922f33 + - 4310301d4e1c7c32 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '2' + - '9' X-Ratelimit-Reset: - - '1561669319' + - '1561749043' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:01:54 GMT + recorded_at: Fri, 28 Jun 2019 19:10:42 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml index 4cb67fe2..723a5a3c 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:53 GMT + - Fri, 28 Jun 2019 19:10:29 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,9 +35,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 156da56206fc205c + - 29d59d014f04514c Ot-Tracer-Traceid: - - 037a30bb6a53fb78 + - 23d7e3cf35ba0ed8 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -45,7 +45,7 @@ http_interactions: X-Ratelimit-Remaining: - '9' X-Ratelimit-Reset: - - '1561669314' + - '1561749030' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6tWykxRslIqys+Jz7bMMUqt8A5OLY7wcauMyFXSUcpLzE0FyZYmVZakFpfoggmg2lSgXEpqcXJRZkFJZn4eUEkIUEYBJKOALF4LAN/SPYNfAAAA + H4sIAAAAAAAAA6tWykxRslIqys+JLwrONHfxsPBNrUoMNDKy9FbSUcpLzE0FyZYmVZakFpfoggmg2lSgXEpqcXJRZkFJZn4eUEkIUEYBJKOALF4LAIwSdAlfAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:01:53 GMT + recorded_at: Fri, 28 Jun 2019 19:10:29 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml index f02fd5c1..1e7d8735 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/permissions + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/permissions body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:54 GMT + - Fri, 28 Jun 2019 19:10:38 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 03e67a2d5e429059 + - 2ef7a3554c0d3d37 Ot-Tracer-Traceid: - - 39795aa37042bef3 + - 264a88200375ff52 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '4' + - '9' X-Ratelimit-Reset: - - '1561669318' + - '1561749039' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA4WMSwqAMBBD7zJrewGvIiJaIwxoWzKtIOLd/WzcCG4CyeOl2SWBi5ppDF3oF0gtLMOWYdk98XKpZIR5asp3q+UaCIuFHp2BK/h90Sd1U6RjnGEfko4IWScFf9SjPQGSemtTsQAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:01:54 GMT + recorded_at: Fri, 28 Jun 2019 19:10:38 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml index 47cae08b..415e4ee1 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/permissions + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/permissions body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:54 GMT + - Fri, 28 Jun 2019 19:10:39 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 42d3e694494f69f5 + - 5073dec72ed81075 Ot-Tracer-Traceid: - - 6147c69e087df2f5 + - 74571f82431ad586 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '3' + - '9' X-Ratelimit-Reset: - - '1561669319' + - '1561749041' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA4WMSwqAMBBD7zJrewGvIiJaIwxoWzKtIOLd/WzcCG4CyeOl2SWBi5ppDF3oF0gtLMOWYdk98XKpZIR5asp3q+UaCIuFHp2BK/h90Sd1U6RjnGEfko4IWScFf9SjPQGSemtTsQAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:01:54 GMT + recorded_at: Fri, 28 Jun 2019 19:10:39 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml index 6ffa02c9..a6d0b4f2 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/users + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/users body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:53 GMT + - Fri, 28 Jun 2019 19:10:34 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 0516b58030da1292 + - 205e9d613430dcc4 Ot-Tracer-Traceid: - - 4a3bbd2a7cbe39dc + - 67c8c3eb43ddd0c8 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '6' + - '9' X-Ratelimit-Reset: - - '1561669316' + - '1561749035' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA2WO24rCMBCG3yWgV9s26TERyurNvsQiMk0mtWAPTBJBdvfdN1UQQZiLf+Cfb77vHxYc0mkwbMcg+DP/rYyocuwsgFRWcaNKawrOG/bBcIThEosUuptH55NnWCETjJjYmRKaL+j2d1qq5zEeLoP2gTCenr1f3C7LXNoTXMEDrZXsEbNG6koJUSuDolRG5KBR57KpbQGyFt2na0vJt9Qu/da0d9amOGzyrzjaTOnzZ9wfSBcThXSZ+qixGr7qv1uzv+M/2sD06RMBAAA= + H4sIAAAAAAAAA2WO2QrCMBBF/yVgn+yStE1boagv/oSIpMl0gW5MEkHUfzdVKIIwD3fgzplzfhCrAa+dIjsirGmjZ6oo55yxOKtowSOVpFUaQSbJlsAgut4V0VZ3A9r4a1ggoxjAryf0cepBHz60QE6DO5w7aSyCO22NmfUuDHXQoLgJI3CphN8YZrlMC0p5oYAmhaJMSJAsz3gdi5zTaq/LJI88LOfGU+WHtYmPG3ZyI9UYrD/d/kVql9AG89g4jcXwV//fmrwub+3Ac6QTAQAA http_version: - recorded_at: Thu, 27 Jun 2019 21:01:53 GMT + recorded_at: Fri, 28 Jun 2019 19:10:34 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml index ee3f21e7..b9186224 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/users + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/users body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:54 GMT + - Fri, 28 Jun 2019 19:10:35 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 649b3b7b010a8b29 + - 51eecb694159f48d Ot-Tracer-Traceid: - - 148d37a40ce8003a + - 466619e43a516d42 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669317' + - '1561749036' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA2WO24rCMBCG3yWgV9s26TERyurNvsQiMk0mtWAPTBJBdvfdN1UQQZiLf+Cfb77vHxYc0mkwbMcg+DP/rYyocuwsgFRWcaNKawrOG/bBcIThEosUuptH55NnWCETjJjYmRKaL+j2d1qq5zEeLoP2gTCenr1f3C7LXNoTXMEDrZXsEbNG6koJUSuDolRG5KBR57KpbQGyFt2na0vJt9Qu/da0d9amOGzyrzjaTOnzZ9wfSBcThXSZ+qixGr7qv1uzv+M/2sD06RMBAAA= + H4sIAAAAAAAAA2WO2QrCMBBF/yVgn+yStE1boagv/oSIpMl0gW5MEkHUfzdVKIIwD3fgzplzfhCrAa+dIjsirGmjZ6oo55yxOKtowSOVpFUaQSbJlsAgut4V0VZ3A9r4a1ggoxjAryf0cepBHz60QE6DO5w7aSyCO22NmfUuDHXQoLgJI3CphN8YZrlMC0p5oYAmhaJMSJAsz3gdi5zTaq/LJI88LOfGU+WHtYmPG3ZyI9UYrD/d/kVql9AG89g4jcXwV//fmrwub+3Ac6QTAQAA http_version: - recorded_at: Thu, 27 Jun 2019 21:01:54 GMT + recorded_at: Fri, 28 Jun 2019 19:10:35 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml index 49c7043a..fe0e034b 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:53 GMT + - Fri, 28 Jun 2019 19:10:30 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 317a71f70fbd7c66 + - 4b4a1f8c0535186b Ot-Tracer-Traceid: - - 42b227a64112d55e + - 5b02f0a47c3d78a0 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '9' X-Ratelimit-Reset: - - '1561669315' + - '1561749031' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA4uuVspMUbJSKsrPic+2zDFKrfAOTi2O8HGrjMhV0lHKS8xNBcmWJlWWpBaX6IIJoNpUoFxKanFyUWZBSWZ+HlBJCFBGASSjgCxeGwsAh2Nj4WEAAAA= + H4sIAAAAAAAAA4uuVspMUbJSKsrPiS8KzjR38bDwTa1KDDQysvRW0lHKS8xNBcmWJlWWpBaX6IIJoNpUoFxKanFyUWZBSWZ+HlBJCFBGASSjgCxeGwsACSqLE2EAAAA= http_version: - recorded_at: Thu, 27 Jun 2019 21:01:53 GMT + recorded_at: Fri, 28 Jun 2019 19:10:30 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml index 41756131..b1186e5f 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm/permissions + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K/permissions body: encoding: UTF-8 string: permissions[][permission_name]=rubytest-test-permission&permissions[][resource_server_identifier]=rubytest-test-api-for-roles @@ -29,23 +29,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:01:54 GMT + - Fri, 28 Jun 2019 19:10:40 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 0d5842764c345046 + - 715f5e8a2e96400a Ot-Tracer-Traceid: - - 66f8e6911e09aa85 + - 70818b535cddc217 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '3' + - '9' X-Ratelimit-Reset: - - '1561669319' + - '1561749042' Vary: - origin,accept-encoding Cache-Control: @@ -58,5 +58,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:01:54 GMT + recorded_at: Fri, 28 Jun 2019 19:10:40 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml index c98b766a..5a2d171a 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: patch - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_k9l2exKSesXLFyXm + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_rSi7DH8MezaQ229K body: encoding: UTF-8 string: '{"name":"New name","description":"New description"}' @@ -29,7 +29,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:53 GMT + - Fri, 28 Jun 2019 19:10:31 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,17 +37,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 1283f6d821c162b3 + - 20c71ae449c24331 Ot-Tracer-Traceid: - - 552d6a023aa2ee7d + - 0fadb49a7bfa27ea Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '7' + - '9' X-Ratelimit-Reset: - - '1561669316' + - '1561749033' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6tWykxRslIqys+Jz7bMMUqt8A5OLY7wcauMyFXSUcpLzE0FyvqlliuAmTpKKanFyUWZBSWZ+XlQCWSRWgBZrSIyTwAAAA== + H4sIAAAAAAAAA6tWykxRslIqys+JLwrONHfxsPBNrUoMNDKy9FbSUcpLzE0FyvqlliuAmTpKKanFyUWZBSWZ+XlQCWSRWgAPVW4MTwAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:01:53 GMT + recorded_at: Fri, 28 Jun 2019 19:10:31 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml index ed24185f..465df802 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 21:01:51 GMT + - Fri, 28 Jun 2019 19:10:26 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,9 +37,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 48db9faf494e74d1 + - 1ece1bd1238ae75f Ot-Tracer-Traceid: - - 064bf4a8289eabdf + - '09cde2520aa156b8' Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -47,7 +47,7 @@ http_interactions: X-Ratelimit-Remaining: - '8' X-Ratelimit-Reset: - - '1561669313' + - '1561749028' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA4WPwWrDMBBE/2XPMdjCdlp9RnsMZVnLK7NkKxlJSQgh/17Zl0AuvexhdmZ48wCZwcIwd4PhyRv2/adpR6Jj33XdBAcI9MvVkS7TvXAuzX5olcbH1KSonKtJZg5FvHD610qq8YbRe5XASM5xzmA9aeYD5LOs6GLItQ5rCq+cai1Nyugl5YIrpXJHp1Idr1yJZw6o4rnIhvsx9m37Lu+FN57AHs32zbIECQuSLpX669sMY+XLLq4V1J4ecCW9bNu3HXbX4fnz/AM0gFjLMwEAAA== + H4sIAAAAAAAAA4WPsW7DMAxE/0VzDDhKo6b+jHYsCoKWKYMIKxmikiAI8u+lvRTo0oXD8e7w7uF4coM7TvsQgvfHsI+H0IfxEP3byaPbuYzfZI56Ge+NtHXbwYW7VGpXi5CaiSfKjRNT/deKIuUGJSXhTIAxkqobEorSzumZF4glq9WBpeBK1WpxFILEVRssWNsdorA5fnOtnCmDcKLGK+4pvPT9X3krvNHohle/fpXnzHkGlNmo3z9svfFpLIuBDp8Pd0W5rNvXHcOmu+fX8wfh5EpnMwEAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:01:51 GMT + recorded_at: Fri, 28 Jun 2019 19:10:26 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml index 2d7b011b..4a9f46a4 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml @@ -29,7 +29,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:01:51 GMT + - Fri, 28 Jun 2019 19:10:27 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,9 +37,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 57d50ff962a95c1e + - 7d7b46586ea44d7a Ot-Tracer-Traceid: - - 24c006f25a6eaa98 + - 50bb4f735f294947 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -47,7 +47,7 @@ http_interactions: X-Ratelimit-Remaining: - '7' X-Ratelimit-Reset: - - '1561669314' + - '1561749029' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6tWykxRslIqys+Jz7bMMUqt8A5OLY7wcauMyFXSUcpLzE0FyZYmVZakFpfoggmg2lSgXEpqcXJRZkFJZn4eUEkIUEYBJKOALF4LAN/SPYNfAAAA + H4sIAAAAAAAAA6tWykxRslIqys+JLwrONHfxsPBNrUoMNDKy9FbSUcpLzE0FyZYmVZakFpfoggmg2lSgXEpqcXJRZkFJZn4eUEkIUEYBJKOALF4LAIwSdAlfAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:01:51 GMT + recorded_at: Fri, 28 Jun 2019 19:10:27 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml index a141b38f..041635af 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://auth0-sdk-tests.auth0.com/api/v2/users body: encoding: UTF-8 - string: '{"email":"rubytest-rubytest-username-for-roles@auth0.com","password":"Am9f5tHj","connection":"Username-Password-Authentication","name":"rubytest-username-for-roles"}' + string: '{"email":"rubytest-rubytest-username-for-roles@auth0.com","password":"6e13ZeM3V","connection":"Username-Password-Authentication","name":"rubytest-username-for-roles"}' headers: Accept: - "*/*" @@ -20,7 +20,7 @@ http_interactions: Authorization: - Bearer API_TOKEN Content-Length: - - '165' + - '166' Host: - auth0-sdk-tests.auth0.com response: @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 21:01:51 GMT + - Fri, 28 Jun 2019 19:10:26 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,9 +37,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 53ca8692404851c5 + - 57b61bc248e2e114 Ot-Tracer-Traceid: - - 24e8532b7615d3d0 + - 5fa52f6668e15cb8 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -47,7 +47,7 @@ http_interactions: X-Ratelimit-Remaining: - '9' X-Ratelimit-Reset: - - '1561669312' + - '1561749028' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA41RTWsCMRD9LwE9ubvJ6n6CtF56LrS9tBQZk4mGrsmSZC3F+t+bXauIBSnk8Ia8j+HNnuAWVENqYrvVl0fnozPoHFoNW4yksZE1Dbp76PyGxtxsyYT0X5e6v/RAGtyXO7RKKhSkltA4nJCuFeBRLMEHh5SyKqJ5lBbPKaspqzMW55S+BnnvuVRBR4bk70ywLMWVBCgrWVFRzaSYUloEaqu472y/0cb71tVJ4uK1hR14sP3GyREmRcmzirG8EshmlWApcORpWeRyCmXOVnduPivp2M7b9VjMB6/RdDFKH8LjQsfnCsJ8tHQB2S5u9bpvRfGP62ZuV6QEaq+8CkP9tifcaI3cK6ODxctJ8AjOfRorokWI7/kcBsplRbfKsWYXcuypyD7WPRmuoPm9yeF9QrjFf1zl8APZQkUVNAIAAA== + H4sIAAAAAAAAA41RXUvDMBT9L4HtaW2TbE2bwtC9+CyoL4qMNLndgl1SknQic//dtHMyFIaQh3PJ+bice0CwE7pFFXJ9/RHAh+QH9B6cETtIGusSZ1vwt6IPW5xKu0MzNHxd6v7SI2l0X+/B6UaDQlUjWg8z1HdKBFBrEaIDxYQnmCW0fCS8IriiLC14/hzlg+daRx0akz9zRRhjlM6LmnCG1SKvcwyFjNROy9C7YaNtCJ2vssynGyf2Igg3bJydYFaUMueEMK6ALLgiVEiQtCxYMxclI/WNXy5KPHXLbjNVy9FrMl9N6F18Upn0p4I4nyx9RK5PO7MZWtHy7Xcz1yvSCkzQQcehejkgaY0BGbQ10eLpLLgX3r9bp5JVjB/4UoyUy4qulePsPua4c5FDrH+wUov2+ybH1xmSDv5xleMXsu0GVjQCAAA= http_version: - recorded_at: Thu, 27 Jun 2019 21:01:51 GMT + recorded_at: Fri, 28 Jun 2019 19:10:26 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml index 919160e1..0c2c2a36 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5d152ebf2ef49206aa74111b + uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5d166622561c3606b3c2982a body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:01:56 GMT + - Fri, 28 Jun 2019 19:10:42 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 6e925712448ceb27 + - 6f62334427a74031 Ot-Tracer-Traceid: - - 2d8069e84aeda546 + - 42c809b470ac018d Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '3' + - '7' X-Ratelimit-Reset: - - '1561669320' + - '1561749044' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:01:56 GMT + recorded_at: Fri, 28 Jun 2019 19:10:42 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml index 38b8816c..af544c27 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152ebfaa89f90d94fd3007 + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d16662237b1960d45b50e7c body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:01:56 GMT + - Fri, 28 Jun 2019 19:10:42 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 7272eaa32db3d8b6 + - 16c179630b124a9b Ot-Tracer-Traceid: - - 3b07f49c017bd156 + - 68df15882c051abc Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '3' + - '8' X-Ratelimit-Reset: - - '1561669320' + - '1561749044' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:01:56 GMT + recorded_at: Fri, 28 Jun 2019 19:10:42 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_permissions/should_add_a_Permissions_for_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_permissions/should_add_a_Permissions_for_a_User_successfully.yml new file mode 100644 index 00000000..15090b3b --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_permissions/should_add_a_Permissions_for_a_User_successfully.yml @@ -0,0 +1,67 @@ +--- +http_interactions: +- request: + method: post + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/permissions + body: + encoding: UTF-8 + string: '{"permissions":[{"permission_name":"rubytest-test-permission-for-users","resource_server_identifier":"rubytest-test-api-for-users"}]}' + headers: + Accept: + - "*/*" + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Auth0-Client: + - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0= + Authorization: + - Bearer API_TOKEN + Content-Length: + - '133' + Host: + - auth0-sdk-tests.auth0.com + response: + status: + code: 201 + message: Created + headers: + Date: + - Fri, 28 Jun 2019 19:22:15 GMT + Content-Type: + - application/json; charset=utf-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Ot-Tracer-Spanid: + - 177d446f0b0a1337 + Ot-Tracer-Traceid: + - 3cf2c03e7a50d2ea + Ot-Tracer-Sampled: + - 'true' + X-Ratelimit-Limit: + - '10' + X-Ratelimit-Remaining: + - '9' + X-Ratelimit-Reset: + - '1561749737' + Vary: + - origin,accept-encoding + Cache-Control: + - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Encoding: + - gzip + Strict-Transport-Security: + - max-age=15724800 + X-Robots-Tag: + - noindex, nofollow, nosnippet, noarchive + body: + encoding: ASCII-8BIT + string: !binary |- + H4sIAAAAAAAAA6uuBQBDv6ajAgAAAA== + http_version: + recorded_at: Fri, 28 Jun 2019 19:22:15 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_roles/should_add_a_Role_to_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_roles/should_add_a_Role_to_a_User_successfully.yml index dcf25cc3..271f5c19 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_roles/should_add_a_Role_to_a_User_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_roles/should_add_a_Role_to_a_User_successfully.yml @@ -2,10 +2,10 @@ http_interactions: - request: method: post - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/roles?per_page=2 + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/roles?per_page=2 body: encoding: UTF-8 - string: '{"roles":["rol_l0JF9dA0vW14gMPB"]}' + string: '{"roles":["rol_3hkVHzGY5N5F9per"]}' headers: Accept: - "*/*" @@ -29,23 +29,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:08 GMT + - Fri, 28 Jun 2019 19:22:12 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 6d749af96a482010 + - 26d33d562832bd26 Ot-Tracer-Traceid: - - 0eb3968a2628556a + - 78b8ae90423f6bd1 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '6' + - '9' X-Ratelimit-Reset: - - '1561669211' + - '1561749734' Vary: - origin,accept-encoding Cache-Control: @@ -58,5 +58,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:08 GMT + recorded_at: Fri, 28 Jun 2019 19:22:12 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_secondary_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_secondary_User_successfully.yml index 831b66bb..9407f535 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_secondary_User_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_secondary_User_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4d9050fe0eadc7e0ef + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d6cef3310eafaaed4d body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:11 GMT + - Fri, 28 Jun 2019 19:22:20 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 2f69cca45a129553 + - 317eb50c48c6a5a8 Ot-Tracer-Traceid: - - 79b8300c6961e103 + - 66887e706f2a5ddc Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '9' X-Ratelimit-Reset: - - '1561669213' + - '1561749741' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:11 GMT + recorded_at: Fri, 28 Jun 2019 19:22:20 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_user_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_user_successfully.yml index b3222637..c1f694e4 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_user_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_user_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976 + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799 body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:11 GMT + - Fri, 28 Jun 2019 19:22:19 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 46446fcb2fe1744e + - 649837f410612d3d Ot-Tracer-Traceid: - - 29d188bc4f380287 + - 62a6cfdf6c31a059 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '9' X-Ratelimit-Reset: - - '1561669213' + - '1561749741' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:11 GMT + recorded_at: Fri, 28 Jun 2019 19:22:19 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user_provider/should_attempt_to_delete_the_MFA_provider_for_the_User.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user_provider/should_attempt_to_delete_the_MFA_provider_for_the_User.yml index ce8d5c2b..b6b1fc54 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user_provider/should_attempt_to_delete_the_MFA_provider_for_the_User.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user_provider/should_attempt_to_delete_the_MFA_provider_for_the_User.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/multifactor/google-authenticator + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/multifactor/google-authenticator body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:05 GMT + - Fri, 28 Jun 2019 19:22:09 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 31a2f53e3721d991 + - 11525ce27704b12e Ot-Tracer-Traceid: - - '09fb1fa00f626bf8' + - 2d7753dd4bc5442d Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669209' + - '1561749730' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:05 GMT + recorded_at: Fri, 28 Jun 2019 19:22:09 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_enrollments/should_get_Enrollments_for_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_enrollments/should_get_Enrollments_for_a_User_successfully.yml new file mode 100644 index 00000000..28dac0c8 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_enrollments/should_get_Enrollments_for_a_User_successfully.yml @@ -0,0 +1,65 @@ +--- +http_interactions: +- request: + method: get + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/enrollments + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*" + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Auth0-Client: + - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0= + Authorization: + - Bearer API_TOKEN + Host: + - auth0-sdk-tests.auth0.com + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2019 19:22:14 GMT + Content-Type: + - application/json; charset=utf-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Ot-Tracer-Spanid: + - 528986ce62d30c5a + Ot-Tracer-Traceid: + - 23fd13fe77a8de75 + Ot-Tracer-Sampled: + - 'true' + X-Ratelimit-Limit: + - '10' + X-Ratelimit-Remaining: + - '9' + X-Ratelimit-Reset: + - '1561749736' + Vary: + - origin,accept-encoding + Cache-Control: + - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Encoding: + - gzip + Strict-Transport-Security: + - max-age=15724800 + X-Robots-Tag: + - noindex, nofollow, nosnippet, noarchive + body: + encoding: ASCII-8BIT + string: !binary |- + H4sIAAAAAAAAA4uOBQApu0wNAgAAAA== + http_version: + recorded_at: Fri, 28 Jun 2019 19:22:14 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_exactly_1_Permission_for_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_exactly_1_Permission_for_a_User_successfully.yml new file mode 100644 index 00000000..fc70be07 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_exactly_1_Permission_for_a_User_successfully.yml @@ -0,0 +1,65 @@ +--- +http_interactions: +- request: + method: get + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/permissions + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*" + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Auth0-Client: + - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0= + Authorization: + - Bearer API_TOKEN + Host: + - auth0-sdk-tests.auth0.com + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2019 19:22:16 GMT + Content-Type: + - application/json; charset=utf-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Ot-Tracer-Spanid: + - 3b84fd7104def73e + Ot-Tracer-Traceid: + - 1e8717612d51cfb7 + Ot-Tracer-Sampled: + - 'true' + X-Ratelimit-Limit: + - '10' + X-Ratelimit-Remaining: + - '9' + X-Ratelimit-Reset: + - '1561749737' + Vary: + - origin,accept-encoding + Cache-Control: + - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Encoding: + - gzip + Strict-Transport-Security: + - max-age=15724800 + X-Robots-Tag: + - noindex, nofollow, nosnippet, noarchive + body: + encoding: ASCII-8BIT + string: !binary |- + H4sIAAAAAAAAA4WOQQrCQAxF75K1c4Fu1YVbcVdKqe0vZNGZIZkRSundjXagKIKbkLzkhV8vFCETq3Lwre8mUEWS73OCJvcu+96NQVxWiNKBBmgvHJNxUwwINGTp0drBA/L7WRf548u3xAN84pEhf9VNVKrqpfRmb1HKWBLsIM3xBU6X6/l4o7VZmydrE2jgAAEAAA== + http_version: + recorded_at: Fri, 28 Jun 2019 19:22:16 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_the_correct_Permission_for_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_the_correct_Permission_for_a_User_successfully.yml new file mode 100644 index 00000000..152526d0 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_the_correct_Permission_for_a_User_successfully.yml @@ -0,0 +1,65 @@ +--- +http_interactions: +- request: + method: get + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/permissions + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*" + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Auth0-Client: + - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0= + Authorization: + - Bearer API_TOKEN + Host: + - auth0-sdk-tests.auth0.com + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2019 19:22:17 GMT + Content-Type: + - application/json; charset=utf-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Ot-Tracer-Spanid: + - 3a1d3e0b09ac5a37 + Ot-Tracer-Traceid: + - 5a7a3c8419f41cf9 + Ot-Tracer-Sampled: + - 'true' + X-Ratelimit-Limit: + - '10' + X-Ratelimit-Remaining: + - '9' + X-Ratelimit-Reset: + - '1561749738' + Vary: + - origin,accept-encoding + Cache-Control: + - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Encoding: + - gzip + Strict-Transport-Security: + - max-age=15724800 + X-Robots-Tag: + - noindex, nofollow, nosnippet, noarchive + body: + encoding: ASCII-8BIT + string: !binary |- + H4sIAAAAAAAAA4WOQQrCQAxF75K1c4Fu1YVbcVdKqe0vZNGZIZkRSundjXagKIKbkLzkhV8vFCETq3Lwre8mUEWS73OCJvcu+96NQVxWiNKBBmgvHJNxUwwINGTp0drBA/L7WRf548u3xAN84pEhf9VNVKrqpfRmb1HKWBLsIM3xBU6X6/l4o7VZmydrE2jgAAEAAA== + http_version: + recorded_at: Fri, 28 Jun 2019 19:22:17 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_roles/should_get_Roles_for_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_roles/should_get_Roles_for_a_User_successfully.yml index 9b922905..14a69046 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_roles/should_get_Roles_for_a_User_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_roles/should_get_Roles_for_a_User_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/roles + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/roles body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:09 GMT + - Fri, 28 Jun 2019 19:22:13 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 26472f5c6fc5cbaa + - 1815a6fa3abc2e64 Ot-Tracer-Traceid: - - 666389596fe89459 + - 532c724e18d00516 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '9' X-Ratelimit-Reset: - - '1561669211' + - '1561749734' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA4uuVspMUbJSKsrPic8x8HKzTHE0KAs3NEn3DXBS0lHKS8xNBcmWJlWWpBaX6IIJoNpU3bT8It3S4tSiYqCqlNTi5KLMgpLM/Dyg4hCgGgWQGgVkcR2l4vzSouTUYiWr6GooOx5sNVwqvqSyAGSbi2eQq3MIQhjqCKXa2NpYAFNvSVewAAAA + H4sIAAAAAAAAA4uuVspMUbJSKsrPiTfOyA7zqHKPNPUzdbMsSC1S0lHKS8xNBcmWJlWWpBaX6IIJoNpU3bT8It3S4tSiYqCqlNTi5KLMgpLM/Dyg4hCgGgWQGgVkcR2l4vzSouTUYiWr6GooOx5sNVwqvqSyAGSbi2eQq3MIQhjqCKXa2NpYAGlDiJ2wAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:00:09 GMT + recorded_at: Fri, 28 Jun 2019 19:22:13 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_invalidate_browsers/should_invalidate_MFA_browsers_for_the_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_invalidate_browsers/should_invalidate_MFA_browsers_for_the_User_successfully.yml new file mode 100644 index 00000000..29c475d5 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_invalidate_browsers/should_invalidate_MFA_browsers_for_the_User_successfully.yml @@ -0,0 +1,62 @@ +--- +http_interactions: +- request: + method: post + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/multifactor/actions/invalidate-remember-browser + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - "*/*" + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Auth0-Client: + - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0= + Authorization: + - Bearer API_TOKEN + Content-Length: + - '2' + Host: + - auth0-sdk-tests.auth0.com + response: + status: + code: 204 + message: No Content + headers: + Date: + - Fri, 28 Jun 2019 19:22:18 GMT + Content-Type: + - application/json; charset=utf-8 + Connection: + - keep-alive + Ot-Tracer-Spanid: + - 5cccc97e34b12681 + Ot-Tracer-Traceid: + - 4c2ff170316e1fd4 + Ot-Tracer-Sampled: + - 'true' + X-Ratelimit-Limit: + - '10' + X-Ratelimit-Remaining: + - '9' + X-Ratelimit-Reset: + - '1561749740' + Vary: + - origin,accept-encoding + Cache-Control: + - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Strict-Transport-Security: + - max-age=15724800 + X-Robots-Tag: + - noindex, nofollow, nosnippet, noarchive + body: + encoding: UTF-8 + string: '' + http_version: + recorded_at: Fri, 28 Jun 2019 19:22:18 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_link_user_account/should_link_two_Users_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_link_user_account/should_link_two_Users_successfully.yml index a429b456..d5dc9527 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_link_user_account/should_link_two_Users_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_link_user_account/should_link_two_Users_successfully.yml @@ -2,10 +2,10 @@ http_interactions: - request: method: post - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/identities + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/identities body: encoding: UTF-8 - string: '{"provider":"auth0","user_id":"auth0|5d152e4d9050fe0eadc7e0ef"}' + string: '{"provider":"auth0","user_id":"auth0|5d1668d6cef3310eafaaed4d"}' headers: Accept: - "*/*" @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 21:00:07 GMT + - Fri, 28 Jun 2019 19:22:10 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,17 +37,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 7811f4de46e2b990 + - 6e89be3d4c7729c7 Ot-Tracer-Traceid: - - 12f4b773076ce78c + - 6dadeea63c9d1113 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '6' + - '9' X-Ratelimit-Reset: - - '1561669210' + - '1561749731' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6WPwWoCMRCG32XOuyXVrsvuyUIfQJCeish0MsGB3USSrEWk7+64WPXgQeopYfLNn//7OsA2Bicdf2BGaA/APUoHLcThe5855fJyGRJHjz3Pccgb80KhhwJOg1v6D9KnMWm94yhO2EKb48C/BVDwnilL8Lr3ecbLBab0E6It3zWcfRbCESnglLgW3YfKvlYTfiODaKgy3MxoWjf1TCGV2InlqNTYTkeSloEE1cVhl/Tnf6iWibWuxbh/SPqK39E/t3je3zamMo4No6VaD/eY/+oI/qf4xewBAAA= + H4sIAAAAAAAAA6WPwWrDMAyG30XnZCTLkiU5bbAHGIydSimKLTNBYg/bySil714ldFsPPYT2ZuRPv/5vc4Bv7wz39IYRoT0ADcg9tODHbh8pxPTvMQbyFgd6wTF+ZQ/KDZDAPLikfyH5WpJ2E3k2TBra6Ec6JqCctaQiOyt7n2c8fccQfpzX6auEk42scEESmBN3LPtQ6ryqal3Wpuvyx4wwU3nz3DQCicTEmrxQSzsZcfhwilFcDPZBLt+gmgaSuhr9fpX0P35F/9zifv9KkSmKXPwNIuknvc5/ewKK8N1k7AEAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:07 GMT + recorded_at: Fri, 28 Jun 2019 19:22:10 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_patch_user/should_patch_the_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_patch_user/should_patch_the_User_successfully.yml index 642f2fe0..119cedc9 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_patch_user/should_patch_the_User_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_patch_user/should_patch_the_User_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: patch - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976?fields=email&include_fields=true + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799?fields=email&include_fields=true body: encoding: UTF-8 string: '{"email_verified":true,"user_metadata":{"addresses":{"home_address":"742 @@ -30,7 +30,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:05 GMT + - Fri, 28 Jun 2019 19:22:08 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -38,17 +38,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 3fc4435b5b0e5a64 + - 1b3a1c064deb572b Ot-Tracer-Traceid: - - 1967e1e344bcea10 + - 18ded72b03f5ea21 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669209' + - '1561749730' Vary: - origin,accept-encoding Cache-Control: @@ -62,7 +62,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA31R22oCMRD9FQnok7smcS9uQFof2udC7UtLkWkyaqh7YZK1FOu/N+sNKVLIw2Ry5pzJOTuGJdgNU4zaj2+PzkeXonVIFZR4D61f81jXJRuyrnGNPoPC04FpsUWyS4uGKU8tDlnbGPBoFuDDmOSiiHgWyXwuheJc8TTOpXgN0x3RwoYxdpD7SY1IJSaaA3CdciwyPc6LPAvQxmrfUrfG2vvGqdHIxSuCLXigbs3RsRzJbKw5LkWS4kQII7M8EzoPhSiKZDJZ3rlpMuEDmjargZkeuPrjWV8+hqNNFV/+He5HShcqauOmWnVWWP35145bvliDlbfeomPqbcd0XVWova2rMPhygkVP4NxXTSaaBdEOr+EAuTbmP0uo3gYdOtvXybrnWlsI2S5h43D/PmSa8HYWXKWFSrO44OklixI9hOiAqR0DYwid636wY+u6xMWpE3jyRPYeQuorQqx6cyQCjWy/3/8C+JqW61wCAAA= + H4sIAAAAAAAAA31R20oDMRD9lRKwT91tkm73BkX7oM+C9UWRMk1m22D3wiRbkbr/brY3iqiQh8nkzDmTc/YMSzBbljNqV58OrQsuRWuRKijxDlq34aGqSzZifeMafQb5pwPTcodkCoOa5Y5aHLG20eBQL8H5MclFFvA4kOlCZLmUOU/DWEQvfronWho/xg5yX1Mt4jjV07RYrYTkCFyJLMkyD22Mci31a2yca2w+HttwTbADB9SvOT6WYxlPFMdCRFNMhdAyTmKhEl+ILIvStLi1syjlQ5o166GeHbhuJvMb+eCP0lV4+be/Hymtr6gNm2rdW2HU+087fvPFaKyccQYty1/3TNVVhcqZuvKDzydY8AjWftSkg7kX7fEKDpBrY/6zhOqd16Gzfb2sfaqVAZ9tAVuL3duIKcI/sxD5NAmzmF+yKNGBjw5YvmegNaG1/Q/2bFOXuDx1PE8SycG9T31NiNVggUSgkHVd9w3m/wpQXAIAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:05 GMT + recorded_at: Fri, 28 Jun 2019 19:22:08 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_permissions/should_remove_a_Permission_from_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_permissions/should_remove_a_Permission_from_a_User_successfully.yml new file mode 100644 index 00000000..04bf5e5c --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_permissions/should_remove_a_Permission_from_a_User_successfully.yml @@ -0,0 +1,62 @@ +--- +http_interactions: +- request: + method: delete + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/permissions + body: + encoding: UTF-8 + string: permissions[][permission_name]=rubytest-test-permission-for-users&permissions[][resource_server_identifier]=rubytest-test-api-for-users + headers: + Accept: + - "*/*" + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (darwin17.7.0 x86_64) ruby/2.5.1p57 + Content-Type: + - application/x-www-form-urlencoded + Auth0-Client: + - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjcuMCIsImVudiI6eyJydWJ5IjoiMi41LjEifX0= + Authorization: + - Bearer API_TOKEN + Content-Length: + - '135' + Host: + - auth0-sdk-tests.auth0.com + response: + status: + code: 204 + message: No Content + headers: + Date: + - Fri, 28 Jun 2019 19:22:18 GMT + Content-Type: + - application/json; charset=utf-8 + Connection: + - keep-alive + Ot-Tracer-Spanid: + - 2a7f95ee15c5b0ae + Ot-Tracer-Traceid: + - 48efa1311af734ea + Ot-Tracer-Sampled: + - 'true' + X-Ratelimit-Limit: + - '10' + X-Ratelimit-Remaining: + - '9' + X-Ratelimit-Reset: + - '1561749739' + Vary: + - origin,accept-encoding + Cache-Control: + - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Strict-Transport-Security: + - max-age=15724800 + X-Robots-Tag: + - noindex, nofollow, nosnippet, noarchive + body: + encoding: UTF-8 + string: '' + http_version: + recorded_at: Fri, 28 Jun 2019 19:22:18 GMT +recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_roles/should_remove_a_Role_from_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_roles/should_remove_a_Role_from_a_User_successfully.yml similarity index 84% rename from spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_roles/should_remove_a_Role_from_a_User_successfully.yml rename to spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_roles/should_remove_a_Role_from_a_User_successfully.yml index 93d71da3..6e968fd5 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_roles/should_remove_a_Role_from_a_User_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_roles/should_remove_a_Role_from_a_User_successfully.yml @@ -2,10 +2,10 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/roles + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/roles body: encoding: UTF-8 - string: roles[]=rol_l0JF9dA0vW14gMPB + string: roles[]=rol_3hkVHzGY5N5F9per headers: Accept: - "*/*" @@ -29,23 +29,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:09 GMT + - Fri, 28 Jun 2019 19:22:14 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 243ce41747f9c7e7 + - 4ccf08d521eb4897 Ot-Tracer-Traceid: - - 4f73a3ba19c180ae + - 6a3e3e7944372fb8 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '7' + - '9' X-Ratelimit-Reset: - - '1561669212' + - '1561749735' Vary: - origin,accept-encoding Cache-Control: @@ -58,5 +58,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:09 GMT + recorded_at: Fri, 28 Jun 2019 19:22:14 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_unlink_user_account/should_unlink_two_Users_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_unlink_user_account/should_unlink_two_Users_successfully.yml index 9b19cb79..f8141e75 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_unlink_user_account/should_unlink_two_Users_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_unlink_user_account/should_unlink_two_Users_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/identities/auth0/auth0%7C5d152e4d9050fe0eadc7e0ef + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/identities/auth0/auth0%7C5d1668d6cef3310eafaaed4d body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:07 GMT + - Fri, 28 Jun 2019 19:22:11 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 2c2c718d1046b340 + - 359e0d124110c620 Ot-Tracer-Traceid: - - 6e44d7201dc39582 + - 45df32166bd37141 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '6' + - '9' X-Ratelimit-Reset: - - '1561669210' + - '1561749732' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6WPwWoCMRCG32XOuyXVrsvuyUIfQJCeish0MsGB3USSrEWk7+64WPXgQeopYfLNn//7OsA2Bicdf2BGaA/APUoHLcThe5855fJyGRJHjz3Pccgb80KhhwJOg1v6D9KnMWm94yhO2EKb48C/BVDwnilL8Lr3ecbLBab0E6It3zWcfRbCESnglLgW3YfKvlYTfiODaKgy3MxoWjf1TCGV2InlqNTYTkeSloEE1cVhl/Tnf6iWibWuxbh/SPqK39E/t3je3zamMo4No6VaD/eY/+oI/qf4xewBAAA= + H4sIAAAAAAAAA6WPwWrDMAyG30XnZCTLkiU5bbAHGIydSimKLTNBYg/bySil714ldFsPPYT2ZuRPv/5vc4Bv7wz39IYRoT0ADcg9tODHbh8pxPTvMQbyFgd6wTF+ZQ/KDZDAPLikfyH5WpJ2E3k2TBra6Ec6JqCctaQiOyt7n2c8fccQfpzX6auEk42scEESmBN3LPtQ6ryqal3Wpuvyx4wwU3nz3DQCicTEmrxQSzsZcfhwilFcDPZBLt+gmgaSuhr9fpX0P35F/9zifv9KkSmKXPwNIuknvc5/ewKK8N1k7AEAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:07 GMT + recorded_at: Fri, 28 Jun 2019 19:22:11 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_fields_not_indicated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_fields_not_indicated.yml index c8e69144..369f7a24 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_fields_not_indicated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_fields_not_indicated.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976?fields=email&include_fields=true + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799?fields=email&include_fields=true body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:04 GMT + - Fri, 28 Jun 2019 19:22:07 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 608dd79f10e8b0e4 + - 6779005d0d0ff136 Ot-Tracer-Traceid: - - 6889c24f228a4741 + - 2014cc8e46f2d101 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '4' + - '9' X-Ratelimit-Reset: - - '1561669208' + - '1561749729' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA6tWSs1NzMxRslIqKk2qLEktLtGFM0qLU4vyEnNTHRJLSzIM9JLzc5VqAZaP4MwwAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:00:04 GMT + recorded_at: Fri, 28 Jun 2019 19:22:07 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_the_fields_indicated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_the_fields_indicated.yml index 8959d1df..3d1373da 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_the_fields_indicated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_the_fields_indicated.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976?fields=picture,email,user_id&include_fields=false + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799?fields=picture,email,user_id&include_fields=false body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:04 GMT + - Fri, 28 Jun 2019 19:22:07 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 40b97c213ef4d9d6 + - 5a8a247b1603c5af Ot-Tracer-Traceid: - - 45b4af6e15497106 + - '092a123c73a321fb' Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669207' + - '1561749728' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA42Pz0oDMRDG32XOG0lXs0ty8w0E9WIpyziZ4uA2KUm2UkrfvdPSk3jw+vH7/p0g4Y4hQFk+j41rM0vlctM64B3KPB24yFY4QtjiXLmDZR+xcZywqa+3K2/sYPrxrbfB+eCGB2/dh9qT0Pfv9L9qJHJq0oQrhPUJKKfE1CQnNb7fMfOCtf7kEs3z0r6uPOEN0TmKTKLzwMWV6/mJLKIlZ9kP9Dj6cVBoX/JBe4pSqAH2WltfMwnO91/nTQdU+B/PzhfK52wTNQEAAA== + H4sIAAAAAAAAA42PTWrDMBCF7zJrq0gGO5Z2vUEh7aYlmLE0pkMdKUhySgi5eyYhq9BFt4/v/Z0h4p7AQV6nU6VS1Voo37UGaI+8jEfKPDMFcDMuhRpYDwErhRGr+FptrNK9aod3Y11rXLd5sb3+FHtk//Oc/lcNB4qVK1MB93UGn2IkXzlFMX48MPWGpfymHNTrWr9vvMc7InMEGVnmQRdM3w+hG+ZpMq0m1N7YjbUCHXI6Sk8WCiVA32rLNnnG5fHrsmvAZ/rHs8sVI3//7zUBAAA= http_version: - recorded_at: Thu, 27 Jun 2019 21:00:04 GMT + recorded_at: Fri, 28 Jun 2019 19:22:07 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_include_the_fields_indicated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_include_the_fields_indicated.yml index 1bf34fbd..e3fb8bb2 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_include_the_fields_indicated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_include_the_fields_indicated.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976?fields=picture,email,user_id&include_fields=true + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799?fields=picture,email,user_id&include_fields=true body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:04 GMT + - Fri, 28 Jun 2019 19:22:06 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 4bc5ce97472ce900 + - 7e3f13f47347b16b Ot-Tracer-Traceid: - - 20a7c93d7d50dd99 + - 2c8e9695639d3d9e Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669207' + - '1561749727' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAAz2O2QrCMBBF/yXQPmmTdMlSKOqLvyExmS5ga8kiiPrvpi0U5uHM5c5hPghGNTxQjWy4vz04f9whOLCTGuGsgu9Jpp8jOqAlvA0mHqzptzK0yqHURCmiKwKS6YJLzmJ1HrQPFmK19352NcYu66x6Ka/sYsMb4pwVmkBLywoEpSZnnFHNI1ApSyHak2tKQVLbzF1qmtWVFJckv8bRZsr29+K+KV0kG7J56tDvD8dDwUPiAAAA + H4sIAAAAAAAAAz2O2QrCMBBF/yXQPmm2tmlSKOqLvyFpki5ga8giiPrvpi0I83Dmcucwb2BmOd1BA1zsXsH4cPxD9MYtcjZnGcOIoXrM4ADW8DbpdLCln0oTxriueN91hGIjsSKiFiJV7aRCdCZVxxCsbxDycHDyKYN0qw3tiCgrFDY9KSvDCdGU1YyoOgERouS8P/m25Dh3rR1y3W6urLhk9JpG6QX+30v7rvSJXIR2GcD3By34NyriAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:00:04 GMT + recorded_at: Fri, 28 Jun 2019 19:22:06 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/should_retrieve_the_created_user.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/should_retrieve_the_created_user.yml index 7c074a10..a4e2a1d0 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/should_retrieve_the_created_user.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/should_retrieve_the_created_user.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976?include_fields=true + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799?include_fields=true body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:04 GMT + - Fri, 28 Jun 2019 19:22:05 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 4ff9be1b2d5c8c9f + - 14bd3e9f696a2f38 Ot-Tracer-Traceid: - - 6ec7bad70f01809e + - 6c1b14fa4c299a20 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '6' + - '9' X-Ratelimit-Reset: - - '1561669207' + - '1561749726' Vary: - origin,accept-encoding Cache-Control: @@ -59,7 +59,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA41RW2vDIBj9L0L7lIvaaGKgbH3Z82Dby8YoTr+0stYENR2j63+fSS+UMcbAh6Oey+dxj2ArzQbVyPVvnwF8SC+g9+Cs3MKt7MMaZ6rdogQNB9fsMylejU7LHTjTGNCobuTGQ4L6TssAeilD1FFMRIp5SstHimsmasYzgdlzlA9OSxN1aMz7YpowCoXCUmLFMAiuZqUoeaR2RoXeDXOsQ+h8nec+Wzm5k0G6Yc78CHPKZwpDQwoGFSGa8pITVUZAhCiqqrnx86LCUzfvVlM9H70ms8WE3sWltM0uD4/7o6WPyPVZZ1dDF0a9/+zjt2KMBhtMMOBR/bJHqrUWVDCtjcKnEy29l95/tE6nixg68JUcKdfF/FWJa3cxx53rG2L9Q6uM3Jx+4vCaIOXgH39x+AbHruaaFgIAAA== + H4sIAAAAAAAAA41R3WrDIBh9F6G9ahK1jdFA2Xqz68G2m41RrH5pZa0JajpG13efpl0pY4yBF0c9P5/HA4KdNFtUI9evPgL4kF1A78FZuYNb2YcNzlW7QxOUDq7Z36R4NTgt9+BMY0CjupFbDxPUd1oG0EsZoo5iIjLMMsofiagpqcsqFww/R3lyWpqoQ0PeZ6kJY1yXvFmtCMUgsSKiEiJSO6NC79IcmxA6XxeFz9dO7mWQLs1ZnGBB2VRhaMisBE6IpqxiRFURECFmnDc3fj7jeOzm3Xqs54PXaLoY0bu4lLb55eFxf7L0Ebk+7+w6dWHU288+fivGaLDBBAMe1S8HpFprQQXT2ih8OtOye+n9e+t0toihia/kQLku5q9KXLuPOe67vhTrH1pl5Pb8E8fXCVIO/vEXxy+A/S5FFgIAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:04 GMT + recorded_at: Fri, 28 Jun 2019 19:22:05 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user_logs/should_get_Logs_for_a_User_successfully.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user_logs/should_get_Logs_for_a_User_successfully.yml index 8df98eba..f52ff010 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user_logs/should_get_Logs_for_a_User_successfully.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user_logs/should_get_Logs_for_a_User_successfully.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d152e4c0aa0c50e96c37976/logs?per_page=2 + uri: https://auth0-sdk-tests.auth0.com/api/v2/users/auth0%7C5d1668d58fbb120ea0c19799/logs?per_page=2 body: encoding: US-ASCII string: '' @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:07 GMT + - Fri, 28 Jun 2019 19:22:11 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,21 +35,21 @@ http_interactions: Connection: - keep-alive Link: - - ; - rel="first", ; + - ; + rel="first", ; rel="last" Ot-Tracer-Spanid: - - 396f1a6b3192ecdc + - 639fae9675940ca0 Ot-Tracer-Traceid: - - 29487763309ea991 + - 2205766b0b922353 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669210' + - '1561749733' Vary: - origin,accept-encoding Cache-Control: @@ -63,7 +63,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6VTbW/TMBD+K1U+oqa1ncSu+4kKDQkQtGKd1g2hyEm81iyNM9thjUb+O+c02wpIiJf4Q+y75+6ee87+9BAUwslgHhCEeYhoSNiaoHnC5wmdcISug3Hg2tojrIV9IW1uVO2UrsAEhlxXlcyH84WVphJ7Ga6EtffaFOGicTtZOZWLHnKKT1UBIXBON4f4nWm0yFB8/7W82nhYqSDsCMFr694uN4erenl5dojI67svl5u2/DDDr/DHC3b7DPe1IWCxejM6O9SlNtKMFnVdPpdXtU9I2ATBwmBogHIqthANjiWQNSPvQqPp6OTUd+6EKm0wfwgyXbT+/5cknaxEX0aAKCi0xW3opHVeVrmH3OAxTdZ6W/i0aQZJX/ZBk1zvAV4P8kLEC//9wxwGqX6pE3Tj4K6Rpm9wL91O+yqr5fkagnbaev6l3qpq8gMhbcARx9E4MNLqxuQ++bTUU5/XTgtlgJzX/4+06rphMD28L/QtKXBCZJwjIVCeIMlpHjHO6OMMf27o9wpaZ+Deb9vH9CemdLjv8DBEJqwEFzR8pAIvwj8URAkjKOEJ5QgTzChFFMWYohlnEZ4hGjNEOMUUM86jGfbp/zuBsu91pkqgdiNKKz2r4zRTVd1oGFfXff4ONSIDg9ADAAA= + H4sIAAAAAAAAA6VTbW/TMBD+K1E+oqa1nRfH/USFhgQIWrFO60AochK3NUvjzHZYo5H/zjnNWAEJ8RJ/iH333N1zz9kfH/ySW+HPfYIwC1ASkHSN2ZzgeUynLCYf/Ilvu8YhjIF9KUyhZWOlqsEEhkLVtSjG85URuuYHEay4MfdKl8GitXtRW1nwAXKOz2QJIXDONsfojW4Vz1F0/6W62ThYJSHsBMFrY18vN8ebZnl9cQzJy7vP15uuepfiF/j9Fb19grvaELBYvfIujk2ltNDeommqp/KycQkJnSJYGAwtUM74DqLBsQSy2nMu5M28s9PQueWyMv78wc9V2bn/X5K0ouZDGQ6ioMCUt4EVxjpZxQFyg0e3eedswfdNO0r6fAiaFuoA8GaUFyKeue8f5jBK9Usdv5/4d63QQ4MHYffKVVktL9cQtFfG8a/UTtbTHwgpDY4oCie+Fka1unDJZ5WaubxmVkoN5Jz+f6RV34+DGeBDoa9xiZMkLeN0m+eYIMFRgRll7HGGPzf0ewWN1XDvd91j+jNTNt53eBg850aACxo+UWEIuYeCEpJiRnBMWRyylIY0IhRFhERxSBCNUkaTEJMI4ZgklFGX/r8TSPNW5bICalteGeFYnaaZyXqrYFx9/+kbX3HxUtADAAA= http_version: - recorded_at: Thu, 27 Jun 2019 21:00:07 GMT + recorded_at: Fri, 28 Jun 2019 19:22:11 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v2_search_engine_query.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v2_search_engine_query.yml index 3a774ad4..2aba916e 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v2_search_engine_query.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v2_search_engine_query.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:02 GMT + - Fri, 28 Jun 2019 19:22:03 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 30a4cd8a5c5baee2 + - 70f4c94a15e19ea8 Ot-Tracer-Traceid: - - 374f22634058371e + - 6d9e472c38d97340 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669206' + - '1561749725' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA4uuViotTi2Kz0xRslJKLC3JMKgxTUo2Nzc0TjU2MDU2TjMxTzExNzNJtLRUqo0FAOWV+kAuAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:00:02 GMT + recorded_at: Fri, 28 Jun 2019 19:22:03 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v3_search_engine_query.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v3_search_engine_query.yml index 6019c2fd..de46618c 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v3_search_engine_query.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v3_search_engine_query.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:02 GMT + - Fri, 28 Jun 2019 19:22:04 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 693a33141c667f0a + - 16938fdc72cd71ae Ot-Tracer-Traceid: - - 228d8b09047246dd + - 73f77e1f51ddc944 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '5' + - '9' X-Ratelimit-Reset: - - '1561669206' + - '1561749726' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA4uuViotTi2Kz0xRslJKLC3JMKgxTUo2Nzc0TjU2MDU2TjMxTzExNzNJtLRUqo0FAOWV+kAuAAAA http_version: - recorded_at: Thu, 27 Jun 2019 21:00:02 GMT + recorded_at: Fri, 28 Jun 2019 19:22:04 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_exclude_the_indicated_fields_when_paginated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_exclude_the_indicated_fields_when_paginated.yml index 3110d646..89d6d513 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_exclude_the_indicated_fields_when_paginated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_exclude_the_indicated_fields_when_paginated.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:02 GMT + - Fri, 28 Jun 2019 19:22:03 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 555ecb4a758b34c0 + - 1e05262d5ee683b8 Ot-Tracer-Traceid: - - 7208e7492660e2ea + - 6008be97594ffbbc Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '6' + - '9' X-Ratelimit-Reset: - - '1561669205' + - '1561749724' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA42QTUsDMRCG/0ugnrofyX4HivTiWVAvlrJMJ7NtsJtdkrQeav+72a2CBxEhhwnzzvPOvJsLox70sT2T1Z0mxWQHR0dLZqAnJtmBjCLrBsOW7OTItjpIGJz8If0ooAaFXHQF1oJnuBMVkmowSEeN/mRngPejk0ni4r2FM3iwMQ59ciuTqhNZU/IMsqIWFZSqLvK8LDDnVQe7pr53q7xO7+xq3N+p1cxaZOuFeAgPlYnnRSZg+N+QLlQHikezD2sYjW+/HKIVGa+9Jsfk5sJwMIbQ69CT7CUcOY1Ej+Dc+2BVtA4ekx5hlvzM4a8E7HAOPvY7rcnWPQ2o4fiV8XUbUKMCT6oFH3Qi5XWUiog3zzyXvJB5GZdp9RpG0dK/dDCObU8eAhWYvFyv208wzCg74gEAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:02 GMT + recorded_at: Fri, 28 Jun 2019 19:22:03 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_include_the_indicated_fields_when_paginated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_include_the_indicated_fields_when_paginated.yml index 5584b987..563cf43b 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_include_the_indicated_fields_when_paginated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_include_the_indicated_fields_when_paginated.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:02 GMT + - Fri, 28 Jun 2019 19:22:01 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 3d75f65c23b7197c + - 1d2e7a47604ea46d Ot-Tracer-Traceid: - - 0c51c1c22215a6d0 + - 49ddd2547af20abd Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '7' + - '9' X-Ratelimit-Reset: - - '1561669204' + - '1561749723' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAAyWOywrCMBBF/yWgK0ltHm0qFHXjT4jIOJk+wMaQpCKo/25UmMW9cDh3jk9GE4xXtmFSSVkprdRAzlKIN7ejB0z+StxRYis2Rwrn0WYU5jSsXxoMWCxFp9GIUuJF1Ei2wYz6EdMcKKNDSj5uiiLyPsAdEgSOt6n4x6LuhGyqUoLURtRQWZP3K42qrDu4NGYbW2XWy9D6fmnbn2sh9wtxyIfW8d8jX2Huf2XMaSDuXc/epw8ONK2S3gAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:02 GMT + recorded_at: Fri, 28 Jun 2019 19:22:01 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_not_include_other_fields_when_paginated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_not_include_other_fields_when_paginated.yml index 09824ca8..a51febf8 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_not_include_other_fields_when_paginated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_not_include_other_fields_when_paginated.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:02 GMT + - Fri, 28 Jun 2019 19:22:02 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 4f3592ac260eb795 + - 0477643f0e72a71d Ot-Tracer-Traceid: - - 40bd77b476c5343f + - 3f9d67a35b68077b Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '7' + - '9' X-Ratelimit-Reset: - - '1561669204' + - '1561749723' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA4uuVkrNTczMUbJSMjYxNjYzMTUxyUjNS0ktKs7Pc0itSMwtyEnVy0stUaqNBQDKCTEMLAAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 21:00:02 GMT + recorded_at: Fri, 28 Jun 2019 19:22:02 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_return_the_correct_number_of_results_when_paginated.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_return_the_correct_number_of_results_when_paginated.yml index 00a6c7c9..ca8225d5 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_return_the_correct_number_of_results_when_paginated.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_return_the_correct_number_of_results_when_paginated.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:01 GMT + - Fri, 28 Jun 2019 19:22:00 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,17 +35,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 6a4ad61423721292 + - 0a0555a968c45887 Ot-Tracer-Traceid: - - 54fceff10b5cdb51 + - 67f7cb8f65b69a74 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '9' X-Ratelimit-Reset: - - '1561669203' + - '1561749722' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAA42QT0/DMAzFv0uk7bR2Tfq/0gS7cEYCLkxT5SXuFtGmVZINpLHvjtsB4oAQUg6O/HvP9tucGXagW1axOInjLEmT5IBGoXW9ucU36IYWQ4OeLa5gfUKrG42KVQ20DhfMQIck/1YReXRoa00Ig6M/RO8pFKAkF00qC8FjuRO5RFVKQgct/dFOBt4PrlouXbi3cAIPNpR9t7yWy7wRcZnxGOK0EDlkqqBNs1QmPG9gVxY3bpUU0dyuhv1crSavWbyeiTt6UplwWmQ0pP/V0lF1wHAwe1rDaPnyyyFaofHaa3Ss2pyZ7I1B6TX1KvZER46S4B6ce+2tCtY0Y+QlTMjPHP5KwPYnmmO/0hrHuodeamg/M75syWpQ4FHV4IkTES+CSAS8fORJxdMqycIsyp9JKi3+i4NhqDv0QK7AqvPlsv0AxAdj3QsCAAA= http_version: - recorded_at: Thu, 27 Jun 2019 21:00:01 GMT + recorded_at: Fri, 28 Jun 2019 19:22:00 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/should_have_at_least_one_user.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/should_have_at_least_one_user.yml index 2f8204c2..e772f2d8 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/should_have_at_least_one_user.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/should_have_at_least_one_user.yml @@ -27,7 +27,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 21:00:01 GMT + - Fri, 28 Jun 2019 19:22:00 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -35,9 +35,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 63cc7e116312abc2 + - 35d7e62f3dce12a2 Ot-Tracer-Traceid: - - 3770f46d1a2fd8a0 + - 57062fce60861e71 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -45,7 +45,7 @@ http_interactions: X-Ratelimit-Remaining: - '9' X-Ratelimit-Reset: - - '1561669203' + - '1561749721' Vary: - origin,accept-encoding Cache-Control: @@ -61,5 +61,5 @@ http_interactions: string: !binary |- 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 http_version: - recorded_at: Thu, 27 Jun 2019 21:00:01 GMT + recorded_at: Fri, 28 Jun 2019 19:22:00 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_secondary_test_user.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_secondary_test_user.yml index f0572e77..3a09f2ec 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_secondary_test_user.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_secondary_test_user.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://auth0-sdk-tests.auth0.com/api/v2/users body: encoding: UTF-8 - string: '{"email":"rubytest-rubytest-username-secondary@auth0.com","password":"K9UbXpG2","connection":"Username-Password-Authentication","name":"rubytest-username-secondary"}' + string: '{"email":"rubytest-rubytest-username-secondary@auth0.com","password":"H4WbJ7Oa","connection":"Username-Password-Authentication","name":"rubytest-username-secondary"}' headers: Accept: - "*/*" @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 20:59:57 GMT + - Fri, 28 Jun 2019 19:21:58 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,9 +37,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 20e66a5d3761d3ab + - 7b99c1c17151a2c8 Ot-Tracer-Traceid: - - 2008367b2e8e559a + - 114a0d1f6fac1be1 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -47,7 +47,7 @@ http_interactions: X-Ratelimit-Remaining: - '8' X-Ratelimit-Reset: - - '1561669199' + - '1561749720' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA41R22oCMRD9l4A+ubvJXtwLSOtLnwttX1qKjMlEQzW7JFmLWP+9yVpFWpBCIDPMuQxnDgS3oDakIaZf7h1aF12K3qLRsMXIIm+1ALO/h96taczbLZmQMLrm/YV70KC+2KFRUqEgjYSNxQnpOwEOxQKcV0gpqyM6jdLyOaVNUTdFGbOyfvX0oLlQnkcG569CsCLFXNS0oBIpguCl/6SHdoq73oSN1s51tkkSG68M7MCBCRsnpzKReU6xkkzmTFZZlQmRMaj4lLFlXuJyemdneUXHZtatxmI2aI2y+Sh98I8LHV8i8P1J0vrK9HGnVyEVxT9+J3M7IiVQO+UUWtK8HYgfaOROtdpLvJwJj2DtZ2tENPf2Ac9hgFxHdCsc0+68jzkHGWztU8sVbH5ucnyfEG7wH1c5fgMpmViXNAIAAA== + H4sIAAAAAAAAA41RTWsCMRD9LwE9uR/ZrNu4IK2XngttLy1FxmSioZpdkqxFrP+9yVpFLEghhxfmfQxv9gQ3oNekJrZb7Dw6n5xB59Aa2GDiUDRGgt09QOdXeSqaDRmROLrU/aUHUu8+36LVSqMktYK1wxHpWgke5Rx8cChyOknyKin4C53UBa3HPC0YfQvy6DnXQUf65O+xpFXFZSVQMUZzBAWAspSB2mrhOxs3WnnfujrLXLq0sAUPNm6cHWGmyjJHrqgqqeKMMykZBS4qShflHS6qezcteT6003Y5lNPea8Bmg+IxPCFNeq4g/I+WLiDbpa1Zxla0+Lxu5nZFWqLx2mt0pH7fkzAwKLxuTLB4PQmewLmvxspkFuIjX0BPuazoVjm22YYceyoyxrrnRmhY/97k8DEiwuI/rnL4AVjra+M0AgAA http_version: - recorded_at: Thu, 27 Jun 2019 20:59:57 GMT + recorded_at: Fri, 28 Jun 2019 19:21:58 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_api.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_api.yml index 060635eb..9038718c 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_api.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_api.yml @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 20:59:58 GMT + - Fri, 28 Jun 2019 19:21:58 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,17 +37,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 7e96a88a1019d3ae + - 170178dd6862775d Ot-Tracer-Traceid: - - 2e73ab9765aba6b2 + - 4ed0639d51fe659e Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '9' + - '8' X-Ratelimit-Reset: - - '1561669199' + - '1561749720' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA4WPwWrDMBBE/2XPMThyrBR/RnssZVnLK7NElYxWTggh/x7Zl0Avvexh9s0w8wCZYIB+OvaGT2xddzS2tdT156nrDRwg0i9XIq/jvbCWZj+0SONTblblrBWSiWMRL5z/RSmEdMPkfZDISM6xKgyegvIB9CILuhS1xmF14ZVzjaUxMHrJWnChXO7oglTi7SvpwhGDeC6y1f2wp7b9K++BNx5hOJvtqzJHiTNSmGvrzy/T29pPXVq4Jn8/4Eph3bZvO4Zdh+fP8wW0RWbcMwEAAA== + H4sIAAAAAAAAA4WPwY7CMAxE/8VnKrVlG0I/A46rlZWmTmURkipOQQjx75v2gsSFiw/jN6OZJ/AIPXRjo5Qele4ad9S10s2hafd6DzsI5kqFSMvwyCS52o6ZuXIxVYtQkgLxSCGzY0pfUeN9vGN0znMgNNaSCPTOeKEdyIVntDFIicPiwhulEmsGT+g4ScbZpPxA67kQb1+OFwro2VHmta5WP3X9KW+BdxqgP7TrV3gKHCY0fiqtT+e2U6Wf2DhTSf59ws34Zd2+7ug3HV5/r38xxKMfMwEAAA== http_version: - recorded_at: Thu, 27 Jun 2019 20:59:58 GMT + recorded_at: Fri, 28 Jun 2019 19:21:58 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_role.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_role.yml index 56d6b4cc..089685f6 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_role.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_role.yml @@ -29,7 +29,7 @@ http_interactions: message: OK headers: Date: - - Thu, 27 Jun 2019 20:59:58 GMT + - Fri, 28 Jun 2019 19:21:58 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,17 +37,17 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 66bc1c3423f75da7 + - 3a61bd25691765ef Ot-Tracer-Traceid: - - 529e502a4660ac37 + - '08e5f51838d4ddb6' Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '7' X-Ratelimit-Reset: - - '1561669200' + - '1561749721' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA6tWykxRslIqys+JzzHwcrNMcTQoCzc0SfcNcFLSUcpLzE0FyZYmVZakFpfoggmg2lTdtPwi3dLi1KJioKqU1OLkosyCksz8PKDiEKAaBZAaBWTxWgBqcEogaQAAAA== + H4sIAAAAAAAAA6tWykxRslIqys+JN87IDvOoco809TN1syxILVLSUcpLzE0FyZYmVZakFpfoggmg2lTdtPwi3dLi1KJioKqU1OLkosyCksz8PKDiEKAaBZAaBWTxWgC2Xr2LaQAAAA== http_version: - recorded_at: Thu, 27 Jun 2019 20:59:58 GMT + recorded_at: Fri, 28 Jun 2019 19:21:58 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_user.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_user.yml index 68edd05d..fa4d906e 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_user.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_user.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://auth0-sdk-tests.auth0.com/api/v2/users body: encoding: UTF-8 - string: '{"email":"rubytest-rubytest-username@auth0.com","password":"0wA65rM4YlC7Th4","connection":"Username-Password-Authentication","name":"rubytest-username"}' + string: '{"email":"rubytest-rubytest-username@auth0.com","password":"KkScYmWePz","connection":"Username-Password-Authentication","name":"rubytest-username"}' headers: Accept: - "*/*" @@ -20,7 +20,7 @@ http_interactions: Authorization: - Bearer API_TOKEN Content-Length: - - '152' + - '147' Host: - auth0-sdk-tests.auth0.com response: @@ -29,7 +29,7 @@ http_interactions: message: Created headers: Date: - - Thu, 27 Jun 2019 20:59:56 GMT + - Fri, 28 Jun 2019 19:21:57 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: @@ -37,9 +37,9 @@ http_interactions: Connection: - keep-alive Ot-Tracer-Spanid: - - 45dbd2ae163eacbb + - 5945836377b47fab Ot-Tracer-Traceid: - - 5e1686ee3e01a738 + - '00856f2e13bae885' Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: @@ -47,7 +47,7 @@ http_interactions: X-Ratelimit-Remaining: - '9' X-Ratelimit-Reset: - - '1561669198' + - '1561749719' Vary: - origin,accept-encoding Cache-Control: @@ -61,7 +61,7 @@ http_interactions: body: encoding: ASCII-8BIT string: !binary |- - H4sIAAAAAAAAA41RW2vDIBj9L0L7lIvaaGKgbH3Z82Dby8YoTr+0stYENR2j63+fSS+UMcbAh6Oey+dxj2ArzQbVyPVvnwF8SC+g9+Cs3MKt7MMaZ6rdogQNB9fsMylejU7LHTjTGNCobuTGQ4L6TssAeilD1FFMRIp5SstHimsmasYzgdlzlA9OSxN1aMz7YpowCoXCUmLFMAiuZqUoeaR2RoXeDXOsQ+h8nec+Wzm5k0G6Yc78CHPKZwpDQwoGFSGa8pITVUZAhCiqqrnx86LCUzfvVlM9H70ms8WE3sWltM0uD4/7o6WPyPVZZ1dDF0a9/+zjt2KMBhtMMOBR/bJHqrUWVDCtjcKnEy29l95/tE6nixg68JUcKdfF/FWJa3cxx53rG2L9Q6uM3Jx+4vCaIOXgH39x+AbHruaaFgIAAA== + H4sIAAAAAAAAA41R3WrDIBh9F6G9ahK1jdFA2Xqz68G2m41RrH5pZa0JajpG13efpl0pY4yBF0c9P5/HA4KdNFtUI9evPgL4kF1A78FZuYNb2YcNzlW7QxOUDq7Z36R4NTgt9+BMY0CjupFbDxPUd1oG0EsZoo5iIjLMMsofiagpqcsqFww/R3lyWpqoQ0PeZ6kJY1yXvFmtCMUgsSKiEiJSO6NC79IcmxA6XxeFz9dO7mWQLs1ZnGBB2VRhaMisBE6IpqxiRFURECFmnDc3fj7jeOzm3Xqs54PXaLoY0bu4lLb55eFxf7L0Ebk+7+w6dWHU288+fivGaLDBBAMe1S8HpFprQQXT2ih8OtOye+n9e+t0toihia/kQLku5q9KXLuPOe67vhTrH1pl5Pb8E8fXCVIO/vEXxy+A/S5FFgIAAA== http_version: - recorded_at: Thu, 27 Jun 2019 20:59:56 GMT + recorded_at: Fri, 28 Jun 2019 19:21:57 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_api.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_api.yml index 062d9fb9..a8ad03ac 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_api.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_api.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5d152e4e6c312606a357d352 + uri: https://auth0-sdk-tests.auth0.com/api/v2/resource-servers/5d1668d6851f980681712383 body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:12 GMT + - Fri, 28 Jun 2019 19:22:20 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - 0a5a858b2b3c23d6 + - 558eeafa72b2004a Ot-Tracer-Traceid: - - 0144f9ed30919fa3 + - 3919853d1186f854 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '9' + - '8' X-Ratelimit-Reset: - - '1561669213' + - '1561749742' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:12 GMT + recorded_at: Fri, 28 Jun 2019 19:22:20 GMT recorded_with: VCR 4.0.0 diff --git a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_role.yml b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_role.yml index 3a6a1bec..754ee0b8 100644 --- a/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_role.yml +++ b/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_role.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_l0JF9dA0vW14gMPB + uri: https://auth0-sdk-tests.auth0.com/api/v2/roles/rol_3hkVHzGY5N5F9per body: encoding: US-ASCII string: '' @@ -27,23 +27,23 @@ http_interactions: message: No Content headers: Date: - - Thu, 27 Jun 2019 21:00:12 GMT + - Fri, 28 Jun 2019 19:22:20 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Ot-Tracer-Spanid: - - '09f62f0a0929c17e' + - 22e1927378b4d7bc Ot-Tracer-Traceid: - - 37f545be513d9ef2 + - 67bc7f5f37455748 Ot-Tracer-Sampled: - 'true' X-Ratelimit-Limit: - '10' X-Ratelimit-Remaining: - - '8' + - '7' X-Ratelimit-Reset: - - '1561669214' + - '1561749743' Vary: - origin,accept-encoding Cache-Control: @@ -56,5 +56,5 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Thu, 27 Jun 2019 21:00:12 GMT + recorded_at: Fri, 28 Jun 2019 19:22:20 GMT recorded_with: VCR 4.0.0 diff --git a/spec/integration/lib/auth0/api/v2/api_users_spec.rb b/spec/integration/lib/auth0/api/v2/api_users_spec.rb index 8d5f8fd6..90c128d5 100644 --- a/spec/integration/lib/auth0/api/v2/api_users_spec.rb +++ b/spec/integration/lib/auth0/api/v2/api_users_spec.rb @@ -1,7 +1,8 @@ require 'spec_helper' describe Auth0::Api::V2::Users do - attr_reader :client, :test_user_name, :test_user_email, :test_user, :test_user_secondary, :test_role + attr_reader :client, :test_user_name, :test_user_email, :test_user, :test_user_secondary, + :test_role, :test_api_name, :test_permission_name, :test_permission before(:all) do @client ||= Auth0::Client.new(v2_creds) @@ -12,6 +13,7 @@ @test_api_name = "#{entity_suffix}-test-api-for-users" @test_api_scope = 'test:scope' + @test_permission_name = "#{entity_suffix}-test-permission-for-users" @test_permission = Permission.new("#{entity_suffix}-test-permission-for-users", @test_api_name) VCR.use_cassette('Auth0_Api_V2_Users/create_test_user') do @@ -241,9 +243,48 @@ end end - describe '.remove_roles', vcr: true do + describe '.remove_user_roles', vcr: true do it 'should remove a Role from a User successfully' do - expect { client.remove_roles test_user['user_id'], [ test_role['id'] ] }.to_not raise_error + expect { client.remove_user_roles test_user['user_id'], [ test_role['id'] ] }.to_not raise_error + end + end + + describe '.get_enrollments', vcr: true do + it 'should get Enrollments for a User successfully' do + expect { client.get_enrollments test_user['user_id'] }.to_not raise_error + end + end + + describe '.add_user_permissions', vcr: true do + it 'should add a Permissions for a User successfully' do + expect { client.add_user_permissions test_user['user_id'], [ test_permission ] }.to_not raise_error + end + end + + describe '.get_user_permissions', vcr: true do + let(:test_get_user_permissions) do + client.get_user_permissions test_user['user_id'] + end + + it 'should get exactly 1 Permission for a User successfully' do + expect( test_get_user_permissions.count ).to eq 1 + end + + it 'should get the correct Permission for a User successfully' do + expect( test_get_user_permissions.first['permission_name'] ).to eq test_permission_name + expect( test_get_user_permissions.first['resource_server_name'] ).to eq test_api_name + end + end + + describe '.remove_user_permissions', vcr: true do + it 'should remove a Permission from a User successfully' do + expect { client.remove_user_permissions test_user['user_id'], [ test_permission ] }.to_not raise_error + end + end + + describe '.invalidate_browsers', vcr: true do + it 'should invalidate MFA browsers for the User successfully' do + expect { client.invalidate_browsers test_user['user_id'] }.to_not raise_error end end