auth0 5.5.0 → 5.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/Gemfile +1 -0
  4. data/README.md +10 -8
  5. data/auth0.gemspec +1 -1
  6. data/lib/auth0/api/authentication_endpoints.rb +40 -16
  7. data/lib/auth0/api/v2/actions.rb +210 -0
  8. data/lib/auth0/api/v2/grants.rb +49 -0
  9. data/lib/auth0/api/v2.rb +4 -0
  10. data/lib/auth0/exception.rb +12 -0
  11. data/lib/auth0/mixins/api_token_struct.rb +0 -1
  12. data/lib/auth0/mixins/httpproxy.rb +10 -5
  13. data/lib/auth0/mixins/initializer.rb +1 -3
  14. data/lib/auth0/mixins/token_management.rb +32 -0
  15. data/lib/auth0/mixins/validation.rb +1 -1
  16. data/lib/auth0/mixins.rb +2 -0
  17. data/lib/auth0/version.rb +1 -1
  18. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_change_password/should_trigger_a_password_reset.yml +53 -23
  19. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_fail_with_an_incorrect_email.yml +49 -18
  20. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_fail_with_an_incorrect_password.yml +49 -18
  21. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_fail_with_an_invalid_audience.yml +46 -15
  22. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_login_successfully_with_a_custom_audience.yml +49 -79
  23. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_login_successfully_with_a_default_scope.yml +49 -80
  24. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_saml_metadata/should_retrieve_SAML_metadata.yml +74 -21
  25. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_userinfo/should_fail_as_not_authorized.yml +53 -14
  26. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_userinfo/should_return_the_userinfo.yml +106 -48
  27. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_wsfed_metadata/should_retrieve_WSFED_metadata.yml +62 -19
  28. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/create_test_user.yml +57 -22
  29. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/delete_test_user.yml +38 -20
  30. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Blacklists/_add_token_to_blacklist/should_add_a_token_to_the_blacklist.yml +37 -19
  31. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Blacklists/_blacklisted_tokens/should_get_the_added_token_from_the_blacklist.yml +38 -23
  32. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_client_grants/should_return_at_least_1_result.yml +42 -26
  33. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_client_grants/should_return_the_test_client_grant.yml +42 -26
  34. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_delete_client_grant/should_delete_the_test_client_grant.yml +38 -20
  35. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_patch_client_grant/should_update_the_test_client_grant.yml +39 -27
  36. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/create_test_client.yml +44 -82
  37. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/create_test_client_grant.yml +39 -27
  38. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/delete_test_client.yml +38 -20
  39. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/delete_test_client_grant.yml +38 -20
  40. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_client/_filters/should_exclude_and_include_fields_properly.yml +43 -56
  41. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_client/_filters/should_include_the_specified_fields.yml +39 -28
  42. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_client/should_get_the_test_client.yml +43 -57
  43. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_exclude_fields_not_specified.yml +43 -24
  44. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_exclude_the_specified_fields.yml +236 -96
  45. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_include_the_specified_fields.yml +52 -27
  46. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_paginate_results.yml +39 -25
  47. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/should_get_at_least_one_client.yml +235 -96
  48. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_delete_client/should_delete_the_test_client_without_an_error.yml +38 -20
  49. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_patch_client/should_update_the_client_with_the_correct_attributes.yml +43 -57
  50. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/create_test_client.yml +45 -82
  51. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_exclude_the_fields_indicated.yml +15 -16
  52. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_include_the_fields_indicated.yml +15 -16
  53. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/should_find_the_correct_connection.yml +15 -16
  54. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_include_previously-created_connection_when_filtered.yml +14 -15
  55. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_exclude_the_fields_indicated_from_filtered_results.yml +14 -15
  56. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_include_the_fields_indicated_from_filtered_results.yml +14 -15
  57. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_include_the_previously_created_connection.yml +15 -15
  58. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_not_be_empty.yml +15 -15
  59. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection/should_delete_the_connection.yml +15 -16
  60. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection_user/should_delete_the_user_created.yml +29 -27
  61. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_update_connection/should_update_the_connection.yml +15 -16
  62. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/create_test_connection.yml +16 -17
  63. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/create_test_user.yml +40 -32
  64. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/create_test_credential.yml +40 -30
  65. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/create_test_user.yml +40 -32
  66. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/delete_test_user.yml +38 -20
  67. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_configure_provider/should_configure_a_new_email_provider.yml +37 -28
  68. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_delete_provider/should_delete_the_existing_email_provider_without_an_error.yml +37 -19
  69. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_delete_provider/should_throw_an_error_trying_to_get_the_email_provider.yml +34 -16
  70. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_get_provider/_filters/should_get_the_existing_email_provider_with_specific_fields.yml +36 -27
  71. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_get_provider/_filters/should_get_the_existing_email_provider_without_specific_fields.yml +36 -28
  72. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_get_provider/should_get_the_existing_email_provider.yml +36 -28
  73. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_update_provider/should_update_the_existing_email_provider.yml +36 -28
  74. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/delete_existing_provider.yml +37 -19
  75. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_export_users_and_get_job/should_create_an_export_users_job_successfully.yml +38 -23
  76. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_export_users_and_get_job/should_get_the_export_users_job.yml +76 -46
  77. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_import_users_and_get_job/should_create_an_import_users_job_successfully.yml +46 -25
  78. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_import_users_and_get_job/should_get_the_import_users_job.yml +84 -48
  79. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_create_a_new_verification_email_job.yml +77 -47
  80. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_get_the_completed_verification_email.yml +116 -71
  81. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_reject_an_invalid_client_id.yml +76 -39
  82. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/delete_imported_user.yml +76 -43
  83. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/search_for_connection_id.yml +43 -23
  84. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_log/should_match_the_created_log_entry.yml +224 -196
  85. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_log/should_not_be_empty.yml +224 -196
  86. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_exclude_fields_not_specified.yml +38 -25
  87. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_exclude_the_specified_fields.yml +39 -39
  88. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_have_one_log_entry.yml +41 -40
  89. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_include_the_specified_fields.yml +38 -26
  90. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_from/should_take_one_log_entry.yml +229 -189
  91. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/create_test_user.yml +40 -32
  92. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/delete_test_disabled_rule.yml +38 -20
  93. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/delete_test_enabled_rule.yml +38 -20
  94. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/delete_test_user.yml +38 -20
  95. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_delete_resource_server/should_delete_the_test_server_without_an_error.yml +38 -20
  96. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_patch_resource_server/should_update_the_resource_server_with_the_correct_attributes.yml +39 -24
  97. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_server/should_get_the_test_server.yml +39 -24
  98. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_get_the_test_server.yml +146 -23
  99. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_return_at_least_1_result.yml +146 -23
  100. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_return_the_first_page_of_one_result.yml +131 -24
  101. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/create_test_server.yml +40 -25
  102. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/delete_test_server.yml +38 -20
  103. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml +39 -32
  104. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml +38 -31
  105. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml +42 -30
  106. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml +38 -30
  107. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml +37 -30
  108. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml +37 -30
  109. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml +37 -30
  110. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml +37 -30
  111. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml +37 -29
  112. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml +39 -29
  113. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml +37 -30
  114. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml +38 -31
  115. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml +39 -31
  116. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml +38 -31
  117. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml +36 -26
  118. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml +36 -26
  119. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_delete_rule/should_delete_the_test_disabled_rule_without_an_error.yml +38 -20
  120. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_delete_rule/should_delete_the_test_enabled_rule_without_an_error.yml +38 -20
  121. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/_filters/should_exclude_the_fields_not_specified.yml +40 -27
  122. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/_filters/should_exclude_the_specified_fields.yml +40 -27
  123. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/_filters/should_include_the_specified_fields.yml +39 -26
  124. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/should_get_a_specific_rule.yml +40 -27
  125. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_exclude_fields_not_specified.yml +80 -24
  126. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_include_the_specified_fields.yml +82 -25
  127. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_return_at_least_1_disabled_rule.yml +59 -27
  128. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_return_at_least_1_enabled_rule.yml +68 -26
  129. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_return_paginated_results.yml +78 -49
  130. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/should_return_at_least_1_rule.yml +84 -28
  131. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_update_rule/should_update_the_disabled_rule_to_be_enabled.yml +40 -27
  132. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/create_test_disabled_rule.yml +42 -29
  133. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/create_test_enabled_rule.yml +42 -29
  134. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Stats/_active_users/should_have_at_least_one_active_user.yml +38 -23
  135. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Stats/_daily_stats/should_have_at_least_one_stats_entry_for_the_timeframe.yml +38 -27
  136. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_get_tenant_settings/should_get_the_tenant_settings.yml +72 -59
  137. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_get_tenant_settings_with_specific_fields/should_exclude_a_field_not_requested.yml +38 -25
  138. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_get_tenant_settings_with_specific_fields/should_include_the_field_requested.yml +38 -25
  139. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_update_tenant_settings/should_revert_the_tenant_name.yml +72 -58
  140. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_update_tenant_settings/should_update_the_tenant_settings_with_a_new_tenant_name.yml +72 -58
  141. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/_post_email_verification/should_create_an_email_verification_ticket.yml +39 -26
  142. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/_post_password_change/should_create_a_password_change_ticket.yml +39 -26
  143. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/create_test_user.yml +40 -32
  144. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/delete_test_user.yml +38 -20
  145. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_permissions/should_add_a_Permissions_for_a_User_successfully.yml +39 -35
  146. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_roles/should_add_a_Role_to_a_User_successfully.yml +37 -25
  147. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_User_successfully.yml +36 -24
  148. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_secondary_User_successfully.yml +36 -24
  149. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user_provider/should_attempt_to_delete_the_MFA_provider_for_the_User.yml +36 -24
  150. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_enrollments/should_get_Enrollments_for_a_User_successfully.yml +37 -28
  151. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_exactly_1_Permission_for_a_User_successfully.yml +37 -28
  152. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_the_correct_Permission_for_a_User_successfully.yml +37 -28
  153. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_roles/should_get_Roles_for_a_User_successfully.yml +38 -28
  154. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_invalidate_browsers/should_invalidate_MFA_browsers_for_the_User_successfully.yml +36 -24
  155. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_link_user_account/should_link_two_Users_successfully.yml +38 -29
  156. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_patch_user/should_patch_the_User_successfully.yml +38 -28
  157. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_permissions/should_remove_a_Permission_from_a_User_successfully.yml +39 -27
  158. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_roles/should_remove_a_Role_from_a_User_successfully.yml +39 -27
  159. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_unlink_user_account/should_unlink_two_Users_successfully.yml +37 -28
  160. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_fields_not_indicated.yml +37 -28
  161. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_the_fields_indicated.yml +37 -28
  162. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_include_the_fields_indicated.yml +37 -28
  163. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/should_retrieve_the_created_user.yml +37 -28
  164. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user_logs/should_get_Logs_for_a_User_successfully.yml +42 -30
  165. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v2_search_engine_query.yml +36 -27
  166. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v3_search_engine_query.yml +36 -27
  167. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_exclude_the_indicated_fields_when_paginated.yml +36 -27
  168. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_include_the_indicated_fields_when_paginated.yml +36 -27
  169. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_not_include_other_fields_when_paginated.yml +36 -27
  170. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_return_the_correct_number_of_results_when_paginated.yml +36 -27
  171. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/should_have_at_least_one_user.yml +37 -27
  172. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_secondary_test_user.yml +38 -29
  173. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_api.yml +38 -29
  174. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_role.yml +39 -29
  175. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_user.yml +38 -29
  176. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_api.yml +36 -24
  177. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_role.yml +42 -28
  178. data/spec/integration/lib/auth0/api/v2/api_client_grants_spec.rb +0 -9
  179. data/spec/integration/lib/auth0/api/v2/api_connections_spec.rb +3 -3
  180. data/spec/integration/lib/auth0/api/v2/api_email_spec.rb +0 -31
  181. data/spec/integration/lib/auth0/api/v2/api_jobs_spec.rb +4 -4
  182. data/spec/integration/lib/auth0/api/v2/api_logs_spec.rb +5 -5
  183. data/spec/integration/lib/auth0/api/v2/api_roles_spec.rb +3 -3
  184. data/spec/integration/lib/auth0/api/v2/api_tickets_spec.rb +4 -4
  185. data/spec/integration/lib/auth0/api/v2/api_user_blocks_spec.rb +8 -5
  186. data/spec/integration/lib/auth0/api/v2/api_users_spec.rb +6 -33
  187. data/spec/lib/auth0/api/v2/actions_spec.rb +312 -0
  188. data/spec/lib/auth0/api/v2/grants_spec.rb +91 -0
  189. data/spec/lib/auth0/client_spec.rb +3 -3
  190. data/spec/lib/auth0/mixins/httpproxy_spec.rb +104 -0
  191. data/spec/lib/auth0/mixins/initializer_spec.rb +84 -4
  192. data/spec/lib/auth0/mixins/token_management_spec.rb +125 -0
  193. data/spec/spec_helper.rb +1 -1
  194. data/spec/support/dummy_class_for_proxy.rb +1 -0
  195. data/spec/support/dummy_class_for_tokens.rb +17 -0
  196. metadata +16 -25
  197. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Anomaly/_check_if_ip_is_blocked/should_return_200_response_code.yml +0 -65
  198. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Anomaly/_remove_ip_block/should_remove_an_IP_successfully.yml +0 -60
  199. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_client_grants/should_return_the_first_page_of_one_result.yml +0 -66
  200. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_delete_device_credential/should_delete_the_test_credential_without_an_error.yml +0 -54
  201. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_device_credentials/_filter_by_type/should_exclude_the_test_credential.yml +0 -59
  202. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_device_credentials/should_have_at_least_1_entry.yml +0 -62
  203. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_device_credentials/should_include_the_test_credential.yml +0 -62
  204. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/delete_test_credential.yml +0 -54
  205. data/spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb +0 -17
  206. data/spec/integration/lib/auth0/api/v2/api_device_credentials_spec.rb +0 -128
