ory-client 1.22.38 → 1.22.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (834) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +80 -10
  4. data/docs/APIKeysApi.md +1229 -0
  5. data/docs/AdminRevokeAPIKeyBody.md +20 -0
  6. data/docs/AdminRotateIssuedAPIKeyBody.md +28 -0
  7. data/docs/AdminUpdateImportedAPIKeyRequest.md +44 -0
  8. data/docs/AdminUpdateIssuedAPIKeyRequest.md +44 -0
  9. data/docs/Any.md +18 -0
  10. data/docs/BatchImportAPIKeysRequest.md +18 -0
  11. data/docs/BatchImportAPIKeysResponse.md +22 -0
  12. data/docs/BatchImportErrorCode.md +15 -0
  13. data/docs/BatchImportResult.md +24 -0
  14. data/docs/BatchVerifyAPIKeysRequest.md +18 -0
  15. data/docs/BatchVerifyAPIKeysResponse.md +18 -0
  16. data/docs/CreateTestLoginFlowBody.md +18 -0
  17. data/docs/DeriveTokenRequest.md +26 -0
  18. data/docs/DeriveTokenResponse.md +18 -0
  19. data/docs/DeviceAuthnAndroidAuthorizationList.md +70 -0
  20. data/docs/DeviceAuthnAndroidKeyDescription.md +28 -0
  21. data/docs/DeviceAuthnAndroidRootOfTrust.md +24 -0
  22. data/docs/DeviceAuthnAttestation.md +20 -0
  23. data/docs/DeviceAuthnIOSAttStmt.md +18 -0
  24. data/docs/DeviceAuthnIOSAttestation.md +22 -0
  25. data/docs/DeviceAuthnKey.md +2 -0
  26. data/docs/FrontendApi.md +68 -0
  27. data/docs/GetJWKSResponse.md +18 -0
  28. data/docs/IPRestriction.md +18 -0
  29. data/docs/IdentityApi.md +142 -2
  30. data/docs/IdentityCredentials.md +1 -1
  31. data/docs/ImportAPIKeyRequest.md +36 -0
  32. data/docs/ImportedAPIKey.md +46 -0
  33. data/docs/IssueAPIKeyRequest.md +34 -0
  34. data/docs/IssueAPIKeyResponse.md +20 -0
  35. data/docs/IssuedAPIKey.md +46 -0
  36. data/docs/KeyStatus.md +15 -0
  37. data/docs/KeyVisibility.md +15 -0
  38. data/docs/ListImportedAPIKeysResponse.md +20 -0
  39. data/docs/ListIssuedAPIKeysResponse.md +20 -0
  40. data/docs/LoginFlow.md +3 -1
  41. data/docs/LoginFlowTestContext.md +20 -0
  42. data/docs/LoginFlowTestDebugPayload.md +32 -0
  43. data/docs/LoginFlowTestSchemaValidationError.md +20 -0
  44. data/docs/LoginFlowTestStepError.md +22 -0
  45. data/docs/ManageSessionsBody.md +22 -0
  46. data/docs/ManageSessionsResponse.md +20 -0
  47. data/docs/Message.md +1 -1
  48. data/docs/NullValue.md +15 -0
  49. data/docs/RateLimitPolicy.md +22 -0
  50. data/docs/RegistrationFlow.md +1 -1
  51. data/docs/RevocationReason.md +15 -0
  52. data/docs/RotateIssuedAPIKeyResponse.md +22 -0
  53. data/docs/SelfRevokeAPIKeyRequest.md +20 -0
  54. data/docs/SessionAuthenticationMethod.md +1 -1
  55. data/docs/Status.md +22 -0
  56. data/docs/Token.md +24 -0
  57. data/docs/TokenAlgorithm.md +15 -0
  58. data/docs/ValidateBaseURLRewriteRequest.md +22 -0
  59. data/docs/ValidateBaseURLRewriteResponse.md +20 -0
  60. data/docs/VerificationErrorCode.md +15 -0
  61. data/docs/VerifyAPIKeyRequest.md +18 -0
  62. data/docs/VerifyAPIKeyResponse.md +44 -0
  63. data/lib/ory-client/api/api_keys_api.rb +1190 -0
  64. data/lib/ory-client/api/courier_api.rb +1 -1
  65. data/lib/ory-client/api/events_api.rb +1 -1
  66. data/lib/ory-client/api/frontend_api.rb +68 -1
  67. data/lib/ory-client/api/identity_api.rb +142 -6
  68. data/lib/ory-client/api/jwk_api.rb +1 -1
  69. data/lib/ory-client/api/metadata_api.rb +1 -1
  70. data/lib/ory-client/api/o_auth2_api.rb +1 -1
  71. data/lib/ory-client/api/oidc_api.rb +1 -1
  72. data/lib/ory-client/api/permission_api.rb +1 -1
  73. data/lib/ory-client/api/project_api.rb +1 -1
  74. data/lib/ory-client/api/relationship_api.rb +1 -1
  75. data/lib/ory-client/api/wellknown_api.rb +1 -1
  76. data/lib/ory-client/api/workspace_api.rb +1 -1
  77. data/lib/ory-client/api_client.rb +1 -1
  78. data/lib/ory-client/api_error.rb +1 -1
  79. data/lib/ory-client/api_model_base.rb +1 -1
  80. data/lib/ory-client/configuration.rb +1 -1
  81. data/lib/ory-client/models/accept_device_user_code_request.rb +1 -1
  82. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +1 -1
  83. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  84. data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
  85. data/lib/ory-client/models/account_experience_colors.rb +1 -1
  86. data/lib/ory-client/models/account_experience_configuration.rb +1 -1
  87. data/lib/ory-client/models/add_project_to_workspace_body.rb +1 -1
  88. data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret.rb +1 -1
  89. data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret_config.rb +1 -1
  90. data/lib/ory-client/models/admin_revoke_api_key_body.rb +181 -0
  91. data/lib/ory-client/models/admin_rotate_issued_api_key_body.rb +222 -0
  92. data/lib/ory-client/models/admin_update_imported_api_key_request.rb +297 -0
  93. data/lib/ory-client/models/admin_update_issued_api_key_request.rb +297 -0
  94. data/lib/ory-client/models/any.rb +147 -0
  95. data/lib/ory-client/models/attribute.rb +1 -1
  96. data/lib/ory-client/models/attribute_filter.rb +1 -1
  97. data/lib/ory-client/models/attributes_count_datapoint.rb +1 -1
  98. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  99. data/lib/ory-client/models/basic_organization.rb +1 -1
  100. data/lib/ory-client/models/batch_check_permission_body.rb +1 -1
  101. data/lib/ory-client/models/batch_check_permission_result.rb +1 -1
  102. data/lib/ory-client/models/batch_import_api_keys_request.rb +150 -0
  103. data/lib/ory-client/models/batch_import_api_keys_response.rb +168 -0
  104. data/lib/ory-client/models/batch_import_error_code.rb +43 -0
  105. data/lib/ory-client/models/batch_import_result.rb +199 -0
  106. data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
  107. data/lib/ory-client/models/batch_verify_api_keys_request.rb +149 -0
  108. data/lib/ory-client/models/batch_verify_api_keys_response.rb +149 -0
  109. data/lib/ory-client/models/billing_period_bucket.rb +1 -1
  110. data/lib/ory-client/models/check_opl_syntax_result.rb +1 -1
  111. data/lib/ory-client/models/check_permission_result.rb +1 -1
  112. data/lib/ory-client/models/check_permission_result_with_error.rb +1 -1
  113. data/lib/ory-client/models/cloud_account.rb +1 -1
  114. data/lib/ory-client/models/consistency_request_parameters.rb +1 -1
  115. data/lib/ory-client/models/continue_with.rb +1 -1
  116. data/lib/ory-client/models/continue_with_recovery_ui.rb +1 -1
  117. data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +1 -1
  118. data/lib/ory-client/models/continue_with_redirect_browser_to.rb +1 -1
  119. data/lib/ory-client/models/continue_with_set_ory_session_token.rb +1 -1
  120. data/lib/ory-client/models/continue_with_settings_ui.rb +1 -1
  121. data/lib/ory-client/models/continue_with_settings_ui_flow.rb +1 -1
  122. data/lib/ory-client/models/continue_with_verification_ui.rb +1 -1
  123. data/lib/ory-client/models/continue_with_verification_ui_flow.rb +1 -1
  124. data/lib/ory-client/models/courier_message_status.rb +1 -1
  125. data/lib/ory-client/models/courier_message_type.rb +1 -1
  126. data/lib/ory-client/models/create_custom_domain_body.rb +1 -1
  127. data/lib/ory-client/models/create_event_stream_body.rb +1 -1
  128. data/lib/ory-client/models/create_fedcm_flow_response.rb +1 -1
  129. data/lib/ory-client/models/create_identity_body.rb +1 -1
  130. data/lib/ory-client/models/create_invite_response.rb +1 -1
  131. data/lib/ory-client/models/create_json_web_key_set.rb +1 -1
  132. data/lib/ory-client/models/create_onboarding_link_response.rb +1 -1
  133. data/lib/ory-client/models/create_organization_onboarding_portal_link_body.rb +1 -1
  134. data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
  135. data/lib/ory-client/models/create_project_body.rb +1 -1
  136. data/lib/ory-client/models/create_project_branding.rb +1 -1
  137. data/lib/ory-client/models/create_project_member_invite_body.rb +1 -1
  138. data/lib/ory-client/models/create_project_normalized_payload.rb +1 -1
  139. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +1 -1
  140. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +1 -1
  141. data/lib/ory-client/models/create_relationship_body.rb +1 -1
  142. data/lib/ory-client/models/create_subscription_body.rb +1 -1
  143. data/lib/ory-client/models/create_subscription_common.rb +1 -1
  144. data/lib/ory-client/models/create_test_login_flow_body.rb +174 -0
  145. data/lib/ory-client/models/create_verifiable_credential_request_body.rb +1 -1
  146. data/lib/ory-client/models/create_workspace_api_key_body.rb +1 -1
  147. data/lib/ory-client/models/create_workspace_body.rb +1 -1
  148. data/lib/ory-client/models/create_workspace_member_invite_body.rb +1 -1
  149. data/lib/ory-client/models/create_workspace_organization_body.rb +1 -1
  150. data/lib/ory-client/models/create_workspace_subscription_body.rb +1 -1
  151. data/lib/ory-client/models/credential_supported_draft00.rb +1 -1
  152. data/lib/ory-client/models/custom_domain.rb +1 -1
  153. data/lib/ory-client/models/customer_portal_availability.rb +1 -1
  154. data/lib/ory-client/models/delete_my_sessions_count.rb +1 -1
  155. data/lib/ory-client/models/derive_token_request.rb +211 -0
  156. data/lib/ory-client/models/derive_token_response.rb +147 -0
  157. data/lib/ory-client/models/device_authn_android_authorization_list.rb +406 -0
  158. data/lib/ory-client/models/device_authn_android_key_description.rb +193 -0
  159. data/lib/ory-client/models/device_authn_android_root_of_trust.rb +178 -0
  160. data/lib/ory-client/models/device_authn_attestation.rb +157 -0
  161. data/lib/ory-client/models/device_authn_ios_att_stmt.rb +151 -0
  162. data/lib/ory-client/models/device_authn_ios_attestation.rb +168 -0
  163. data/lib/ory-client/models/device_authn_key.rb +11 -2
  164. data/lib/ory-client/models/device_authorization.rb +1 -1
  165. data/lib/ory-client/models/device_user_auth_request.rb +1 -1
  166. data/lib/ory-client/models/email_template_data.rb +1 -1
  167. data/lib/ory-client/models/email_template_data_body.rb +1 -1
  168. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  169. data/lib/ory-client/models/error_browser_location_change_required.rb +1 -1
  170. data/lib/ory-client/models/error_flow_replaced.rb +1 -1
  171. data/lib/ory-client/models/error_generic.rb +1 -1
  172. data/lib/ory-client/models/error_o_auth2.rb +1 -1
  173. data/lib/ory-client/models/event_stream.rb +1 -1
  174. data/lib/ory-client/models/expanded_permission_tree.rb +1 -1
  175. data/lib/ory-client/models/flow_error.rb +1 -1
  176. data/lib/ory-client/models/generic_error.rb +1 -1
  177. data/lib/ory-client/models/generic_error_content.rb +1 -1
  178. data/lib/ory-client/models/generic_oidc_provider.rb +1 -1
  179. data/lib/ory-client/models/generic_usage.rb +1 -1
  180. data/lib/ory-client/models/get_attributes_count.rb +1 -1
  181. data/lib/ory-client/models/get_jwks_response.rb +148 -0
  182. data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
  183. data/lib/ory-client/models/get_metrics_count.rb +1 -1
  184. data/lib/ory-client/models/get_metrics_event_attributes.rb +1 -1
  185. data/lib/ory-client/models/get_metrics_event_types.rb +1 -1
  186. data/lib/ory-client/models/get_organization_response.rb +1 -1
  187. data/lib/ory-client/models/get_project_events.rb +1 -1
  188. data/lib/ory-client/models/get_project_events_body.rb +1 -1
  189. data/lib/ory-client/models/get_project_metrics.rb +1 -1
  190. data/lib/ory-client/models/get_session_activity.rb +1 -1
  191. data/lib/ory-client/models/get_version200_response.rb +1 -1
  192. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  193. data/lib/ory-client/models/health_status.rb +1 -1
  194. data/lib/ory-client/models/identity.rb +1 -1
  195. data/lib/ory-client/models/identity_credentials.rb +4 -4
  196. data/lib/ory-client/models/identity_credentials_code.rb +1 -1
  197. data/lib/ory-client/models/identity_credentials_code_address.rb +1 -1
  198. data/lib/ory-client/models/identity_credentials_lookup_secret_code.rb +1 -1
  199. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  200. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  201. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  202. data/lib/ory-client/models/identity_credentials_web_authn.rb +1 -1
  203. data/lib/ory-client/models/identity_credentials_web_authn_attestation.rb +1 -1
  204. data/lib/ory-client/models/identity_credentials_web_authn_authenticator.rb +1 -1
  205. data/lib/ory-client/models/identity_credentials_web_authn_flags.rb +1 -1
  206. data/lib/ory-client/models/identity_patch.rb +1 -1
  207. data/lib/ory-client/models/identity_patch_response.rb +1 -1
  208. data/lib/ory-client/models/identity_schema_container.rb +1 -1
  209. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  210. data/lib/ory-client/models/identity_with_credentials.rb +1 -1
  211. data/lib/ory-client/models/identity_with_credentials_oidc.rb +1 -1
  212. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +1 -1
  213. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +1 -1
  214. data/lib/ory-client/models/identity_with_credentials_passkey.rb +1 -1
  215. data/lib/ory-client/models/identity_with_credentials_passkey_config.rb +1 -1
  216. data/lib/ory-client/models/identity_with_credentials_password.rb +1 -1
  217. data/lib/ory-client/models/identity_with_credentials_password_config.rb +1 -1
  218. data/lib/ory-client/models/identity_with_credentials_saml.rb +1 -1
  219. data/lib/ory-client/models/identity_with_credentials_saml_config.rb +1 -1
  220. data/lib/ory-client/models/identity_with_credentials_saml_config_provider.rb +1 -1
  221. data/lib/ory-client/models/identity_with_credentials_totp.rb +1 -1
  222. data/lib/ory-client/models/identity_with_credentials_totp_config.rb +1 -1
  223. data/lib/ory-client/models/identity_with_credentials_web_authn.rb +1 -1
  224. data/lib/ory-client/models/identity_with_credentials_web_authn_config.rb +1 -1
  225. data/lib/ory-client/models/import_api_key_request.rb +258 -0
  226. data/lib/ory-client/models/imported_api_key.rb +306 -0
  227. data/lib/ory-client/models/internal_get_project_branding_body.rb +1 -1
  228. data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +1 -1
  229. data/lib/ory-client/models/internal_is_owner_for_project_by_slug.rb +1 -1
  230. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +1 -1
  231. data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
  232. data/lib/ory-client/models/invite_token_body.rb +1 -1
  233. data/lib/ory-client/models/invoice.rb +1 -1
  234. data/lib/ory-client/models/invoice_data_v1.rb +1 -1
  235. data/lib/ory-client/models/ip_restriction.rb +151 -0
  236. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  237. data/lib/ory-client/models/issue_api_key_request.rb +247 -0
  238. data/lib/ory-client/models/issue_api_key_response.rb +156 -0
  239. data/lib/ory-client/models/issued_api_key.rb +306 -0
  240. data/lib/ory-client/models/json_patch.rb +1 -1
  241. data/lib/ory-client/models/json_web_key.rb +1 -1
  242. data/lib/ory-client/models/json_web_key_set.rb +1 -1
  243. data/lib/ory-client/models/keto_namespace.rb +1 -1
  244. data/lib/ory-client/models/key_status.rb +42 -0
  245. data/lib/ory-client/models/key_visibility.rb +41 -0
  246. data/lib/ory-client/models/keyset_pagination_request_parameters.rb +1 -1
  247. data/lib/ory-client/models/keyset_pagination_response_headers.rb +1 -1
  248. data/lib/ory-client/models/line_item_v1.rb +1 -1
  249. data/lib/ory-client/models/list_event_streams.rb +1 -1
  250. data/lib/ory-client/models/list_imported_api_keys_response.rb +158 -0
  251. data/lib/ory-client/models/list_invoices_response.rb +1 -1
  252. data/lib/ory-client/models/list_issued_api_keys_response.rb +158 -0
  253. data/lib/ory-client/models/list_organizations_response.rb +1 -1
  254. data/lib/ory-client/models/list_workspace_projects.rb +1 -1
  255. data/lib/ory-client/models/list_workspaces.rb +1 -1
  256. data/lib/ory-client/models/login_flow.rb +14 -5
  257. data/lib/ory-client/models/login_flow_state.rb +1 -1
  258. data/lib/ory-client/models/login_flow_test_context.rb +175 -0
  259. data/lib/ory-client/models/login_flow_test_debug_payload.rb +228 -0
  260. data/lib/ory-client/models/login_flow_test_schema_validation_error.rb +159 -0
  261. data/lib/ory-client/models/login_flow_test_step_error.rb +169 -0
  262. data/lib/ory-client/models/logout_flow.rb +1 -1
  263. data/lib/ory-client/models/manage_sessions_body.rb +214 -0
  264. data/lib/ory-client/models/manage_sessions_response.rb +159 -0
  265. data/lib/ory-client/models/managed_identity_schema.rb +1 -1
  266. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
  267. data/lib/ory-client/models/member_invite.rb +1 -1
  268. data/lib/ory-client/models/message.rb +4 -4
  269. data/lib/ory-client/models/message_dispatch.rb +1 -1
  270. data/lib/ory-client/models/metrics_datapoint.rb +1 -1
  271. data/lib/ory-client/models/money.rb +1 -1
  272. data/lib/ory-client/models/namespace.rb +1 -1
  273. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  274. data/lib/ory-client/models/normalized_project.rb +1 -1
  275. data/lib/ory-client/models/normalized_project_revision.rb +1 -1
  276. data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +1 -1
  277. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  278. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
  279. data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +1 -1
  280. data/lib/ory-client/models/normalized_project_revision_scim_client.rb +1 -1
  281. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
  282. data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +1 -1
  283. data/lib/ory-client/models/null_value.rb +39 -0
  284. data/lib/ory-client/models/o_auth2_client.rb +1 -1
  285. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +1 -1
  286. data/lib/ory-client/models/o_auth2_consent_request.rb +1 -1
  287. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  288. data/lib/ory-client/models/o_auth2_consent_session.rb +1 -1
  289. data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
  290. data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
  291. data/lib/ory-client/models/o_auth2_redirect_to.rb +1 -1
  292. data/lib/ory-client/models/o_auth2_token_exchange.rb +1 -1
  293. data/lib/ory-client/models/oidc_configuration.rb +1 -1
  294. data/lib/ory-client/models/oidc_user_info.rb +1 -1
  295. data/lib/ory-client/models/onboarding_portal_link.rb +1 -1
  296. data/lib/ory-client/models/onboarding_portal_organization.rb +1 -1
  297. data/lib/ory-client/models/organization.rb +1 -1
  298. data/lib/ory-client/models/organization_body.rb +1 -1
  299. data/lib/ory-client/models/organization_onboarding_portal_links_response.rb +1 -1
  300. data/lib/ory-client/models/parse_error.rb +1 -1
  301. data/lib/ory-client/models/patch_identities_body.rb +1 -1
  302. data/lib/ory-client/models/patch_workspace_member_body.rb +1 -1
  303. data/lib/ory-client/models/perform_native_logout_body.rb +1 -1
  304. data/lib/ory-client/models/permissions_on_workspace.rb +1 -1
  305. data/lib/ory-client/models/plan.rb +1 -1
  306. data/lib/ory-client/models/plan_details.rb +1 -1
  307. data/lib/ory-client/models/post_check_permission_body.rb +1 -1
  308. data/lib/ory-client/models/post_check_permission_or_error_body.rb +1 -1
  309. data/lib/ory-client/models/project.rb +1 -1
  310. data/lib/ory-client/models/project_api_key.rb +1 -1
  311. data/lib/ory-client/models/project_branding.rb +1 -1
  312. data/lib/ory-client/models/project_branding_colors.rb +1 -1
  313. data/lib/ory-client/models/project_branding_theme.rb +1 -1
  314. data/lib/ory-client/models/project_cors.rb +1 -1
  315. data/lib/ory-client/models/project_events_datapoint.rb +1 -1
  316. data/lib/ory-client/models/project_host.rb +1 -1
  317. data/lib/ory-client/models/project_member.rb +1 -1
  318. data/lib/ory-client/models/project_metadata.rb +1 -1
  319. data/lib/ory-client/models/project_service_account_experience.rb +1 -1
  320. data/lib/ory-client/models/project_service_identity.rb +1 -1
  321. data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
  322. data/lib/ory-client/models/project_service_permission.rb +1 -1
  323. data/lib/ory-client/models/project_services.rb +1 -1
  324. data/lib/ory-client/models/provider.rb +1 -1
  325. data/lib/ory-client/models/quota_usage.rb +1 -1
  326. data/lib/ory-client/models/rate_limit_policy.rb +168 -0
  327. data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
  328. data/lib/ory-client/models/recovery_flow.rb +1 -1
  329. data/lib/ory-client/models/recovery_flow_state.rb +1 -1
  330. data/lib/ory-client/models/recovery_identity_address.rb +1 -1
  331. data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
  332. data/lib/ory-client/models/registration_flow.rb +4 -4
  333. data/lib/ory-client/models/registration_flow_state.rb +1 -1
  334. data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
  335. data/lib/ory-client/models/relation_query.rb +1 -1
  336. data/lib/ory-client/models/relationship.rb +1 -1
  337. data/lib/ory-client/models/relationship_namespaces.rb +1 -1
  338. data/lib/ory-client/models/relationship_patch.rb +1 -1
  339. data/lib/ory-client/models/relationships.rb +1 -1
  340. data/lib/ory-client/models/revision_account_experience_custom_translation.rb +1 -1
  341. data/lib/ory-client/models/revocation_reason.rb +43 -0
  342. data/lib/ory-client/models/rfc6749_error_json.rb +1 -1
  343. data/lib/ory-client/models/rotate_issued_api_key_response.rb +165 -0
  344. data/lib/ory-client/models/schema_patch.rb +1 -1
  345. data/lib/ory-client/models/self_revoke_api_key_request.rb +181 -0
  346. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  347. data/lib/ory-client/models/session.rb +1 -1
  348. data/lib/ory-client/models/session_activity_datapoint.rb +1 -1
  349. data/lib/ory-client/models/session_authentication_method.rb +4 -4
  350. data/lib/ory-client/models/session_device.rb +1 -1
  351. data/lib/ory-client/models/set_custom_domain_body.rb +1 -1
  352. data/lib/ory-client/models/set_event_stream_body.rb +1 -1
  353. data/lib/ory-client/models/set_organization_from_onboarding_portal_link_body.rb +1 -1
  354. data/lib/ory-client/models/set_project.rb +1 -1
  355. data/lib/ory-client/models/set_project_branding_theme_body.rb +1 -1
  356. data/lib/ory-client/models/settings_flow.rb +1 -1
  357. data/lib/ory-client/models/settings_flow_state.rb +1 -1
  358. data/lib/ory-client/models/source_position.rb +1 -1
  359. data/lib/ory-client/models/status.rb +167 -0
  360. data/lib/ory-client/models/subject_set.rb +1 -1
  361. data/lib/ory-client/models/subscription.rb +1 -1
  362. data/lib/ory-client/models/successful_code_exchange_response.rb +1 -1
  363. data/lib/ory-client/models/successful_native_login.rb +1 -1
  364. data/lib/ory-client/models/successful_native_registration.rb +1 -1
  365. data/lib/ory-client/models/successful_project_update.rb +1 -1
  366. data/lib/ory-client/models/tax_line_item.rb +1 -1
  367. data/lib/ory-client/models/time_interval.rb +1 -1
  368. data/lib/ory-client/models/token.rb +178 -0
  369. data/lib/ory-client/models/token_algorithm.rb +41 -0
  370. data/lib/ory-client/models/token_pagination.rb +1 -1
  371. data/lib/ory-client/models/token_pagination_headers.rb +1 -1
  372. data/lib/ory-client/models/token_pagination_request_parameters.rb +1 -1
  373. data/lib/ory-client/models/token_pagination_response_headers.rb +1 -1
  374. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
  375. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
  376. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
  377. data/lib/ory-client/models/ui_container.rb +1 -1
  378. data/lib/ory-client/models/ui_node.rb +1 -1
  379. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  380. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  381. data/lib/ory-client/models/ui_node_division_attributes.rb +1 -1
  382. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  383. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  384. data/lib/ory-client/models/ui_node_input_attributes_option.rb +1 -1
  385. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  386. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  387. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  388. data/lib/ory-client/models/ui_text.rb +1 -1
  389. data/lib/ory-client/models/update_fedcm_flow_body.rb +1 -1
  390. data/lib/ory-client/models/update_identity_body.rb +1 -1
  391. data/lib/ory-client/models/update_login_flow_body.rb +1 -1
  392. data/lib/ory-client/models/update_login_flow_with_code_method.rb +1 -1
  393. data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +1 -1
  394. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +1 -1
  395. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +1 -1
  396. data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +1 -1
  397. data/lib/ory-client/models/update_login_flow_with_password_method.rb +1 -1
  398. data/lib/ory-client/models/update_login_flow_with_saml_method.rb +1 -1
  399. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +1 -1
  400. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +1 -1
  401. data/lib/ory-client/models/update_organization_onboarding_portal_link_body.rb +1 -1
  402. data/lib/ory-client/models/update_recovery_flow_body.rb +1 -1
  403. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +1 -1
  404. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +1 -1
  405. data/lib/ory-client/models/update_registration_flow_body.rb +1 -1
  406. data/lib/ory-client/models/update_registration_flow_with_code_method.rb +1 -1
  407. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +1 -1
  408. data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +1 -1
  409. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +1 -1
  410. data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +1 -1
  411. data/lib/ory-client/models/update_registration_flow_with_saml_method.rb +1 -1
  412. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +1 -1
  413. data/lib/ory-client/models/update_settings_flow_body.rb +1 -1
  414. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +1 -1
  415. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +1 -1
  416. data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +1 -1
  417. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +1 -1
  418. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +1 -1
  419. data/lib/ory-client/models/update_settings_flow_with_saml_method.rb +1 -1
  420. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +1 -1
  421. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +1 -1
  422. data/lib/ory-client/models/update_subscription_body.rb +1 -1
  423. data/lib/ory-client/models/update_verification_flow_body.rb +1 -1
  424. data/lib/ory-client/models/update_verification_flow_with_code_method.rb +1 -1
  425. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +1 -1
  426. data/lib/ory-client/models/update_workspace_body.rb +1 -1
  427. data/lib/ory-client/models/usage.rb +1 -1
  428. data/lib/ory-client/models/validate_base_url_rewrite_request.rb +220 -0
  429. data/lib/ory-client/models/validate_base_url_rewrite_response.rb +176 -0
  430. data/lib/ory-client/models/verifiable_credential_priming_response.rb +1 -1
  431. data/lib/ory-client/models/verifiable_credential_proof.rb +1 -1
  432. data/lib/ory-client/models/verifiable_credential_response.rb +1 -1
  433. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  434. data/lib/ory-client/models/verification_error_code.rb +47 -0
  435. data/lib/ory-client/models/verification_flow.rb +1 -1
  436. data/lib/ory-client/models/verification_flow_state.rb +1 -1
  437. data/lib/ory-client/models/verify_api_key_request.rb +147 -0
  438. data/lib/ory-client/models/verify_api_key_response.rb +299 -0
  439. data/lib/ory-client/models/verify_user_code_request.rb +1 -1
  440. data/lib/ory-client/models/version.rb +1 -1
  441. data/lib/ory-client/models/warning.rb +1 -1
  442. data/lib/ory-client/models/workspace.rb +1 -1
  443. data/lib/ory-client/models/workspace_api_key.rb +1 -1
  444. data/lib/ory-client/models/workspace_organization.rb +1 -1
  445. data/lib/ory-client/version.rb +2 -2
  446. data/lib/ory-client.rb +52 -1
  447. data/ory-client.gemspec +1 -1
  448. data/spec/api/api_keys_api_spec.rb +252 -0
  449. data/spec/api/courier_api_spec.rb +1 -1
  450. data/spec/api/events_api_spec.rb +1 -1
  451. data/spec/api/frontend_api_spec.rb +14 -1
  452. data/spec/api/identity_api_spec.rb +26 -2
  453. data/spec/api/jwk_api_spec.rb +1 -1
  454. data/spec/api/metadata_api_spec.rb +1 -1
  455. data/spec/api/o_auth2_api_spec.rb +1 -1
  456. data/spec/api/oidc_api_spec.rb +1 -1
  457. data/spec/api/permission_api_spec.rb +1 -1
  458. data/spec/api/project_api_spec.rb +1 -1
  459. data/spec/api/relationship_api_spec.rb +1 -1
  460. data/spec/api/wellknown_api_spec.rb +1 -1
  461. data/spec/api/workspace_api_spec.rb +1 -1
  462. data/spec/models/accept_device_user_code_request_spec.rb +1 -1
  463. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  464. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  465. data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
  466. data/spec/models/account_experience_colors_spec.rb +1 -1
  467. data/spec/models/account_experience_configuration_spec.rb +1 -1
  468. data/spec/models/add_project_to_workspace_body_spec.rb +1 -1
  469. data/spec/models/admin_identity_import_credentials_lookup_secret_config_spec.rb +1 -1
  470. data/spec/models/admin_identity_import_credentials_lookup_secret_spec.rb +1 -1
  471. data/spec/models/admin_revoke_api_key_body_spec.rb +42 -0
  472. data/spec/models/admin_rotate_issued_api_key_body_spec.rb +66 -0
  473. data/spec/models/admin_update_imported_api_key_request_spec.rb +114 -0
  474. data/spec/models/admin_update_issued_api_key_request_spec.rb +114 -0
  475. data/spec/models/any_spec.rb +36 -0
  476. data/spec/models/attribute_filter_spec.rb +1 -1
  477. data/spec/models/attribute_spec.rb +1 -1
  478. data/spec/models/attributes_count_datapoint_spec.rb +1 -1
  479. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  480. data/spec/models/basic_organization_spec.rb +1 -1
  481. data/spec/models/batch_check_permission_body_spec.rb +1 -1
  482. data/spec/models/batch_check_permission_result_spec.rb +1 -1
  483. data/spec/models/batch_import_api_keys_request_spec.rb +36 -0
  484. data/spec/models/batch_import_api_keys_response_spec.rb +48 -0
  485. data/spec/models/batch_import_error_code_spec.rb +30 -0
  486. data/spec/models/batch_import_result_spec.rb +54 -0
  487. data/spec/models/batch_patch_identities_response_spec.rb +1 -1
  488. data/spec/models/batch_verify_api_keys_request_spec.rb +36 -0
  489. data/spec/models/batch_verify_api_keys_response_spec.rb +36 -0
  490. data/spec/models/billing_period_bucket_spec.rb +1 -1
  491. data/spec/models/check_opl_syntax_result_spec.rb +1 -1
  492. data/spec/models/check_permission_result_spec.rb +1 -1
  493. data/spec/models/check_permission_result_with_error_spec.rb +1 -1
  494. data/spec/models/cloud_account_spec.rb +1 -1
  495. data/spec/models/consistency_request_parameters_spec.rb +1 -1
  496. data/spec/models/continue_with_recovery_ui_flow_spec.rb +1 -1
  497. data/spec/models/continue_with_recovery_ui_spec.rb +1 -1
  498. data/spec/models/continue_with_redirect_browser_to_spec.rb +1 -1
  499. data/spec/models/continue_with_set_ory_session_token_spec.rb +1 -1
  500. data/spec/models/continue_with_settings_ui_flow_spec.rb +1 -1
  501. data/spec/models/continue_with_settings_ui_spec.rb +1 -1
  502. data/spec/models/continue_with_spec.rb +1 -1
  503. data/spec/models/continue_with_verification_ui_flow_spec.rb +1 -1
  504. data/spec/models/continue_with_verification_ui_spec.rb +1 -1
  505. data/spec/models/courier_message_status_spec.rb +1 -1
  506. data/spec/models/courier_message_type_spec.rb +1 -1
  507. data/spec/models/create_custom_domain_body_spec.rb +1 -1
  508. data/spec/models/create_event_stream_body_spec.rb +1 -1
  509. data/spec/models/create_fedcm_flow_response_spec.rb +1 -1
  510. data/spec/models/create_identity_body_spec.rb +1 -1
  511. data/spec/models/create_invite_response_spec.rb +1 -1
  512. data/spec/models/create_json_web_key_set_spec.rb +1 -1
  513. data/spec/models/create_onboarding_link_response_spec.rb +1 -1
  514. data/spec/models/create_organization_onboarding_portal_link_body_spec.rb +1 -1
  515. data/spec/models/create_project_api_key_request_spec.rb +1 -1
  516. data/spec/models/create_project_body_spec.rb +1 -1
  517. data/spec/models/create_project_branding_spec.rb +1 -1
  518. data/spec/models/create_project_member_invite_body_spec.rb +1 -1
  519. data/spec/models/create_project_normalized_payload_spec.rb +1 -1
  520. data/spec/models/create_recovery_code_for_identity_body_spec.rb +1 -1
  521. data/spec/models/create_recovery_link_for_identity_body_spec.rb +1 -1
  522. data/spec/models/create_relationship_body_spec.rb +1 -1
  523. data/spec/models/create_subscription_body_spec.rb +1 -1
  524. data/spec/models/create_subscription_common_spec.rb +1 -1
  525. data/spec/models/create_test_login_flow_body_spec.rb +36 -0
  526. data/spec/models/create_verifiable_credential_request_body_spec.rb +1 -1
  527. data/spec/models/create_workspace_api_key_body_spec.rb +1 -1
  528. data/spec/models/create_workspace_body_spec.rb +1 -1
  529. data/spec/models/create_workspace_member_invite_body_spec.rb +1 -1
  530. data/spec/models/create_workspace_organization_body_spec.rb +1 -1
  531. data/spec/models/create_workspace_subscription_body_spec.rb +1 -1
  532. data/spec/models/credential_supported_draft00_spec.rb +1 -1
  533. data/spec/models/custom_domain_spec.rb +1 -1
  534. data/spec/models/customer_portal_availability_spec.rb +1 -1
  535. data/spec/models/delete_my_sessions_count_spec.rb +1 -1
  536. data/spec/models/derive_token_request_spec.rb +60 -0
  537. data/spec/models/derive_token_response_spec.rb +36 -0
  538. data/spec/models/device_authn_android_authorization_list_spec.rb +192 -0
  539. data/spec/models/device_authn_android_key_description_spec.rb +66 -0
  540. data/spec/models/device_authn_android_root_of_trust_spec.rb +54 -0
  541. data/spec/models/device_authn_attestation_spec.rb +42 -0
  542. data/spec/models/device_authn_ios_att_stmt_spec.rb +36 -0
  543. data/spec/models/device_authn_ios_attestation_spec.rb +48 -0
  544. data/spec/models/device_authn_key_spec.rb +7 -1
  545. data/spec/models/device_authorization_spec.rb +1 -1
  546. data/spec/models/device_user_auth_request_spec.rb +1 -1
  547. data/spec/models/email_template_data_body_spec.rb +1 -1
  548. data/spec/models/email_template_data_spec.rb +1 -1
  549. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  550. data/spec/models/error_browser_location_change_required_spec.rb +1 -1
  551. data/spec/models/error_flow_replaced_spec.rb +1 -1
  552. data/spec/models/error_generic_spec.rb +1 -1
  553. data/spec/models/error_o_auth2_spec.rb +1 -1
  554. data/spec/models/event_stream_spec.rb +1 -1
  555. data/spec/models/expanded_permission_tree_spec.rb +1 -1
  556. data/spec/models/flow_error_spec.rb +1 -1
  557. data/spec/models/generic_error_content_spec.rb +1 -1
  558. data/spec/models/generic_error_spec.rb +1 -1
  559. data/spec/models/generic_oidc_provider_spec.rb +1 -1
  560. data/spec/models/generic_usage_spec.rb +1 -1
  561. data/spec/models/get_attributes_count_spec.rb +1 -1
  562. data/spec/models/get_jwks_response_spec.rb +36 -0
  563. data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
  564. data/spec/models/get_metrics_count_spec.rb +1 -1
  565. data/spec/models/get_metrics_event_attributes_spec.rb +1 -1
  566. data/spec/models/get_metrics_event_types_spec.rb +1 -1
  567. data/spec/models/get_organization_response_spec.rb +1 -1
  568. data/spec/models/get_project_events_body_spec.rb +1 -1
  569. data/spec/models/get_project_events_spec.rb +1 -1
  570. data/spec/models/get_project_metrics_spec.rb +1 -1
  571. data/spec/models/get_session_activity_spec.rb +1 -1
  572. data/spec/models/get_version200_response_spec.rb +1 -1
  573. data/spec/models/health_not_ready_status_spec.rb +1 -1
  574. data/spec/models/health_status_spec.rb +1 -1
  575. data/spec/models/identity_credentials_code_address_spec.rb +1 -1
  576. data/spec/models/identity_credentials_code_spec.rb +1 -1
  577. data/spec/models/identity_credentials_lookup_secret_code_spec.rb +1 -1
  578. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  579. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  580. data/spec/models/identity_credentials_password_spec.rb +1 -1
  581. data/spec/models/identity_credentials_spec.rb +2 -2
  582. data/spec/models/identity_credentials_web_authn_attestation_spec.rb +1 -1
  583. data/spec/models/identity_credentials_web_authn_authenticator_spec.rb +1 -1
  584. data/spec/models/identity_credentials_web_authn_flags_spec.rb +1 -1
  585. data/spec/models/identity_credentials_web_authn_spec.rb +1 -1
  586. data/spec/models/identity_patch_response_spec.rb +1 -1
  587. data/spec/models/identity_patch_spec.rb +1 -1
  588. data/spec/models/identity_schema_container_spec.rb +1 -1
  589. data/spec/models/identity_schema_preset_spec.rb +1 -1
  590. data/spec/models/identity_spec.rb +1 -1
  591. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +1 -1
  592. data/spec/models/identity_with_credentials_oidc_config_spec.rb +1 -1
  593. data/spec/models/identity_with_credentials_oidc_spec.rb +1 -1
  594. data/spec/models/identity_with_credentials_passkey_config_spec.rb +1 -1
  595. data/spec/models/identity_with_credentials_passkey_spec.rb +1 -1
  596. data/spec/models/identity_with_credentials_password_config_spec.rb +1 -1
  597. data/spec/models/identity_with_credentials_password_spec.rb +1 -1
  598. data/spec/models/identity_with_credentials_saml_config_provider_spec.rb +1 -1
  599. data/spec/models/identity_with_credentials_saml_config_spec.rb +1 -1
  600. data/spec/models/identity_with_credentials_saml_spec.rb +1 -1
  601. data/spec/models/identity_with_credentials_spec.rb +1 -1
  602. data/spec/models/identity_with_credentials_totp_config_spec.rb +1 -1
  603. data/spec/models/identity_with_credentials_totp_spec.rb +1 -1
  604. data/spec/models/identity_with_credentials_web_authn_config_spec.rb +1 -1
  605. data/spec/models/identity_with_credentials_web_authn_spec.rb +1 -1
  606. data/spec/models/import_api_key_request_spec.rb +90 -0
  607. data/spec/models/imported_api_key_spec.rb +120 -0
  608. data/spec/models/internal_get_project_branding_body_spec.rb +1 -1
  609. data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +1 -1
  610. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +1 -1
  611. data/spec/models/internal_is_owner_for_project_by_slug_spec.rb +1 -1
  612. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  613. data/spec/models/invite_token_body_spec.rb +1 -1
  614. data/spec/models/invoice_data_v1_spec.rb +1 -1
  615. data/spec/models/invoice_spec.rb +1 -1
  616. data/spec/models/ip_restriction_spec.rb +36 -0
  617. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  618. data/spec/models/issue_api_key_request_spec.rb +84 -0
  619. data/spec/models/issue_api_key_response_spec.rb +42 -0
  620. data/spec/models/issued_api_key_spec.rb +120 -0
  621. data/spec/models/json_patch_spec.rb +1 -1
  622. data/spec/models/json_web_key_set_spec.rb +1 -1
  623. data/spec/models/json_web_key_spec.rb +1 -1
  624. data/spec/models/keto_namespace_spec.rb +1 -1
  625. data/spec/models/key_status_spec.rb +30 -0
  626. data/spec/models/key_visibility_spec.rb +30 -0
  627. data/spec/models/keyset_pagination_request_parameters_spec.rb +1 -1
  628. data/spec/models/keyset_pagination_response_headers_spec.rb +1 -1
  629. data/spec/models/line_item_v1_spec.rb +1 -1
  630. data/spec/models/list_event_streams_spec.rb +1 -1
  631. data/spec/models/list_imported_api_keys_response_spec.rb +42 -0
  632. data/spec/models/list_invoices_response_spec.rb +1 -1
  633. data/spec/models/list_issued_api_keys_response_spec.rb +42 -0
  634. data/spec/models/list_organizations_response_spec.rb +1 -1
  635. data/spec/models/list_workspace_projects_spec.rb +1 -1
  636. data/spec/models/list_workspaces_spec.rb +1 -1
  637. data/spec/models/login_flow_spec.rb +8 -2
  638. data/spec/models/login_flow_state_spec.rb +1 -1
  639. data/spec/models/login_flow_test_context_spec.rb +42 -0
  640. data/spec/models/login_flow_test_debug_payload_spec.rb +78 -0
  641. data/spec/models/login_flow_test_schema_validation_error_spec.rb +42 -0
  642. data/spec/models/login_flow_test_step_error_spec.rb +48 -0
  643. data/spec/models/logout_flow_spec.rb +1 -1
  644. data/spec/models/manage_sessions_body_spec.rb +52 -0
  645. data/spec/models/manage_sessions_response_spec.rb +42 -0
  646. data/spec/models/managed_identity_schema_spec.rb +1 -1
  647. data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
  648. data/spec/models/member_invite_spec.rb +1 -1
  649. data/spec/models/message_dispatch_spec.rb +1 -1
  650. data/spec/models/message_spec.rb +2 -2
  651. data/spec/models/metrics_datapoint_spec.rb +1 -1
  652. data/spec/models/money_spec.rb +1 -1
  653. data/spec/models/namespace_spec.rb +1 -1
  654. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  655. data/spec/models/normalized_project_revision_courier_channel_spec.rb +1 -1
  656. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  657. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  658. data/spec/models/normalized_project_revision_saml_provider_spec.rb +1 -1
  659. data/spec/models/normalized_project_revision_scim_client_spec.rb +1 -1
  660. data/spec/models/normalized_project_revision_spec.rb +1 -1
  661. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  662. data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +1 -1
  663. data/spec/models/normalized_project_spec.rb +1 -1
  664. data/spec/models/null_value_spec.rb +30 -0
  665. data/spec/models/o_auth2_client_spec.rb +1 -1
  666. data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
  667. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  668. data/spec/models/o_auth2_consent_request_spec.rb +1 -1
  669. data/spec/models/o_auth2_consent_session_spec.rb +1 -1
  670. data/spec/models/o_auth2_login_request_spec.rb +1 -1
  671. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  672. data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
  673. data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
  674. data/spec/models/oidc_configuration_spec.rb +1 -1
  675. data/spec/models/oidc_user_info_spec.rb +1 -1
  676. data/spec/models/onboarding_portal_link_spec.rb +1 -1
  677. data/spec/models/onboarding_portal_organization_spec.rb +1 -1
  678. data/spec/models/organization_body_spec.rb +1 -1
  679. data/spec/models/organization_onboarding_portal_links_response_spec.rb +1 -1
  680. data/spec/models/organization_spec.rb +1 -1
  681. data/spec/models/parse_error_spec.rb +1 -1
  682. data/spec/models/patch_identities_body_spec.rb +1 -1
  683. data/spec/models/patch_workspace_member_body_spec.rb +1 -1
  684. data/spec/models/perform_native_logout_body_spec.rb +1 -1
  685. data/spec/models/permissions_on_workspace_spec.rb +1 -1
  686. data/spec/models/plan_details_spec.rb +1 -1
  687. data/spec/models/plan_spec.rb +1 -1
  688. data/spec/models/post_check_permission_body_spec.rb +1 -1
  689. data/spec/models/post_check_permission_or_error_body_spec.rb +1 -1
  690. data/spec/models/project_api_key_spec.rb +1 -1
  691. data/spec/models/project_branding_colors_spec.rb +1 -1
  692. data/spec/models/project_branding_spec.rb +1 -1
  693. data/spec/models/project_branding_theme_spec.rb +1 -1
  694. data/spec/models/project_cors_spec.rb +1 -1
  695. data/spec/models/project_events_datapoint_spec.rb +1 -1
  696. data/spec/models/project_host_spec.rb +1 -1
  697. data/spec/models/project_member_spec.rb +1 -1
  698. data/spec/models/project_metadata_spec.rb +1 -1
  699. data/spec/models/project_service_account_experience_spec.rb +1 -1
  700. data/spec/models/project_service_identity_spec.rb +1 -1
  701. data/spec/models/project_service_o_auth2_spec.rb +1 -1
  702. data/spec/models/project_service_permission_spec.rb +1 -1
  703. data/spec/models/project_services_spec.rb +1 -1
  704. data/spec/models/project_spec.rb +1 -1
  705. data/spec/models/provider_spec.rb +1 -1
  706. data/spec/models/quota_usage_spec.rb +1 -1
  707. data/spec/models/rate_limit_policy_spec.rb +48 -0
  708. data/spec/models/recovery_code_for_identity_spec.rb +1 -1
  709. data/spec/models/recovery_flow_spec.rb +1 -1
  710. data/spec/models/recovery_flow_state_spec.rb +1 -1
  711. data/spec/models/recovery_identity_address_spec.rb +1 -1
  712. data/spec/models/recovery_link_for_identity_spec.rb +1 -1
  713. data/spec/models/registration_flow_spec.rb +2 -2
  714. data/spec/models/registration_flow_state_spec.rb +1 -1
  715. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  716. data/spec/models/relation_query_spec.rb +1 -1
  717. data/spec/models/relationship_namespaces_spec.rb +1 -1
  718. data/spec/models/relationship_patch_spec.rb +1 -1
  719. data/spec/models/relationship_spec.rb +1 -1
  720. data/spec/models/relationships_spec.rb +1 -1
  721. data/spec/models/revision_account_experience_custom_translation_spec.rb +1 -1
  722. data/spec/models/revocation_reason_spec.rb +30 -0
  723. data/spec/models/rfc6749_error_json_spec.rb +1 -1
  724. data/spec/models/rotate_issued_api_key_response_spec.rb +48 -0
  725. data/spec/models/schema_patch_spec.rb +1 -1
  726. data/spec/models/self_revoke_api_key_request_spec.rb +42 -0
  727. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  728. data/spec/models/session_activity_datapoint_spec.rb +1 -1
  729. data/spec/models/session_authentication_method_spec.rb +2 -2
  730. data/spec/models/session_device_spec.rb +1 -1
  731. data/spec/models/session_spec.rb +1 -1
  732. data/spec/models/set_custom_domain_body_spec.rb +1 -1
  733. data/spec/models/set_event_stream_body_spec.rb +1 -1
  734. data/spec/models/set_organization_from_onboarding_portal_link_body_spec.rb +1 -1
  735. data/spec/models/set_project_branding_theme_body_spec.rb +1 -1
  736. data/spec/models/set_project_spec.rb +1 -1
  737. data/spec/models/settings_flow_spec.rb +1 -1
  738. data/spec/models/settings_flow_state_spec.rb +1 -1
  739. data/spec/models/source_position_spec.rb +1 -1
  740. data/spec/models/status_spec.rb +48 -0
  741. data/spec/models/subject_set_spec.rb +1 -1
  742. data/spec/models/subscription_spec.rb +1 -1
  743. data/spec/models/successful_code_exchange_response_spec.rb +1 -1
  744. data/spec/models/successful_native_login_spec.rb +1 -1
  745. data/spec/models/successful_native_registration_spec.rb +1 -1
  746. data/spec/models/successful_project_update_spec.rb +1 -1
  747. data/spec/models/tax_line_item_spec.rb +1 -1
  748. data/spec/models/time_interval_spec.rb +1 -1
  749. data/spec/models/token_algorithm_spec.rb +30 -0
  750. data/spec/models/token_pagination_headers_spec.rb +1 -1
  751. data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
  752. data/spec/models/token_pagination_response_headers_spec.rb +1 -1
  753. data/spec/models/token_pagination_spec.rb +1 -1
  754. data/spec/models/token_spec.rb +54 -0
  755. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  756. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  757. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  758. data/spec/models/ui_container_spec.rb +1 -1
  759. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  760. data/spec/models/ui_node_attributes_spec.rb +1 -1
  761. data/spec/models/ui_node_division_attributes_spec.rb +1 -1
  762. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  763. data/spec/models/ui_node_input_attributes_option_spec.rb +1 -1
  764. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  765. data/spec/models/ui_node_meta_spec.rb +1 -1
  766. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  767. data/spec/models/ui_node_spec.rb +1 -1
  768. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  769. data/spec/models/ui_text_spec.rb +1 -1
  770. data/spec/models/update_fedcm_flow_body_spec.rb +1 -1
  771. data/spec/models/update_identity_body_spec.rb +1 -1
  772. data/spec/models/update_login_flow_body_spec.rb +1 -1
  773. data/spec/models/update_login_flow_with_code_method_spec.rb +1 -1
  774. data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +1 -1
  775. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +1 -1
  776. data/spec/models/update_login_flow_with_oidc_method_spec.rb +1 -1
  777. data/spec/models/update_login_flow_with_passkey_method_spec.rb +1 -1
  778. data/spec/models/update_login_flow_with_password_method_spec.rb +1 -1
  779. data/spec/models/update_login_flow_with_saml_method_spec.rb +1 -1
  780. data/spec/models/update_login_flow_with_totp_method_spec.rb +1 -1
  781. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +1 -1
  782. data/spec/models/update_organization_onboarding_portal_link_body_spec.rb +1 -1
  783. data/spec/models/update_recovery_flow_body_spec.rb +1 -1
  784. data/spec/models/update_recovery_flow_with_code_method_spec.rb +1 -1
  785. data/spec/models/update_recovery_flow_with_link_method_spec.rb +1 -1
  786. data/spec/models/update_registration_flow_body_spec.rb +1 -1
  787. data/spec/models/update_registration_flow_with_code_method_spec.rb +1 -1
  788. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +1 -1
  789. data/spec/models/update_registration_flow_with_passkey_method_spec.rb +1 -1
  790. data/spec/models/update_registration_flow_with_password_method_spec.rb +1 -1
  791. data/spec/models/update_registration_flow_with_profile_method_spec.rb +1 -1
  792. data/spec/models/update_registration_flow_with_saml_method_spec.rb +1 -1
  793. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +1 -1
  794. data/spec/models/update_settings_flow_body_spec.rb +1 -1
  795. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +1 -1
  796. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +1 -1
  797. data/spec/models/update_settings_flow_with_passkey_method_spec.rb +1 -1
  798. data/spec/models/update_settings_flow_with_password_method_spec.rb +1 -1
  799. data/spec/models/update_settings_flow_with_profile_method_spec.rb +1 -1
  800. data/spec/models/update_settings_flow_with_saml_method_spec.rb +1 -1
  801. data/spec/models/update_settings_flow_with_totp_method_spec.rb +1 -1
  802. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +1 -1
  803. data/spec/models/update_subscription_body_spec.rb +1 -1
  804. data/spec/models/update_verification_flow_body_spec.rb +1 -1
  805. data/spec/models/update_verification_flow_with_code_method_spec.rb +1 -1
  806. data/spec/models/update_verification_flow_with_link_method_spec.rb +1 -1
  807. data/spec/models/update_workspace_body_spec.rb +1 -1
  808. data/spec/models/usage_spec.rb +1 -1
  809. data/spec/models/validate_base_url_rewrite_request_spec.rb +48 -0
  810. data/spec/models/validate_base_url_rewrite_response_spec.rb +42 -0
  811. data/spec/models/verifiable_credential_priming_response_spec.rb +1 -1
  812. data/spec/models/verifiable_credential_proof_spec.rb +1 -1
  813. data/spec/models/verifiable_credential_response_spec.rb +1 -1
  814. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  815. data/spec/models/verification_error_code_spec.rb +30 -0
  816. data/spec/models/verification_flow_spec.rb +1 -1
  817. data/spec/models/verification_flow_state_spec.rb +1 -1
  818. data/spec/models/verify_api_key_request_spec.rb +36 -0
  819. data/spec/models/verify_api_key_response_spec.rb +114 -0
  820. data/spec/models/verify_user_code_request_spec.rb +1 -1
  821. data/spec/models/version_spec.rb +1 -1
  822. data/spec/models/warning_spec.rb +1 -1
  823. data/spec/models/workspace_api_key_spec.rb +1 -1
  824. data/spec/models/workspace_organization_spec.rb +1 -1
  825. data/spec/models/workspace_spec.rb +1 -1
  826. data/spec/spec_helper.rb +1 -1
  827. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  828. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/io-console-0.8.2/gem_make.out +5 -5
  829. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/io-console-0.8.2/mkmf.log +3 -3
  830. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  831. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/psych-4.0.6/gem_make.out +5 -5
  832. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/racc-1.8.1/gem_make.out +5 -5
  833. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  834. metadata +207 -3
data/lib/ory-client.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.38
6
+ The version of the OpenAPI document: v1.22.40
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.17.0
@@ -27,6 +27,11 @@ require 'ory-client/models/account_experience_configuration'
27
27
  require 'ory-client/models/add_project_to_workspace_body'
28
28
  require 'ory-client/models/admin_identity_import_credentials_lookup_secret'
29
29
  require 'ory-client/models/admin_identity_import_credentials_lookup_secret_config'
30
+ require 'ory-client/models/admin_revoke_api_key_body'
31
+ require 'ory-client/models/admin_rotate_issued_api_key_body'
32
+ require 'ory-client/models/admin_update_imported_api_key_request'
33
+ require 'ory-client/models/admin_update_issued_api_key_request'
34
+ require 'ory-client/models/any'
30
35
  require 'ory-client/models/attribute'
31
36
  require 'ory-client/models/attribute_filter'
32
37
  require 'ory-client/models/attributes_count_datapoint'
@@ -34,7 +39,13 @@ require 'ory-client/models/authenticator_assurance_level'
34
39
  require 'ory-client/models/basic_organization'
35
40
  require 'ory-client/models/batch_check_permission_body'
36
41
  require 'ory-client/models/batch_check_permission_result'
42
+ require 'ory-client/models/batch_import_api_keys_request'
43
+ require 'ory-client/models/batch_import_api_keys_response'
44
+ require 'ory-client/models/batch_import_error_code'
45
+ require 'ory-client/models/batch_import_result'
37
46
  require 'ory-client/models/batch_patch_identities_response'