@@ -2,25 +2,25 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: patch
5
- uri: https://auth0-sdk-tests.auth0.com/api/v2/client-grants/cgr_jJGnPJ11iO9bjc2i?page=0&per_page=1
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/client-grants/cgr_j6Sld05vF0Sxr2Le
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"scope":["new:scope"]}'
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*"
12
- Accept-Encoding:
13
- - gzip, deflate
14
12
  User-Agent:
15
- - Ruby/2.3.1
13
+ - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0
16
14
  Content-Type:
17
15
  - application/json
18
16
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
17
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0=
20
18
  Authorization:
21
19
  - Bearer API_TOKEN
22
20
  Content-Length:
23
21
  - '23'
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
24
  Host:
25
25
  - auth0-sdk-tests.auth0.com
26
26
  response:
@@ -29,36 +29,48 @@ http_interactions:
29
29
  message: OK
30
30
  headers:
31
31
  Date:
32
- - Fri, 05 Oct 2018 21:12:29 GMT
32
+ - Fri, 03 Sep 2021 20:16:16 GMT
33
33
  Content-Type:
34
34
  - application/json; charset=utf-8
35
35
  Transfer-Encoding:
36
36
  - chunked
37
37
  Connection:
38
38
  - keep-alive
39
+ Cf-Ray:
40
+ - 6891a7a59f87318b-LAX
41
+ Cache-Control:
42
+ - no-cache
43
+ Strict-Transport-Security:
44
+ - max-age=31536000
45
+ Vary:
46
+ - origin,accept-encoding
47
+ Cf-Cache-Status:
48
+ - DYNAMIC
49
+ Expect-Ct:
50
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
51
+ Ot-Baggage-Auth0-Request-Id:
52
+ - 6891a7a59f87318b
53
+ Ot-Tracer-Sampled:
54
+ - 'true'
55
+ Ot-Tracer-Spanid:
56
+ - 1c8f2e2d7f651fd5
57
+ Ot-Tracer-Traceid:
58
+ - 7f9a6ad276f13e3e
59
+ X-Content-Type-Options:
60
+ - nosniff
39
61
  X-Ratelimit-Limit:
40
- - '10'
62
+ - '50'
41
63
  X-Ratelimit-Remaining:
42
- - '6'
64
+ - '49'
43
65
  X-Ratelimit-Reset:
44
- - '1538773952'
45
- Vary:
46
- - origin,accept-encoding
47
- Cache-Control:
48
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
49
- Content-Encoding:
50
- - gzip
51
- Strict-Transport-Security:
52
- - max-age=15724800
53
- X-Robots-Tag:
54
- - noindex, nofollow, nosnippet, noarchive
66
+ - '1630700177'
67
+ Server:
68
+ - cloudflare
69
+ Alt-Svc:
70
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
71
+ ma=86400
55
72
  body:
56
73
  encoding: ASCII-8BIT
57
- string: !binary |-
58
- H4sIAAAAAAAAAyXL0QqCMBSA4XfZdbqUIOZlNQIHWRBdGCHrbORc6mjHiqJ3
59
- b9nlD9//JkaRjMDlVjX5utvmSWIKdm4gNWRC4Gp0h9VIavFs2GtRSrURbV4K
60
- ZpezVTEv+e5gC77ngctBBQ/6pxGdzyiVA9bTyCsbofbo47Fj6FsqnaH3lIbN
61
- Q+/CcySdfmT/OH2+8RXsgJkAAAA=
62
- http_version:
63
- recorded_at: Fri, 05 Oct 2018 21:12:29 GMT
64
- recorded_with: VCR 4.0.0
74
+ string: '{"id":"cgr_j6Sld05vF0Sxr2Le","client_id":"qVx7qDuyruWWCfkTrxeNT74FI6mJc4Vy","audience":"https://auth0-sdk-tests.auth0.com/api/v2/","scope":["new:scope"]}'
75
+ recorded_at: Fri, 03 Sep 2021 20:16:16 GMT
76
+ recorded_with: VCR 6.0.0
@@ -5,22 +5,22 @@ http_interactions:
5
5
  uri: https://auth0-sdk-tests.auth0.com/api/v2/clients
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"name":"ClientGrantTestClient-rubytest"}'
8
+ string: '{"name":"ClientGrantTestClient-rubytest-210908"}'
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*"
12
- Accept-Encoding:
13
- - gzip, deflate
14
12
  User-Agent:
15
- - Ruby/2.3.1
13
+ - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0
16
14
  Content-Type:
17
15
  - application/json
18
16
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
17
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0=
20
18
  Authorization:
21
19
  - Bearer API_TOKEN
22
20
  Content-Length:
23
- - '41'
21
+ - '48'
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
24
  Host:
25
25
  - auth0-sdk-tests.auth0.com
26
26
  response:
@@ -29,90 +29,52 @@ http_interactions:
29
29
  message: Created
30
30
  headers:
31
31
  Date:
32
- - Fri, 05 Oct 2018 21:12:28 GMT
32
+ - Fri, 03 Sep 2021 20:16:15 GMT
33
33
  Content-Type:
34
34
  - application/json; charset=utf-8
35
35
  Transfer-Encoding:
36
36
  - chunked
37
37
  Connection:
38
38
  - keep-alive
39
+ Cf-Ray:
40
+ - 6891a79e3af55239-LAX
41
+ Cache-Control:
42
+ - no-cache
43
+ Strict-Transport-Security:
44
+ - max-age=31536000
45
+ Vary:
46
+ - origin,accept-encoding
47
+ Cf-Cache-Status:
48
+ - DYNAMIC
49
+ Expect-Ct:
50
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
51
+ Ot-Baggage-Auth0-Request-Id:
52
+ - 6891a79e3af55239
53
+ Ot-Tracer-Sampled:
54
+ - 'true'
55
+ Ot-Tracer-Spanid:
56
+ - 7216d2324b1ac69b
57
+ Ot-Tracer-Traceid:
58
+ - 1f77309d7415fa07
59
+ X-Content-Type-Options:
60
+ - nosniff
39
61
  X-Ratelimit-Limit:
40
- - '10'
62
+ - '50'
41
63
  X-Ratelimit-Remaining:
42
- - '9'
64
+ - '49'
43
65
  X-Ratelimit-Reset:
44
- - '1538773950'
45
- Vary:
46
- - origin,accept-encoding
47
- Cache-Control:
48
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
49
- Content-Encoding:
50
- - gzip
51
- Strict-Transport-Security:
52
- - max-age=15724800
53
- X-Robots-Tag:
54
- - noindex, nofollow, nosnippet, noarchive
66
+ - '1630700176'
67
+ Server:
68
+ - cloudflare
69
+ Alt-Svc:
70
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
71
+ ma=86400
55
72
  body:
56
73
  encoding: ASCII-8BIT
57
- string: !binary |-
58
- H4sIAAAAAAAAA6WYWdOi2B2Hv8qUt05HFhHtqrk4LCr7LkiSsthEdmQTmZrv
59
- Hg491elOJvVW5fVG2Z6zwHl++P991UWlV3arryuv7x7IlzbMvnRR27WrX1dx
60
- Xvlevvp69/I2+nWVtLeuyqLyFpVhXSVld0vq2yPywqi5dU3fdlH4/dzSK6KZ
61
- SedJVHanZm7BnKHfNr80vf+GbawW5j1p2u5We033Xn2dOfPVbVvdwqT1/PwH
62
- ZNBUbXurmiROyhvs7PcjVRIGt6Aq71VTLGP5c39UBs27Xrr1JzeJy6SMb1n0
63
- bldf//77av4x9/IL/FDsiZN/0Q3wi6pzF2CyvwjsdTnyj+YfpcRxbA04CgCB
64
- BhoLmieVH9iH33HiJvbeOfoAsidavGCce6lGhuE6auSpxb2KorHL/QEZm/b4
65
- ZnWEPotcnruJ65s+i0RBXezO70qTRwxjIi+/H8cdOhYOSeuZG6fHusHxwkbb
66
- jIC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eDc0EZUZHGPGPCDYlQhGx5
100
- zq4m5d5ZI15nlVew1g7qktgECyzl3WgvO2INDBFBnwzangy26Fp+bh1FIO+Z
101
- kDu5orhoNw1JC1Ix4qhWPHSdWV0hYzDXW79GUeFVHhjz6FBr8o2AwpFpw+Qo
102
- k2TGTfXw9o5he/P7Sn5tp8Yj7VFoFP6ZssQOMjzWNHIe66TnGxmQJ51y7MCp
103
- 63QvVOhBUK8onwxWPvQCzm8oqpXR2DNE5SArO2QoDXJZL15lhEneEMNk4ZVB
104
- Ss5Uqng5EQO7M0u2Xzeb5EGfEvoiW4ZQ+WeOoZsdMYnhSxqQDdUtRs6jrFVM
105
- 5oi0WLcGWh4lvFtef7bUX4lnNlSdBS35s6JUgTbIn+Skxj/e0ICu5n3iNAvr
106
- 3cJFPM6PjvjjYqdepziOJR1eCxmfkRsUG2R8Rm5QbJDxGblBsf05H/+33KDY
107
- lpv+CblBsS2MT8gNig0yPiM3KDbI+IzcoNiWv2ifkBsUG2R8Rm5QbJDxGblB
108
- sS3z8Qm5QbFBxmfkBsW2yPoTcoNiW/7WfEJuUGyQ8Rm5QbFBxn/LzXsA5ttc
109
- fRfcz9qa1db2fhoF8P1rQ8u//Ued5W/L9t+Cqlj98c/5RW0pkdyScD77IYzp
110
- YaJcL5SFgneFQ0ZvGYV0We2SKazJwvc6L899L8hufZPfuqioc6+L/l0y+QZr
111
- o6CJYPPk+KXP5LNd8nxn758d8Noxfg46st+Lfs1g52NfJEz9uu3fI3u8dHZa
112
- hfdn8+WBZgfEfd/mBtNXt5RakrhvvC6pytXX31d5co+6pIhuSQkbq8qwXX3F
113
- dwiCzINfGr9FZVCF36s5f/y6imFR6Na96wiWYpbqU9Uk08K8wXNhdWgeTxIk
114
- sFDURPcmah/fKlCr70Ob2eH8nczQFZy9vu2q4pZXsEZUe3F0gx2ExZ8//gW3
115
- Q0qh6hIAAA==
116
- http_version:
117
- recorded_at: Fri, 05 Oct 2018 21:12:28 GMT
118
- recorded_with: VCR 4.0.0
74
+ string: '{"tenant":"auth0-sdk-tests","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"ClientGrantTestClient-rubytest-210908","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"encrypted":true,"signing_keys":[{"key":"-----BEGIN
75
+ RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEA0Undff9Qrf/esP3RkURZDdaNn48iB/n6EhNacNoub9jREjcT\r\nx3ICcXF9zMxg/ypoKR5dBRHRQ85PYc+4IAkpP2YpnwZcMZz4AoMF3KCddKg6aE2C\r\nG7160cDSFALc++fqK/jge6TMHOBcRuuOWDC9yh1x9MKBIVVVxKZJH/NFZRK/Y3L4\r\nmXXQ1A8atJtgMP2zYJyG1krUBhK0zxDR9qlT+hFfafqGRssSERScTAf2u0P9IUZX\r\n0v2EsYScb7JHviAznEwUW8Qz8OYzaMgl5vyRJgdI6rPy+wuTYGRU+01sORGdKUJn\r\nlwXWn8F0hTFqaYpRsjmAmErWD8Db2NDKTNmOEQIDAQABAoIBAD3RkakL5yreL0sc\r\nTfCYva1GuKJuxuCQR/ta2BYJfDnxUyAMQL1iwbH8keoSXHxCbG3o2BUNREDBCdWc\r\nY4ii7Bob9SNR352P/fnP9cVLc/bnUglJC6th9otKZ0Md7WRDBnpikvwym0/UPa19\r\nGpiWHRk8RVLEuRu9dw4VB/h2BQNrU3hcc5Oe2YD5iRELpeArl3DmXE1nCECLU5o/\r\nssPUV9yn8hp3ZAPK/RK1Esdsk2koskk3qfxE1ATOoXIoEgH5ejS+1F2uCovm4/Gs\r\nMwbfakCcgEcce/Dutod66WWaWA4QFrccHqiWw2o9bePW8Z47NyXmJ6I5vCAgqKZL\r\nrbgh44ECgYEA6kIxvU0Xuw4n2XluTOhWmXlUfEsfh2M7OIENnTXc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iCVNUSKobHIDCr65zLdwMv0/Btxlek\r\nsOTDF0s2t+AQleiJZnahADEA\r\n-----END
78
+ PKCS7-----\r\n","subject":"/CN=auth0-sdk-tests.auth0.com"}],"client_id":"qVx7qDuyruWWCfkTrxeNT74FI6mJc4Vy","callback_url_template":false,"client_secret":"VU0RRh7fFZD9eBoGwW05tRCFnNQ_qjTDLWsyafIuGXQyQAbpZY1rQXm3RYPURMRA","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true}'
79
+ recorded_at: Fri, 03 Sep 2021 20:16:15 GMT
80
+ recorded_with: VCR 6.0.0
@@ -5,22 +5,22 @@ http_interactions:
5
5
  uri: https://auth0-sdk-tests.auth0.com/api/v2/client-grants
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"client_id":"hKxj9zBZadNKmJZK9kC4DO7ZEQVkOETE","audience":"https://auth0-sdk-tests.auth0.com/api/v2/","scope":["test:scope"]}'
8
+ string: '{"client_id":"qVx7qDuyruWWCfkTrxeNT74FI6mJc4Vy","audience":"https://auth0-sdk-tests.auth0.com/api/v2/","scope":["test:scope"]}'
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*"
12
- Accept-Encoding:
13
- - gzip, deflate
14
12
  User-Agent:
15
- - Ruby/2.3.1
13
+ - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0
16
14
  Content-Type:
17
15
  - application/json
18
16
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
17
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0=
20
18
  Authorization:
21
19
  - Bearer API_TOKEN
22
20
  Content-Length:
23
21
  - '126'
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
24
  Host:
25
25
  - auth0-sdk-tests.auth0.com
26
26
  response:
@@ -29,36 +29,48 @@ http_interactions:
29
29
  message: Created
30
30
  headers:
31
31
  Date:
32
- - Fri, 05 Oct 2018 21:12:28 GMT
32
+ - Fri, 03 Sep 2021 20:16:15 GMT
33
33
  Content-Type:
34
34
  - application/json; charset=utf-8
35
35
  Transfer-Encoding:
36
36
  - chunked
37
37
  Connection:
38
38
  - keep-alive
39
+ Cf-Ray:
40
+ - 6891a7a14f1a31a9-LAX
41
+ Cache-Control:
42
+ - no-cache
43
+ Strict-Transport-Security:
44
+ - max-age=31536000
45
+ Vary:
46
+ - origin,accept-encoding
47
+ Cf-Cache-Status:
48
+ - DYNAMIC
49
+ Expect-Ct:
50
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
51
+ Ot-Baggage-Auth0-Request-Id:
52
+ - 6891a7a14f1a31a9
53
+ Ot-Tracer-Sampled:
54
+ - 'true'
55
+ Ot-Tracer-Spanid:
56
+ - 01c148d90bd03faa
57
+ Ot-Tracer-Traceid:
58
+ - 4a1dee9e206d961d
59
+ X-Content-Type-Options:
60
+ - nosniff
39
61
  X-Ratelimit-Limit:
40
- - '10'
62
+ - '50'
41
63
  X-Ratelimit-Remaining:
42
- - '8'
64
+ - '49'
43
65
  X-Ratelimit-Reset:
44
- - '1538773950'
45
- Vary:
46
- - origin,accept-encoding
47
- Cache-Control:
48
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
49
- Content-Encoding:
50
- - gzip
51
- Strict-Transport-Security:
52
- - max-age=15724800
53
- X-Robots-Tag:
54
- - noindex, nofollow, nosnippet, noarchive
66
+ - '1630700176'
67
+ Server:
68
+ - cloudflare
69
+ Alt-Svc:
70
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
71
+ ma=86400
55
72
  body:
56
73
  encoding: ASCII-8BIT
57
- string: !binary |-
58
- H4sIAAAAAAAAAyXLwQrCIACA4Xfx3GYbQbhjJYFCFkQHI4apNLVtki6i6N1z
59
- 6/jD93+AUaAC8vaoLdl2e1IUhqGrlaUBMyDvRnexnkhDXxa9V1yoHW0Jp8it
60
- Fxu25PhwcgwfceJiUMlLPeoYfaggFENs5llQLos6xJBPncu+hcIb+Cxh2oLs
61
- fXrOYCTVvy7fHwplPteaAAAA
62
- http_version:
63
- recorded_at: Fri, 05 Oct 2018 21:12:28 GMT
64
- recorded_with: VCR 4.0.0
74
+ string: '{"id":"cgr_j6Sld05vF0Sxr2Le","client_id":"qVx7qDuyruWWCfkTrxeNT74FI6mJc4Vy","audience":"https://auth0-sdk-tests.auth0.com/api/v2/","scope":["test:scope"]}'
75
+ recorded_at: Fri, 03 Sep 2021 20:16:15 GMT
76
+ recorded_with: VCR 6.0.0
@@ -2,23 +2,23 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: delete
5
- uri: https://auth0-sdk-tests.auth0.com/api/v2/clients/hKxj9zBZadNKmJZK9kC4DO7ZEQVkOETE
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/clients/qVx7qDuyruWWCfkTrxeNT74FI6mJc4Vy
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*"
12
- Accept-Encoding:
13
- - gzip, deflate
14
12
  User-Agent:
15
- - Ruby/2.3.1
13
+ - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0
16
14
  Content-Type:
17
15
  - application/json
18
16
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
17
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0=
20
18
  Authorization:
21
19
  - Bearer API_TOKEN
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
22
  Host:
23
23
  - auth0-sdk-tests.auth0.com
24
24
  response:
@@ -27,28 +27,46 @@ http_interactions:
27
27
  message: No Content
28
28
  headers:
29
29
  Date:
30
- - Fri, 05 Oct 2018 21:12:30 GMT
30
+ - Fri, 03 Sep 2021 20:16:16 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Connection:
34
34
  - keep-alive