47
+ require 'ory-client/models/batch_verify_api_keys_request'
48
+ require 'ory-client/models/batch_verify_api_keys_response'
38
49
  require 'ory-client/models/billing_period_bucket'
39
50
  require 'ory-client/models/check_opl_syntax_result'
40
51
  require 'ory-client/models/check_permission_result'
@@ -70,6 +81,7 @@ require 'ory-client/models/create_recovery_link_for_identity_body'
70
81
  require 'ory-client/models/create_relationship_body'
71
82
  require 'ory-client/models/create_subscription_body'
72
83
  require 'ory-client/models/create_subscription_common'
84
+ require 'ory-client/models/create_test_login_flow_body'
73
85
  require 'ory-client/models/create_verifiable_credential_request_body'
74
86
  require 'ory-client/models/create_workspace_api_key_body'
75
87
  require 'ory-client/models/create_workspace_body'
@@ -80,6 +92,14 @@ require 'ory-client/models/credential_supported_draft00'
80
92
  require 'ory-client/models/custom_domain'
81
93
  require 'ory-client/models/customer_portal_availability'
82
94
  require 'ory-client/models/delete_my_sessions_count'
95
+ require 'ory-client/models/derive_token_request'
96
+ require 'ory-client/models/derive_token_response'
97
+ require 'ory-client/models/device_authn_android_authorization_list'
98
+ require 'ory-client/models/device_authn_android_key_description'
99
+ require 'ory-client/models/device_authn_android_root_of_trust'
100
+ require 'ory-client/models/device_authn_attestation'
101
+ require 'ory-client/models/device_authn_ios_att_stmt'
102
+ require 'ory-client/models/device_authn_ios_attestation'
83
103
  require 'ory-client/models/device_authn_key'
84
104
  require 'ory-client/models/device_authorization'
85
105
  require 'ory-client/models/device_user_auth_request'
@@ -98,6 +118,7 @@ require 'ory-client/models/generic_error_content'
98
118
  require 'ory-client/models/generic_oidc_provider'
99
119
  require 'ory-client/models/generic_usage'
100
120
  require 'ory-client/models/get_attributes_count'
121
+ require 'ory-client/models/get_jwks_response'
101
122
  require 'ory-client/models/get_managed_identity_schema_location'
102
123
  require 'ory-client/models/get_metrics_count'
103
124
  require 'ory-client/models/get_metrics_event_attributes'
@@ -110,6 +131,7 @@ require 'ory-client/models/get_session_activity'
110
131
  require 'ory-client/models/get_version200_response'
111
132
  require 'ory-client/models/health_not_ready_status'
112
133
  require 'ory-client/models/health_status'
134
+ require 'ory-client/models/ip_restriction'
113
135
  require 'ory-client/models/identity'
114
136
  require 'ory-client/models/identity_credentials'
115
137
  require 'ory-client/models/identity_credentials_code'
@@ -141,6 +163,8 @@ require 'ory-client/models/identity_with_credentials_totp'
141
163
  require 'ory-client/models/identity_with_credentials_totp_config'