35
+ Cf-Ray:
36
+ - 6891a7a7edf352cb-LAX
37
+ Cache-Control:
38
+ - no-cache
39
+ Strict-Transport-Security:
40
+ - max-age=31536000
41
+ Vary:
42
+ - origin,accept-encoding
43
+ Cf-Cache-Status:
44
+ - DYNAMIC
45
+ Expect-Ct:
46
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
47
+ Ot-Baggage-Auth0-Request-Id:
48
+ - 6891a7a7edf352cb
49
+ Ot-Tracer-Sampled:
50
+ - 'true'
51
+ Ot-Tracer-Spanid:
52
+ - 732e9442637ae4b8
53
+ Ot-Tracer-Traceid:
54
+ - 1800a0e44b1043dc
55
+ X-Content-Type-Options:
56
+ - nosniff
35
57
  X-Ratelimit-Limit:
36
- - '10'
58
+ - '50'
37
59
  X-Ratelimit-Remaining:
38
- - '5'
60
+ - '49'
39
61
  X-Ratelimit-Reset:
40
- - '1538773953'
41
- Vary:
42
- - origin,accept-encoding
43
- Cache-Control:
44
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
45
- Strict-Transport-Security:
46
- - max-age=15724800
47
- X-Robots-Tag:
48
- - noindex, nofollow, nosnippet, noarchive
62
+ - '1630700177'
63
+ Server:
64
+ - cloudflare
65
+ Alt-Svc:
66
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
67
+ ma=86400
49
68
  body:
50
69
  encoding: UTF-8
51
70
  string: ''
52
- http_version:
53
- recorded_at: Fri, 05 Oct 2018 21:12:30 GMT
54
- recorded_with: VCR 4.0.0
71
+ recorded_at: Fri, 03 Sep 2021 20:16:16 GMT
72
+ recorded_with: VCR 6.0.0
@@ -2,23 +2,23 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: delete
5
- uri: https://auth0-sdk-tests.auth0.com/api/v2/client-grants/cgr_jJGnPJ11iO9bjc2i
5
+ uri: https://auth0-sdk-tests.auth0.com/api/v2/client-grants/cgr_j6Sld05vF0Sxr2Le
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
11
  - "*/*"
12
- Accept-Encoding:
13
- - gzip, deflate
14
12
  User-Agent:
15
- - Ruby/2.3.1
13
+ - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0
16
14
  Content-Type:
17
15
  - application/json
18
16
  Auth0-Client:
19
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
17
+ - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0=
20
18
  Authorization:
21
19
  - Bearer API_TOKEN
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
22
  Host:
23
23
  - auth0-sdk-tests.auth0.com
24
24
  response:
@@ -27,28 +27,46 @@ http_interactions:
27
27
  message: No Content
28
28
  headers:
29
29
  Date:
30
- - Fri, 05 Oct 2018 21:12:30 GMT
30
+ - Fri, 03 Sep 2021 20:16:17 GMT
31
31
  Content-Type:
32
32
  - application/json; charset=utf-8
33
33
  Connection:
34
34
  - keep-alive
35
+ Cf-Ray:
36
+ - 6891a7a949250503-LAX
37
+ Cache-Control:
38
+ - no-cache
39
+ Strict-Transport-Security:
40
+ - max-age=31536000
41
+ Vary:
42
+ - origin,accept-encoding
43
+ Cf-Cache-Status:
44
+ - DYNAMIC
45
+ Expect-Ct:
46
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
47
+ Ot-Baggage-Auth0-Request-Id:
48
+ - 6891a7a949250503
49
+ Ot-Tracer-Sampled:
50
+ - 'true'
51
+ Ot-Tracer-Spanid:
52
+ - 0557cbf4350d96e4
53
+ Ot-Tracer-Traceid:
54
+ - 42ea9a27427f41df
55
+ X-Content-Type-Options:
56
+ - nosniff
35
57
  X-Ratelimit-Limit:
36
- - '10'
58
+ - '50'
37
59
  X-Ratelimit-Remaining:
38
- - '4'
60
+ - '49'
39
61
  X-Ratelimit-Reset:
40
- - '1538773954'
41
- Vary:
42
- - origin,accept-encoding
43
- Cache-Control:
44
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
45
- Strict-Transport-Security:
46
- - max-age=15724800
47
- X-Robots-Tag:
48
- - noindex, nofollow, nosnippet, noarchive
62
+ - '1630700177'
63
+ Server:
64
+ - cloudflare
65
+ Alt-Svc:
66
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
67
+ ma=86400
49
68
  body:
50
69
  encoding: UTF-8
51
70
  string: ''
52
- http_version:
53
- recorded_at: Fri, 05 Oct 2018 21:12:30 GMT
54
- recorded_with: VCR 4.0.0
71
+ recorded_at: Fri, 03 Sep 2021 20:16:16 GMT
72
+ recorded_with: VCR 6.0.0