142
164
  require 'ory-client/models/identity_with_credentials_web_authn'
143
165
  require 'ory-client/models/identity_with_credentials_web_authn_config'
166
+ require 'ory-client/models/import_api_key_request'
167
+ require 'ory-client/models/imported_api_key'
144
168
  require 'ory-client/models/internal_get_project_branding_body'
145
169
  require 'ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body'
146
170
  require 'ory-client/models/internal_is_owner_for_project_by_slug'
@@ -150,21 +174,34 @@ require 'ory-client/models/invite_token_body'
150
174
  require 'ory-client/models/invoice'
151
175
  require 'ory-client/models/invoice_data_v1'
152
176
  require 'ory-client/models/is_owner_for_project_by_slug'
177
+ require 'ory-client/models/issue_api_key_request'
178
+ require 'ory-client/models/issue_api_key_response'
179
+ require 'ory-client/models/issued_api_key'
153
180
  require 'ory-client/models/json_patch'
154
181
  require 'ory-client/models/json_web_key'
155
182
  require 'ory-client/models/json_web_key_set'
156
183
  require 'ory-client/models/keto_namespace'
184
+ require 'ory-client/models/key_status'
185
+ require 'ory-client/models/key_visibility'
157
186
  require 'ory-client/models/keyset_pagination_request_parameters'
158
187
  require 'ory-client/models/keyset_pagination_response_headers'
159
188
  require 'ory-client/models/line_item_v1'
160
189
  require 'ory-client/models/list_event_streams'
190
+ require 'ory-client/models/list_imported_api_keys_response'
161
191
  require 'ory-client/models/list_invoices_response'
192
+ require 'ory-client/models/list_issued_api_keys_response'
162
193
  require 'ory-client/models/list_organizations_response'
163
194
  require 'ory-client/models/list_workspace_projects'
164
195
  require 'ory-client/models/list_workspaces'
165
196
  require 'ory-client/models/login_flow'
166
197
  require 'ory-client/models/login_flow_state'
198
+ require 'ory-client/models/login_flow_test_context'
199
+ require 'ory-client/models/login_flow_test_debug_payload'
200
+ require 'ory-client/models/login_flow_test_schema_validation_error'
201
+ require 'ory-client/models/login_flow_test_step_error'
167
202
  require 'ory-client/models/logout_flow'
203
+ require 'ory-client/models/manage_sessions_body'
204
+ require 'ory-client/models/manage_sessions_response'
168
205
  require 'ory-client/models/managed_identity_schema'
169
206
  require 'ory-client/models/managed_identity_schema_validation_result'
170
207
  require 'ory-client/models/member_invite'
@@ -183,6 +220,7 @@ require 'ory-client/models/normalized_project_revision_saml_provider'
183
220
  require 'ory-client/models/normalized_project_revision_scim_client'
184
221
  require 'ory-client/models/normalized_project_revision_third_party_provider'
185
222
  require 'ory-client/models/normalized_project_revision_tokenizer_template'
223
+ require 'ory-client/models/null_value'
186
224
  require 'ory-client/models/o_auth2_client'
187
225
  require 'ory-client/models/o_auth2_client_token_lifespans'
188
226
  require 'ory-client/models/o_auth2_consent_request'
@@ -226,6 +264,7 @@ require 'ory-client/models/project_services'
226
264
  require 'ory-client/models/provider'
227
265
  require 'ory-client/models/quota_usage'
228
266
  require 'ory-client/models/rfc6749_error_json'
267
+ require 'ory-client/models/rate_limit_policy'
229
268
  require 'ory-client/models/recovery_code_for_identity'
230
269
  require 'ory-client/models/recovery_flow'
231
270
  require 'ory-client/models/recovery_flow_state'
@@ -240,7 +279,10 @@ require 'ory-client/models/relationship_namespaces'
240
279
  require 'ory-client/models/relationship_patch'
241
280
  require 'ory-client/models/relationships'
242
281
  require 'ory-client/models/revision_account_experience_custom_translation'
282
+ require 'ory-client/models/revocation_reason'
283
+ require 'ory-client/models/rotate_issued_api_key_response'
243
284
  require 'ory-client/models/schema_patch'
285
+ require 'ory-client/models/self_revoke_api_key_request'
244
286
  require 'ory-client/models/self_service_flow_expired_error'
245
287
  require 'ory-client/models/session'
246
288
  require 'ory-client/models/session_activity_datapoint'
@@ -254,6 +296,7 @@ require 'ory-client/models/set_project_branding_theme_body'
254
296
  require 'ory-client/models/settings_flow'
255
297
  require 'ory-client/models/settings_flow_state'
256
298
  require 'ory-client/models/source_position'
299
+ require 'ory-client/models/status'
257
300
  require 'ory-client/models/subject_set'
258
301
  require 'ory-client/models/subscription'
259
302
  require 'ory-client/models/successful_code_exchange_response'
@@ -262,6 +305,8 @@ require 'ory-client/models/successful_native_registration'
262
305
  require 'ory-client/models/successful_project_update'
263
306
  require 'ory-client/models/tax_line_item'
264
307
  require 'ory-client/models/time_interval'
308
+ require 'ory-client/models/token'
309
+ require 'ory-client/models/token_algorithm'
265
310
  require 'ory-client/models/token_pagination'
266
311
  require 'ory-client/models/token_pagination_headers'
267
312
  require 'ory-client/models/token_pagination_request_parameters'
@@ -320,12 +365,17 @@ require 'ory-client/models/update_verification_flow_with_code_method'
320
365
  require 'ory-client/models/update_verification_flow_with_link_method'
321
366
  require 'ory-client/models/update_workspace_body'
322
367
  require 'ory-client/models/usage'
368
+ require 'ory-client/models/validate_base_url_rewrite_request'
369
+ require 'ory-client/models/validate_base_url_rewrite_response'
323
370
  require 'ory-client/models/verifiable_credential_priming_response'
324
371
  require 'ory-client/models/verifiable_credential_proof'
325
372
  require 'ory-client/models/verifiable_credential_response'
326
373
  require 'ory-client/models/verifiable_identity_address'
374
+ require 'ory-client/models/verification_error_code'
327
375
  require 'ory-client/models/verification_flow'
328
376
  require 'ory-client/models/verification_flow_state'
377
+ require 'ory-client/models/verify_api_key_request'
378
+ require 'ory-client/models/verify_api_key_response'
329
379
  require 'ory-client/models/verify_user_code_request'
330
380
  require 'ory-client/models/version'
331
381
  require 'ory-client/models/warning'
@@ -334,6 +384,7 @@ require 'ory-client/models/workspace_api_key'
334
384
  require 'ory-client/models/workspace_organization'
335
385
 
336
386
  # APIs
387
+ require 'ory-client/api/api_keys_api'
337
388
  require 'ory-client/api/courier_api'
338
389
  require 'ory-client/api/events_api'
339
390
  require 'ory-client/api/frontend_api'
data/ory-client.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
7
7
 
8
- The version of the OpenAPI document: v1.22.38
8
+ The version of the OpenAPI document: v1.22.40
9
9
  Contact: support@ory.sh
10
10
  Generated by: https://openapi-generator.tech
11
11
  Generator version: 7.17.0
@@ -0,0 +1,252 @@
1
+ =begin
2
+ #Ory APIs
3
+
4
+ ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
+
6
+ The version of the OpenAPI document: v1.22.40
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for OryClient::APIKeysApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'APIKeysApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = OryClient::APIKeysApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of APIKeysApi' do
30
+ it 'should create an instance of APIKeysApi' do
31
+ expect(@api_instance).to be_instance_of(OryClient::APIKeysApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for admin_batch_import_api_keys
36
+ # Batch Import API Keys
37
+ # Imports up to 1000 external API keys in one request. Returns per-item results. If at least one item succeeds, response is 200 OK. If all items fail, the endpoint returns a non-200 error. ```http POST /v2alpha1/admin/importedApiKeys:batchImport { \"requests\": [ {\"raw_key\": \"sk_live_abc\", \"name\": \"Stripe key\", \"actor_id\": \"user_1\"}, {\"raw_key\": \"ghp_xyz\", \"name\": \"GitHub PAT\", \"actor_id\": \"user_2\"} ] } ```
38
+ # @param batch_import_api_keys_request BatchImportAPIKeysRequest imports multiple external API keys in one request. The maximum batch size is 1000 keys.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [BatchImportAPIKeysResponse]
41
+ describe 'admin_batch_import_api_keys test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for admin_batch_verify_api_keys
48
+ # Batch Verify API Keys
49
+ # Verifies multiple credentials in a single request. Efficiently verifies up to 100 credentials in parallel. Each credential is verified independently; partial failures are returned. Admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) The cache directive applies to every credential in the batch. ```http POST /v2alpha1/admin/apiKeys:batchVerify { \"requests\": [ {\"credential\": \"sk_live_abc123...\"}, {\"credential\": \"eyJhbGciOiJFZERTQSI...\"} ] } ```
50
+ # @param batch_verify_api_keys_request
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
53
+ # @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
54
+ # @return [BatchVerifyAPIKeysResponse]
55
+ describe 'admin_batch_verify_api_keys test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
+ end
59
+ end
60
+
61
+ # unit tests for admin_delete_imported_api_key
62
+ # Delete Imported API Key
63
+ # Permanently deletes an imported key (hard delete). The key is removed from the database. Use RevokeAPIKey for soft deletion (recommended). ```http DELETE /v2alpha1/admin/importedApiKeys/{key_id} ```
64
+ # @param key_id SHA512/256 hash of the imported key (REQUIRED)
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [Object]
67
+ describe 'admin_delete_imported_api_key test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
70
+ end
71
+ end
72
+
73
+ # unit tests for admin_derive_token
74
+ # Derive Token
75
+ # Mints a short-lived JWT or Macaroon token from an API key. Works with both issued and imported keys. The derived token inherits the permissions of the parent API key. ```http POST /v2alpha1/admin/apiKeys:derive { \"credential\": \"eyJhbGciOiJFZERTQSI...\", \"ttl\": \"1h\" } ```
76
+ # @param derive_token_request
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [DeriveTokenResponse]
79
+ describe 'admin_derive_token test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
82
+ end
83
+ end
84
+
85
+ # unit tests for admin_get_imported_api_key
86
+ # Get Imported API Key
87
+ # Retrieves details about a specific imported key. Returns metadata about the imported key. The original raw key is never returned. ```http GET /v2alpha1/admin/importedApiKeys/{key_id} ```
88
+ # @param key_id SHA512/256 hash of the imported key (REQUIRED)
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [ImportedAPIKey]
91
+ describe 'admin_get_imported_api_key test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
+ end
95
+ end
96
+
97
+ # unit tests for admin_get_issued_api_key
98
+ # Get Issued API Key
99
+ # Retrieves details about a specific issued API key including its status, scopes, expiration, and usage statistics. The secret is never returned. ```http GET /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ ```
100
+ # @param key_id Identifier of the API key resource.
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [IssuedAPIKey]
103
+ describe 'admin_get_issued_api_key test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
+ end
107
+ end
108
+
109
+ # unit tests for admin_get_jwks
110
+ # Get JWKS
111
+ # Returns the JSON Web Key Set for token verification. Provides the public keys needed to verify JWT tokens issued by this service. Keys are loaded from configuration (file://, https://, or base64:// URIs). Follows the JWKS standard (RFC 7517). ```http GET /v2alpha1/admin/derivedKeys/jwks.json ```
112
+ # @param [Hash] opts the optional parameters
113
+ # @return [GetJWKSResponse]
114
+ describe 'admin_get_jwks test' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ # unit tests for admin_import_api_key
121
+ # Import API Key
122
+ # Imports an external API key into the system. Allows importing keys from legacy systems or external providers. The raw key is hashed and stored securely (HMAC). Imported keys support token derivation (JWT/Macaroon) like issued keys. ```http POST /v2alpha1/admin/importedApiKeys { \"raw_key\": \"sk_live_abc123xyz\", \"name\": \"Imported Stripe Key\", \"actor_id\": \"user_123\" } ```
123
+ # @param import_api_key_request Example: { \"raw_key\": \"sk_live_abc123xyz789\", \"name\": \"Stripe Production Key\", \"actor_id\": \"payment-processor\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\", // 1 year (also accepts: 31536000s) \"metadata\": {\"source\": \"stripe\", \"environment\": \"production\"} }
124
+ # @param [Hash] opts the optional parameters
125
+ # @return [ImportedAPIKey]
126
+ describe 'admin_import_api_key test' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ # unit tests for admin_issue_api_key
133
+ # Issue API Key
134
+ # Creates a new API key for a given actor. The secret is returned only once in the response and cannot be retrieved later. Keys can be scoped with specific permissions and have optional expiration. ```http POST /v2alpha1/admin/issuedApiKeys { \"name\": \"production-service\", \"actor_id\": \"user_123\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\" } ```
135
+ # @param issue_api_key_request
136
+ # @param [Hash] opts the optional parameters
137
+ # @return [IssueAPIKeyResponse]
138
+ describe 'admin_issue_api_key test' do
139
+ it 'should work' do
140
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
141
+ end
142
+ end
143
+
144
+ # unit tests for admin_list_imported_api_keys
145
+ # List Imported API Keys
146
+ # Lists all imported keys with filtering. Returns imported keys only (not issued keys). Supports pagination and AIP-160 filter expressions. ```http GET /v2alpha1/admin/importedApiKeys?page_size=50&filter=status%3DKEY_STATUS_ACTIVE ```
147
+ # @param [Hash] opts the optional parameters
148
+ # @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
149
+ # @option opts [String] :page_token Cursor token for pagination (OPTIONAL)
150
+ # @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
151
+ # @return [ListImportedAPIKeysResponse]
152
+ describe 'admin_list_imported_api_keys test' do
153
+ it 'should work' do
154
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
155
+ end
156
+ end
157
+
158
+ # unit tests for admin_list_issued_api_keys
159
+ # List Issued API Keys
160
+ # Lists issued API keys with optional filtering. Supports cursor-based pagination and AIP-160 filter expressions. Returns only issued (generated) API keys; use ListImportedAPIKeys for imported keys. ```http GET /v2alpha1/admin/issuedApiKeys?page_size=50&filter=actor_id%3D%22user_123%22 ```
161
+ # @param [Hash] opts the optional parameters
162
+ # @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
163
+ # @option opts [String] :page_token Cursor token for pagination
164
+ # @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
165
+ # @return [ListIssuedAPIKeysResponse]
166
+ describe 'admin_list_issued_api_keys test' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
169
+ end
170
+ end
171
+
172
+ # unit tests for admin_revoke_api_key
173
+ # Revoke API Key
174
+ # Immediately revokes an API key (issued or imported). Once revoked, the key can no longer be used for authentication. This operation is irreversible. Revoked keys are retained for audit purposes. ```http POST /v2alpha1/admin/apiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:revoke { \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
175
+ # @param key_id Identifier of the API key resource.
176
+ # @param admin_revoke_api_key_body
177
+ # @param [Hash] opts the optional parameters
178
+ # @return [Object]
179
+ describe 'admin_revoke_api_key test' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
182
+ end
183
+ end
184
+
185
+ # unit tests for admin_rotate_issued_api_key
186
+ # Rotate Issued API Key
187
+ # Generates a new secret for an issued API key. Creates a new API key with a new key_id and secret, and immediately revokes the old key. This is the recommended way to update scopes, metadata, or rotate credentials. For zero-downtime rotation, use this workflow instead: 1. IssueAPIKey with new credentials 2. Deploy new secret to all services 3. Verify new secret works everywhere 4. RevokeAPIKey to remove the old key ```http POST /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:rotate { \"scopes\": [\"read\"] } ```
188
+ # @param key_id key_id is the ID of the existing API key to rotate
189
+ # @param admin_rotate_issued_api_key_body
190
+ # @param [Hash] opts the optional parameters
191
+ # @return [RotateIssuedAPIKeyResponse]
192
+ describe 'admin_rotate_issued_api_key test' do
193
+ it 'should work' do
194
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
195
+ end
196
+ end
197
+
198
+ # unit tests for admin_update_imported_api_key
199
+ # Update Imported API Key
200
+ # Updates metadata, scopes, or rate limits of an imported key. Supports partial updates via the update_mask query parameter (AIP-134). Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/importedApiKeys/{key_id}?update_mask=name { \"imported_api_key\": { \"key_id\": \"{key_id}\", \"name\": \"New name\" } } ```
201
+ # @param key_id SHA-512/256 hash of credential
202
+ # @param admin_update_imported_api_key_request
203
+ # @param [Hash] opts the optional parameters
204
+ # @option opts [String] :update_mask The list of fields to update. See AIP-134.
205
+ # @return [ImportedAPIKey]
206
+ describe 'admin_update_imported_api_key test' do
207
+ it 'should work' do
208
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
209
+ end
210
+ end
211
+
212
+ # unit tests for admin_update_issued_api_key
213
+ # Update Issued API Key
214
+ # Updates metadata, scopes, or rate limits of an issued key without rotating the secret. Use RotateIssuedAPIKey to change the secret. Follows AIP-134: the request body is the IssuedAPIKey resource itself, and the update_mask query parameter names the subset of fields to apply. Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ?update_mask=scopes { \"issued_api_key\": { \"key_id\": \"01HQZX9VYQKJB8XQZQXQZQXQXQ\", \"scopes\": [\"read\"] } } ```
215
+ # @param key_id Identifier of the API key resource.
216
+ # @param admin_update_issued_api_key_request
217
+ # @param [Hash] opts the optional parameters
218
+ # @option opts [String] :update_mask The list of fields to update. See AIP-134.
219
+ # @return [IssuedAPIKey]
220
+ describe 'admin_update_issued_api_key test' do
221
+ it 'should work' do
222
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
223
+ end
224
+ end
225
+
226
+ # unit tests for admin_verify_api_key
227
+ # Verify API Key
228
+ # Verifies a single API key or derived token. Validates the credential's signature, expiration, and revocation status. Works with any credential type (issued keys, imported keys, JWT, macaroon). The verification result includes decoded claims and metadata — admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) ```http POST /v2alpha1/admin/apiKeys:verify { \"credential\": \"sk_live_abc123...\" } ```
229
+ # @param verify_api_key_request
230
+ # @param [Hash] opts the optional parameters
231
+ # @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
232
+ # @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
233
+ # @return [VerifyAPIKeyResponse]
234
+ describe 'admin_verify_api_key test' do
235
+ it 'should work' do
236
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
237
+ end
238
+ end
239
+
240
+ # unit tests for revoke_api_key
241
+ # Revoke API Key (self-service)
242
+ # Proof-of-possession variant of revocation. Lives alongside `AdminRevokeAPIKey` in this service; the `Self*` prefix on the request/response messages disambiguates from the admin variant's `RevokeAPIKeyRequest`. Allows an API key holder to revoke their own key. The caller must provide the full API key secret as proof of possession. Supports issued API keys and imported keys. JWT and macaroon tokens cannot be self-revoked (they are stateless). The PRIVILEGE_WITHDRAWN reason is not allowed for self-revocation (admin-only). ```http POST /v2alpha1/apiKeys:selfRevoke { \"credential\": \"sk_live_abc123...\", \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
243
+ # @param self_revoke_api_key_request SelfRevokeAPIKeyRequest allows an API key holder to revoke their own key by providing the full key secret as proof of possession.
244
+ # @param [Hash] opts the optional parameters
245
+ # @return [Object]
246
+ describe 'revoke_api_key test' do
247
+ it 'should work' do
248
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
249
+ end
250
+ end
251
+
252
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.38
6
+ The version of the OpenAPI document: v1.22.40
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.17.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.38
6
+ The version of the OpenAPI document: v1.22.40
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.17.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.38
6
+ The version of the OpenAPI document: v1.22.40
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.17.0
@@ -198,6 +198,19 @@ describe 'FrontendApi' do
198
198
  end
199
199
  end
200
200
 
201
+ # unit tests for delete_test_login_flow
202
+ # Delete a test OIDC login flow
203
+ # Deletes a dry-run OIDC test login flow. A flow whose debug payload has been captured requires the HMAC cookie set by the OIDC callback; a flow still in the initial choose-method state is deletable with just the flow ID (it carries no PII, and the admin may want to abandon it).
204
+ # @param id ID of the test login flow to delete.
205
+ # @param [Hash] opts the optional parameters
206
+ # @option opts [String] :cookie HTTP Cookies. A captured test flow requires the ory_kratos_test_flow cookie set by the OIDC callback; a flow still in the initial choose-method state does not.
207
+ # @return [nil]
208
+ describe 'delete_test_login_flow test' do
209
+ it 'should work' do
210
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
211
+ end
212
+ end
213
+
201
214
  # unit tests for disable_my_other_sessions
202
215
  # Disable my other sessions
203
216
  # Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.38
6
+ The version of the OpenAPI document: v1.22.40
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.17.0
@@ -81,6 +81,18 @@ describe 'IdentityApi' do
81
81
  end
82
82
  end
83
83
 
84
+ # unit tests for create_test_login_flow
85
+ # Create a test OIDC login flow
86
+ # Creates a dry-run OIDC test login flow pre-scoped to one provider. The returned flow carries a single-submit UI and a CSRF bearer token. No identity is persisted and no session is issued when the flow completes; the captured debug data is returned in the flow's test_context.
87
+ # @param create_test_login_flow_body
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [LoginFlow]
90
+ describe 'create_test_login_flow test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
84
96
  # unit tests for delete_identity
85
97
  # Delete an Identity
86
98
  # Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.com/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or 404 if the identity was not found.
@@ -97,7 +109,7 @@ describe 'IdentityApi' do
97
109
  # Delete a credential for a specific identity
98
110
  # Delete an [identity](https://www.ory.com/docs/kratos/concepts/identity-user-model) credential by its type. You cannot delete passkeys or code auth credentials through this API.
99
111
  # @param id ID is the identity's ID.
100
- # @param type Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
112
+ # @param type Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn identifier_first CredentialsTypeIdentifierFirst link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
101
113
  # @param [Hash] opts the optional parameters
102
114
  # @option opts [String] :identifier Identifier is the identifier of the OIDC/SAML credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential={oidc,saml}` endpoint.
103
115
  # @return [nil]
@@ -262,6 +274,18 @@ describe 'IdentityApi' do
262
274
  end
263
275
  end
264
276
 
277
+ # unit tests for manage_sessions
278
+ # Manage sessions in bulk
279
+ # Disable or delete sessions for a list of identities or a list of sessions in a single call. The `action` field selects the operation: `disable` — deactivate matching sessions (sets `active = false`, preserves audit data). `delete` — permanently delete matching sessions. Exactly one of `identities` or `sessions` must be provided. To scope the operation to every session in the network, pass `identities: [\"*\"]`; the wildcard is not accepted in the `sessions` field. Up to 500 explicit IDs are accepted per call. All requests return `200 OK` with `{processed, more}`. `processed` reports how many rows the call affected; for `disable` it counts only sessions that were active before the call. `more` is `true` only when a wildcard request reached the per-call batch limit and additional rows may remain; callers drain the network by re-issuing the same request while `more` is `true`. Explicit-IDs requests always return `more: false`.
280
+ # @param manage_sessions_body
281
+ # @param [Hash] opts the optional parameters
282
+ # @return [ManageSessionsResponse]
283
+ describe 'manage_sessions test' do
284
+ it 'should work' do
285
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
286
+ end
287
+ end
288
+
265
289
  # unit tests for patch_identity
266
290
  # Patch an Identity
267
291
  # Partially updates an [identity's](https://www.ory.com/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.38
6
+ The version of the OpenAPI document: v1.22.40
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.17.0