ory-kratos-client 0.5.5.alpha2 → 0.6.0.alpha4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (322) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +85 -36
  3. data/docs/AdminApi.md +206 -20
  4. data/docs/AuthenticateOKBody.md +20 -0
  5. data/docs/ContainerChangeResponseItem.md +20 -0
  6. data/docs/ContainerCreateCreatedBody.md +20 -0
  7. data/docs/ContainerTopOKBody.md +20 -0
  8. data/docs/ContainerUpdateOKBody.md +18 -0
  9. data/docs/ContainerWaitOKBody.md +20 -0
  10. data/docs/ContainerWaitOKBodyError.md +18 -0
  11. data/docs/ErrorContainer.md +1 -1
  12. data/docs/ErrorResponse.md +18 -0
  13. data/docs/GenericErrorPayload.md +1 -1
  14. data/docs/GraphDriverData.md +20 -0
  15. data/docs/IdResponse.md +18 -0
  16. data/docs/IdentityCredentials.md +22 -0
  17. data/docs/ImageDeleteResponseItem.md +20 -0
  18. data/docs/ImageSummary.md +36 -0
  19. data/docs/InlineResponse200.md +18 -0
  20. data/docs/InlineResponse2001.md +18 -0
  21. data/docs/InlineResponse503.md +18 -0
  22. data/docs/LoginFlow.md +5 -7
  23. data/docs/Meta.md +18 -0
  24. data/docs/Plugin.md +28 -0
  25. data/docs/PluginConfig.md +48 -0
  26. data/docs/PluginConfigArgs.md +24 -0
  27. data/docs/PluginConfigInterface.md +20 -0
  28. data/docs/PluginConfigLinux.md +22 -0
  29. data/docs/PluginConfigNetwork.md +18 -0
  30. data/docs/PluginConfigRootfs.md +20 -0
  31. data/docs/PluginConfigUser.md +20 -0
  32. data/docs/PluginDevice.md +24 -0
  33. data/docs/PluginEnv.md +24 -0
  34. data/docs/PluginInterfaceType.md +22 -0
  35. data/docs/PluginMount.md +30 -0
  36. data/docs/PluginSettings.md +24 -0
  37. data/docs/Port.md +24 -0
  38. data/docs/PublicApi.md +481 -552
  39. data/docs/RecoveryFlow.md +4 -6
  40. data/docs/RegistrationFlow.md +4 -6
  41. data/docs/ServiceUpdateResponse.md +18 -0
  42. data/docs/SettingsFlow.md +4 -6
  43. data/docs/{RecoveryFlowMethodConfig.md → SettingsProfileFormConfig.md} +6 -6
  44. data/docs/SubmitSelfServiceBrowserSettingsOIDCFlowPayload.md +22 -0
  45. data/docs/SubmitSelfServiceLoginFlow.md +47 -0
  46. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethod.md +24 -0
  47. data/docs/{CompleteSelfServiceRecoveryFlowWithLinkMethod.md → SubmitSelfServiceRecoveryFlowWithLinkMethod.md} +2 -2
  48. data/docs/SubmitSelfServiceRegistrationFlow.md +47 -0
  49. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethod.md +24 -0
  50. data/docs/SubmitSelfServiceSettingsFlow.md +49 -0
  51. data/docs/{CompleteSelfServiceSettingsFlowWithPasswordMethod.md → SubmitSelfServiceSettingsFlowWithPasswordMethod.md} +4 -2
  52. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethod.md +22 -0
  53. data/docs/{CompleteSelfServiceVerificationFlowWithLinkMethod.md → SubmitSelfServiceVerificationFlowWithLinkMethod.md} +2 -2
  54. data/docs/{SettingsFlowMethodConfig.md → UiContainer.md} +6 -6
  55. data/docs/UiNode.md +26 -0
  56. data/docs/UiNodeAnchorAttributes.md +20 -0
  57. data/docs/UiNodeAttributes.md +53 -0
  58. data/docs/UiNodeImageAttributes.md +18 -0
  59. data/docs/UiNodeInputAttributes.md +30 -0
  60. data/docs/UiNodeInputAttributesValue.md +51 -0
  61. data/docs/UiNodeTextAttributes.md +18 -0
  62. data/docs/UiText.md +24 -0
  63. data/docs/VerificationFlow.md +6 -8
  64. data/docs/Volume.md +34 -0
  65. data/docs/VolumeUsageData.md +20 -0
  66. data/lib/ory-kratos-client.rb +59 -23
  67. data/lib/ory-kratos-client/api/admin_api.rb +207 -36
  68. data/lib/ory-kratos-client/api/public_api.rb +494 -538
  69. data/lib/ory-kratos-client/api_client.rb +6 -6
  70. data/lib/ory-kratos-client/api_error.rb +5 -5
  71. data/lib/ory-kratos-client/configuration.rb +36 -13
  72. data/lib/ory-kratos-client/models/authenticate_ok_body.rb +240 -0
  73. data/lib/ory-kratos-client/models/container_change_response_item.rb +240 -0
  74. data/lib/ory-kratos-client/models/container_create_created_body.rb +242 -0
  75. data/lib/ory-kratos-client/models/container_top_ok_body.rb +244 -0
  76. data/lib/ory-kratos-client/models/container_update_ok_body.rb +227 -0
  77. data/lib/ory-kratos-client/models/container_wait_ok_body.rb +239 -0
  78. data/lib/ory-kratos-client/models/container_wait_ok_body_error.rb +220 -0
  79. data/lib/ory-kratos-client/models/create_identity.rb +5 -5
  80. data/lib/ory-kratos-client/models/create_recovery_link.rb +5 -5
  81. data/lib/ory-kratos-client/models/error_container.rb +9 -7
  82. data/lib/ory-kratos-client/models/{registration_flow_method.rb → error_response.rb} +19 -33
  83. data/lib/ory-kratos-client/models/generic_error.rb +5 -5
  84. data/lib/ory-kratos-client/models/generic_error_payload.rb +9 -7
  85. data/lib/ory-kratos-client/models/graph_driver_data.rb +241 -0
  86. data/lib/ory-kratos-client/models/health_not_ready_status.rb +5 -5
  87. data/lib/ory-kratos-client/models/health_status.rb +5 -5
  88. data/lib/ory-kratos-client/models/id_response.rb +225 -0
  89. data/lib/ory-kratos-client/models/identity.rb +5 -5
  90. data/lib/ory-kratos-client/models/identity_credentials.rb +241 -0
  91. data/lib/ory-kratos-client/models/{complete_self_service_login_flow_with_password_method.rb → image_delete_response_item.rb} +24 -33
  92. data/lib/ory-kratos-client/models/image_summary.rb +366 -0
  93. data/lib/ory-kratos-client/models/{recovery_flow_method.rb → inline_response200.rb} +19 -33
  94. data/lib/ory-kratos-client/models/{settings_flow_method.rb → inline_response2001.rb} +19 -33
  95. data/lib/ory-kratos-client/models/inline_response503.rb +226 -0
  96. data/lib/ory-kratos-client/models/login_flow.rb +29 -38
  97. data/lib/ory-kratos-client/models/login_via_api_response.rb +5 -5
  98. data/lib/ory-kratos-client/models/meta.rb +219 -0
  99. data/lib/ory-kratos-client/models/plugin.rb +288 -0
  100. data/lib/ory-kratos-client/models/plugin_config.rb +434 -0
  101. data/lib/ory-kratos-client/models/plugin_config_args.rb +274 -0
  102. data/lib/ory-kratos-client/models/plugin_config_interface.rb +242 -0
  103. data/lib/ory-kratos-client/models/plugin_config_linux.rb +259 -0
  104. data/lib/ory-kratos-client/models/{message.rb → plugin_config_network.rb} +17 -38
  105. data/lib/ory-kratos-client/models/plugin_config_rootfs.rb +232 -0
  106. data/lib/ory-kratos-client/models/plugin_config_user.rb +230 -0
  107. data/lib/ory-kratos-client/models/plugin_device.rb +272 -0
  108. data/lib/ory-kratos-client/models/plugin_env.rb +272 -0
  109. data/lib/ory-kratos-client/models/{settings_flow_method_config.rb → plugin_interface_type.rb} +40 -52
  110. data/lib/ory-kratos-client/models/plugin_mount.rb +319 -0
  111. data/lib/ory-kratos-client/models/plugin_settings.rb +277 -0
  112. data/lib/ory-kratos-client/models/port.rb +260 -0
  113. data/lib/ory-kratos-client/models/recovery_address.rb +5 -5
  114. data/lib/ory-kratos-client/models/recovery_flow.rb +24 -38
  115. data/lib/ory-kratos-client/models/recovery_link.rb +5 -5
  116. data/lib/ory-kratos-client/models/registration_flow.rb +24 -38
  117. data/lib/ory-kratos-client/models/registration_via_api_response.rb +5 -5
  118. data/lib/ory-kratos-client/models/revoke_session.rb +5 -5
  119. data/lib/ory-kratos-client/models/service_update_response.rb +222 -0
  120. data/lib/ory-kratos-client/models/session.rb +5 -5
  121. data/lib/ory-kratos-client/models/settings_flow.rb +24 -38
  122. data/lib/ory-kratos-client/models/{login_flow_method_config.rb → settings_profile_form_config.rb} +22 -35
  123. data/lib/ory-kratos-client/models/settings_via_api_response.rb +5 -5
  124. data/lib/ory-kratos-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +239 -0
  125. data/lib/ory-kratos-client/models/submit_self_service_login_flow.rb +104 -0
  126. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method.rb +249 -0
  127. data/lib/ory-kratos-client/models/{complete_self_service_recovery_flow_with_link_method.rb → submit_self_service_recovery_flow_with_link_method.rb} +8 -8
  128. data/lib/ory-kratos-client/models/submit_self_service_registration_flow.rb +104 -0
  129. data/lib/ory-kratos-client/models/{recovery_flow_method_config.rb → submit_self_service_registration_flow_with_password_method.rb} +38 -50
  130. data/lib/ory-kratos-client/models/submit_self_service_settings_flow.rb +105 -0
  131. data/lib/ory-kratos-client/models/{complete_self_service_settings_flow_with_password_method.rb → submit_self_service_settings_flow_with_password_method.rb} +19 -9
  132. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method.rb +245 -0
  133. data/lib/ory-kratos-client/models/{complete_self_service_verification_flow_with_link_method.rb → submit_self_service_verification_flow_with_link_method.rb} +9 -8
  134. data/lib/ory-kratos-client/models/{registration_flow_method_config.rb → ui_container.rb} +23 -35
  135. data/lib/ory-kratos-client/models/ui_node.rb +282 -0
  136. data/lib/ory-kratos-client/models/{verification_flow_method.rb → ui_node_anchor_attributes.rb} +28 -28
  137. data/lib/ory-kratos-client/models/ui_node_attributes.rb +107 -0
  138. data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +224 -0
  139. data/lib/ory-kratos-client/models/{form_field.rb → ui_node_input_attributes.rb} +26 -25
  140. data/lib/ory-kratos-client/models/ui_node_input_attributes_value.rb +106 -0
  141. data/lib/ory-kratos-client/models/{login_flow_method.rb → ui_node_text_attributes.rb} +18 -33
  142. data/lib/ory-kratos-client/models/{verification_flow_method_config.rb → ui_text.rb} +44 -49
  143. data/lib/ory-kratos-client/models/update_identity.rb +5 -5
  144. data/lib/ory-kratos-client/models/verifiable_address.rb +5 -5
  145. data/lib/ory-kratos-client/models/verification_flow.rb +32 -36
  146. data/lib/ory-kratos-client/models/version.rb +5 -5
  147. data/lib/ory-kratos-client/models/volume.rb +335 -0
  148. data/lib/ory-kratos-client/models/volume_usage_data.rb +240 -0
  149. data/lib/ory-kratos-client/version.rb +6 -6
  150. data/ory-kratos-client.gemspec +7 -7
  151. data/spec/api/admin_api_spec.rb +134 -41
  152. data/spec/api/public_api_spec.rb +268 -37
  153. data/spec/api_client_spec.rb +5 -5
  154. data/spec/configuration_spec.rb +8 -8
  155. data/spec/models/authenticate_ok_body_spec.rb +40 -0
  156. data/spec/models/container_change_response_item_spec.rb +40 -0
  157. data/spec/models/container_create_created_body_spec.rb +40 -0
  158. data/spec/models/container_top_ok_body_spec.rb +40 -0
  159. data/spec/models/container_update_ok_body_spec.rb +34 -0
  160. data/spec/models/container_wait_ok_body_error_spec.rb +34 -0
  161. data/spec/models/container_wait_ok_body_spec.rb +40 -0
  162. data/spec/models/create_identity_spec.rb +8 -15
  163. data/spec/models/create_recovery_link_spec.rb +8 -15
  164. data/spec/models/error_container_spec.rb +8 -15
  165. data/spec/models/error_response_spec.rb +34 -0
  166. data/spec/models/generic_error_payload_spec.rb +8 -15
  167. data/spec/models/generic_error_spec.rb +8 -33
  168. data/spec/models/graph_driver_data_spec.rb +40 -0
  169. data/spec/models/health_not_ready_status_spec.rb +8 -15
  170. data/spec/models/health_status_spec.rb +8 -15
  171. data/spec/models/id_response_spec.rb +34 -0
  172. data/spec/models/identity_credentials_spec.rb +46 -0
  173. data/spec/models/identity_spec.rb +27 -16
  174. data/spec/models/image_delete_response_item_spec.rb +40 -0
  175. data/spec/models/image_summary_spec.rb +88 -0
  176. data/spec/models/inline_response2001_spec.rb +34 -0
  177. data/spec/models/inline_response200_spec.rb +34 -0
  178. data/spec/models/inline_response503_spec.rb +34 -0
  179. data/spec/models/login_flow_spec.rb +11 -24
  180. data/spec/models/login_via_api_response_spec.rb +8 -15
  181. data/spec/models/meta_spec.rb +34 -0
  182. data/spec/models/plugin_config_args_spec.rb +52 -0
  183. data/spec/models/plugin_config_interface_spec.rb +40 -0
  184. data/spec/models/plugin_config_linux_spec.rb +46 -0
  185. data/spec/models/plugin_config_network_spec.rb +34 -0
  186. data/spec/models/plugin_config_rootfs_spec.rb +40 -0
  187. data/spec/models/plugin_config_spec.rb +124 -0
  188. data/spec/models/plugin_config_user_spec.rb +40 -0
  189. data/spec/models/plugin_device_spec.rb +52 -0
  190. data/spec/models/plugin_env_spec.rb +52 -0
  191. data/spec/models/plugin_interface_type_spec.rb +46 -0
  192. data/spec/models/{settings_request_spec.rb → plugin_mount_spec.rb} +18 -31
  193. data/spec/models/plugin_settings_spec.rb +52 -0
  194. data/spec/models/{registration_request_spec.rb → plugin_spec.rb} +16 -23
  195. data/spec/models/port_spec.rb +52 -0
  196. data/spec/models/recovery_address_spec.rb +8 -15
  197. data/spec/models/recovery_flow_spec.rb +12 -25
  198. data/spec/models/recovery_link_spec.rb +8 -15
  199. data/spec/models/registration_flow_spec.rb +11 -24
  200. data/spec/models/registration_via_api_response_spec.rb +8 -15
  201. data/spec/models/revoke_session_spec.rb +8 -15
  202. data/spec/models/service_update_response_spec.rb +34 -0
  203. data/spec/models/session_spec.rb +17 -18
  204. data/spec/models/settings_flow_spec.rb +12 -25
  205. data/spec/models/settings_profile_form_config_spec.rb +52 -0
  206. data/spec/models/settings_via_api_response_spec.rb +8 -15
  207. data/spec/models/submit_self_service_browser_settings_oidc_flow_payload_spec.rb +46 -0
  208. data/spec/models/submit_self_service_login_flow_spec.rb +31 -0
  209. data/spec/models/submit_self_service_login_flow_with_password_method_spec.rb +52 -0
  210. data/spec/models/submit_self_service_recovery_flow_with_link_method_spec.rb +40 -0
  211. data/spec/models/submit_self_service_registration_flow_spec.rb +31 -0
  212. data/spec/models/submit_self_service_registration_flow_with_password_method_spec.rb +46 -0
  213. data/spec/models/submit_self_service_settings_flow_spec.rb +31 -0
  214. data/spec/models/submit_self_service_settings_flow_with_password_method_spec.rb +46 -0
  215. data/spec/models/submit_self_service_settings_flow_with_profile_method_spec.rb +46 -0
  216. data/spec/models/submit_self_service_verification_flow_with_link_method_spec.rb +40 -0
  217. data/spec/models/{registration_flow_method_config_spec.rb → ui_container_spec.rb} +12 -25
  218. data/spec/models/ui_node_anchor_attributes_spec.rb +40 -0
  219. data/spec/models/ui_node_attributes_spec.rb +31 -0
  220. data/spec/models/ui_node_image_attributes_spec.rb +34 -0
  221. data/spec/models/{verification_request_spec.rb → ui_node_input_attributes_spec.rb} +18 -25
  222. data/spec/models/ui_node_input_attributes_value_spec.rb +31 -0
  223. data/spec/models/{login_flow_method_config_spec.rb → ui_node_spec.rb} +15 -22
  224. data/spec/models/ui_node_text_attributes_spec.rb +34 -0
  225. data/spec/models/{message_spec.rb → ui_text_spec.rb} +11 -18
  226. data/spec/models/update_identity_spec.rb +8 -15
  227. data/spec/models/verifiable_address_spec.rb +10 -17
  228. data/spec/models/verification_flow_spec.rb +12 -25
  229. data/spec/models/version_spec.rb +8 -15
  230. data/spec/models/{recovery_request_spec.rb → volume_spec.rb} +24 -25
  231. data/spec/models/volume_usage_data_spec.rb +40 -0
  232. data/spec/spec_helper.rb +5 -5
  233. metadata +225 -160
  234. data/docs/CommonApi.md +0 -345
  235. data/docs/CompleteSelfServiceBrowserProfileManagementFlowPayload.md +0 -17
  236. data/docs/CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload.md +0 -19
  237. data/docs/CompleteSelfServiceLoginFlowWithPasswordMethod.md +0 -22
  238. data/docs/Error.md +0 -17
  239. data/docs/Form.md +0 -23
  240. data/docs/FormField.md +0 -30
  241. data/docs/HealthApi.md +0 -131
  242. data/docs/LoginFlowMethod.md +0 -20
  243. data/docs/LoginFlowMethodConfig.md +0 -26
  244. data/docs/LoginRequest.md +0 -31
  245. data/docs/LoginRequestMethod.md +0 -19
  246. data/docs/LoginRequestMethodConfig.md +0 -25
  247. data/docs/Message.md +0 -24
  248. data/docs/OidcStrategyCredentialsConfig.md +0 -19
  249. data/docs/OidcStrategyRequestMethod.md +0 -25
  250. data/docs/ProfileManagementRequest.md +0 -29
  251. data/docs/ProviderCredentialsConfig.md +0 -19
  252. data/docs/RecoveryFlowMethod.md +0 -20
  253. data/docs/RecoveryRequest.md +0 -31
  254. data/docs/RecoveryRequestMethod.md +0 -19
  255. data/docs/RegistrationFlowMethod.md +0 -20
  256. data/docs/RegistrationFlowMethodConfig.md +0 -26
  257. data/docs/RegistrationRequest.md +0 -29
  258. data/docs/RegistrationRequestMethod.md +0 -19
  259. data/docs/RegistrationRequestMethodConfig.md +0 -25
  260. data/docs/RequestMethodConfig.md +0 -23
  261. data/docs/SettingsFlowMethod.md +0 -20
  262. data/docs/SettingsRequest.md +0 -33
  263. data/docs/SettingsRequestMethod.md +0 -19
  264. data/docs/VerificationFlowMethod.md +0 -20
  265. data/docs/VerificationFlowMethodConfig.md +0 -24
  266. data/docs/VerificationRequest.md +0 -31
  267. data/docs/VersionApi.md +0 -69
  268. data/lib/ory-kratos-client/api/common_api.rb +0 -456
  269. data/lib/ory-kratos-client/api/health_api.rb +0 -136
  270. data/lib/ory-kratos-client/api/version_api.rb +0 -79
  271. data/lib/ory-kratos-client/models/complete_self_service_browser_profile_management_flow_payload.rb +0 -212
  272. data/lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb +0 -222
  273. data/lib/ory-kratos-client/models/error.rb +0 -207
  274. data/lib/ory-kratos-client/models/form.rb +0 -256
  275. data/lib/ory-kratos-client/models/login_request.rb +0 -304
  276. data/lib/ory-kratos-client/models/login_request_method.rb +0 -226
  277. data/lib/ory-kratos-client/models/login_request_method_config.rb +0 -267
  278. data/lib/ory-kratos-client/models/oidc_strategy_credentials_config.rb +0 -215
  279. data/lib/ory-kratos-client/models/oidc_strategy_request_method.rb +0 -252
  280. data/lib/ory-kratos-client/models/profile_management_request.rb +0 -300
  281. data/lib/ory-kratos-client/models/provider_credentials_config.rb +0 -215
  282. data/lib/ory-kratos-client/models/recovery_request.rb +0 -309
  283. data/lib/ory-kratos-client/models/recovery_request_method.rb +0 -216
  284. data/lib/ory-kratos-client/models/registration_request.rb +0 -294
  285. data/lib/ory-kratos-client/models/registration_request_method.rb +0 -216
  286. data/lib/ory-kratos-client/models/registration_request_method_config.rb +0 -267
  287. data/lib/ory-kratos-client/models/request_method_config.rb +0 -255
  288. data/lib/ory-kratos-client/models/settings_request.rb +0 -323
  289. data/lib/ory-kratos-client/models/settings_request_method.rb +0 -216
  290. data/lib/ory-kratos-client/models/verification_request.rb +0 -276
  291. data/spec/api/common_api_spec.rb +0 -83
  292. data/spec/api/health_api_spec.rb +0 -57
  293. data/spec/api/version_api_spec.rb +0 -46
  294. data/spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb +0 -41
  295. data/spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb +0 -47
  296. data/spec/models/complete_self_service_login_flow_with_password_method_spec.rb +0 -53
  297. data/spec/models/complete_self_service_recovery_flow_with_link_method_spec.rb +0 -47
  298. data/spec/models/complete_self_service_settings_flow_with_password_method_spec.rb +0 -47
  299. data/spec/models/complete_self_service_verification_flow_with_link_method_spec.rb +0 -47
  300. data/spec/models/error_spec.rb +0 -41
  301. data/spec/models/form_field_spec.rb +0 -65
  302. data/spec/models/form_spec.rb +0 -59
  303. data/spec/models/login_flow_method_spec.rb +0 -47
  304. data/spec/models/login_request_method_config_spec.rb +0 -35
  305. data/spec/models/login_request_method_spec.rb +0 -47
  306. data/spec/models/login_request_spec.rb +0 -71
  307. data/spec/models/oidc_strategy_credentials_config_spec.rb +0 -47
  308. data/spec/models/oidc_strategy_request_method_spec.rb +0 -65
  309. data/spec/models/profile_management_request_spec.rb +0 -77
  310. data/spec/models/provider_credentials_config_spec.rb +0 -47
  311. data/spec/models/recovery_flow_method_config_spec.rb +0 -59
  312. data/spec/models/recovery_flow_method_spec.rb +0 -47
  313. data/spec/models/recovery_request_method_spec.rb +0 -47
  314. data/spec/models/registration_flow_method_spec.rb +0 -47
  315. data/spec/models/registration_request_method_config_spec.rb +0 -35
  316. data/spec/models/registration_request_method_spec.rb +0 -47
  317. data/spec/models/request_method_config_spec.rb +0 -59
  318. data/spec/models/settings_flow_method_config_spec.rb +0 -59
  319. data/spec/models/settings_flow_method_spec.rb +0 -47
  320. data/spec/models/settings_request_method_spec.rb +0 -47
  321. data/spec/models/verification_flow_method_config_spec.rb +0 -59
  322. data/spec/models/verification_flow_method_spec.rb +0 -47
data/docs/FormField.md DELETED
@@ -1,30 +0,0 @@
1
- # OryHydraClient::FormField
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **disabled** | **Boolean** | Disabled is the equivalent of `<input {{if .Disabled}}disabled{{end}}\">` | [optional] |
8
- | **messages** | [**Array<Message>**](Message.md) | | [optional] |
9
- | **name** | **String** | Name is the equivalent of `<input name=\"{{.Name}}\">` | |
10
- | **pattern** | **String** | Pattern is the equivalent of `<input pattern=\"{{.Pattern}}\">` | [optional] |
11
- | **required** | **Boolean** | Required is the equivalent of `<input required=\"{{.Required}}\">` | [optional] |
12
- | **type** | **String** | Type is the equivalent of `<input type=\"{{.Type}}\">` | |
13
- | **value** | **Object** | Value is the equivalent of `<input value=\"{{.Value}}\">` | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'ory-kratos-client'
19
-
20
- instance = OryHydraClient::FormField.new(
21
- disabled: null,
22
- messages: null,
23
- name: null,
24
- pattern: null,
25
- required: null,
26
- type: null,
27
- value: null
28
- )
29
- ```
30
-
data/docs/HealthApi.md DELETED
@@ -1,131 +0,0 @@
1
- # OryHydraClient::HealthApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**is_instance_alive**](HealthApi.md#is_instance_alive) | **GET** /health/alive | Check alive status |
8
- | [**is_instance_ready**](HealthApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status |
9
-
10
-
11
- ## is_instance_alive
12
-
13
- > <HealthStatus> is_instance_alive
14
-
15
- Check alive status
16
-
17
- This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
18
-
19
- ### Examples
20
-
21
- ```ruby
22
- require 'time'
23
- require 'ory-kratos-client'
24
-
25
- api_instance = OryHydraClient::HealthApi.new
26
-
27
- begin
28
- # Check alive status
29
- result = api_instance.is_instance_alive
30
- p result
31
- rescue OryHydraClient::ApiError => e
32
- puts "Error when calling HealthApi->is_instance_alive: #{e}"
33
- end
34
- ```
35
-
36
- #### Using the is_instance_alive_with_http_info variant
37
-
38
- This returns an Array which contains the response data, status code and headers.
39
-
40
- > <Array(<HealthStatus>, Integer, Hash)> is_instance_alive_with_http_info
41
-
42
- ```ruby
43
- begin
44
- # Check alive status
45
- data, status_code, headers = api_instance.is_instance_alive_with_http_info
46
- p status_code # => 2xx
47
- p headers # => { ... }
48
- p data # => <HealthStatus>
49
- rescue OryHydraClient::ApiError => e
50
- puts "Error when calling HealthApi->is_instance_alive_with_http_info: #{e}"
51
- end
52
- ```
53
-
54
- ### Parameters
55
-
56
- This endpoint does not need any parameter.
57
-
58
- ### Return type
59
-
60
- [**HealthStatus**](HealthStatus.md)
61
-
62
- ### Authorization
63
-
64
- No authorization required
65
-
66
- ### HTTP request headers
67
-
68
- - **Content-Type**: Not defined
69
- - **Accept**: application/json
70
-
71
-
72
- ## is_instance_ready
73
-
74
- > <HealthStatus> is_instance_ready
75
-
76
- Check readiness status
77
-
78
- This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
79
-
80
- ### Examples
81
-
82
- ```ruby
83
- require 'time'
84
- require 'ory-kratos-client'
85
-
86
- api_instance = OryHydraClient::HealthApi.new
87
-
88
- begin
89
- # Check readiness status
90
- result = api_instance.is_instance_ready
91
- p result
92
- rescue OryHydraClient::ApiError => e
93
- puts "Error when calling HealthApi->is_instance_ready: #{e}"
94
- end
95
- ```
96
-
97
- #### Using the is_instance_ready_with_http_info variant
98
-
99
- This returns an Array which contains the response data, status code and headers.
100
-
101
- > <Array(<HealthStatus>, Integer, Hash)> is_instance_ready_with_http_info
102
-
103
- ```ruby
104
- begin
105
- # Check readiness status
106
- data, status_code, headers = api_instance.is_instance_ready_with_http_info
107
- p status_code # => 2xx
108
- p headers # => { ... }
109
- p data # => <HealthStatus>
110
- rescue OryHydraClient::ApiError => e
111
- puts "Error when calling HealthApi->is_instance_ready_with_http_info: #{e}"
112
- end
113
- ```
114
-
115
- ### Parameters
116
-
117
- This endpoint does not need any parameter.
118
-
119
- ### Return type
120
-
121
- [**HealthStatus**](HealthStatus.md)
122
-
123
- ### Authorization
124
-
125
- No authorization required
126
-
127
- ### HTTP request headers
128
-
129
- - **Content-Type**: Not defined
130
- - **Accept**: application/json
131
-
@@ -1,20 +0,0 @@
1
- # OryHydraClient::LoginFlowMethod
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **config** | [**LoginFlowMethodConfig**](LoginFlowMethodConfig.md) | | |
8
- | **method** | **String** | and so on. | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'ory-kratos-client'
14
-
15
- instance = OryHydraClient::LoginFlowMethod.new(
16
- config: null,
17
- method: null
18
- )
19
- ```
20
-
@@ -1,26 +0,0 @@
1
- # OryHydraClient::LoginFlowMethodConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **action** | **String** | Action should be used as the form action URL &#x60;&lt;form action&#x3D;\&quot;{{ .Action }}\&quot; method&#x3D;\&quot;post\&quot;&gt;&#x60;. | |
8
- | **fields** | [**Array&lt;FormField&gt;**](FormField.md) | Fields contains multiple fields | |
9
- | **messages** | [**Array&lt;Message&gt;**](Message.md) | | [optional] |
10
- | **method** | **String** | Method is the form method (e.g. POST) | |
11
- | **providers** | [**Array&lt;FormField&gt;**](FormField.md) | Providers is set for the \&quot;oidc\&quot; flow method. | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'ory-kratos-client'
17
-
18
- instance = OryHydraClient::LoginFlowMethodConfig.new(
19
- action: null,
20
- fields: null,
21
- messages: null,
22
- method: null,
23
- providers: null
24
- )
25
- ```
26
-
data/docs/LoginRequest.md DELETED
@@ -1,31 +0,0 @@
1
- # OryHydraClient::LoginRequest
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **String** | and so on. | [optional]
8
- **expires_at** | **DateTime** | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to log in, a new request has to be initiated. |
9
- **forced** | **Boolean** | Forced stores whether this login request should enforce reauthentication. | [optional]
10
- **id** | **String** | |
11
- **issued_at** | **DateTime** | IssuedAt is the time (UTC) when the request occurred. |
12
- **messages** | [**Array&lt;Message&gt;**](Message.md) | | [optional]
13
- **methods** | [**Hash&lt;String, LoginRequestMethod&gt;**](LoginRequestMethod.md) | Methods contains context for all enabled login methods. If a login request has been processed, but for example the password is incorrect, this will contain error messages. |
14
- **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL&#39;s path or query for example. |
15
-
16
- ## Code Sample
17
-
18
- ```ruby
19
- require 'OryHydraClient'
20
-
21
- instance = OryHydraClient::LoginRequest.new(active: null,
22
- expires_at: null,
23
- forced: null,
24
- id: null,
25
- issued_at: null,
26
- messages: null,
27
- methods: null,
28
- request_url: null)
29
- ```
30
-
31
-
@@ -1,19 +0,0 @@
1
- # OryHydraClient::LoginRequestMethod
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **config** | [**LoginRequestMethodConfig**](LoginRequestMethodConfig.md) | |
8
- **method** | **String** | and so on. |
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'OryHydraClient'
14
-
15
- instance = OryHydraClient::LoginRequestMethod.new(config: null,
16
- method: null)
17
- ```
18
-
19
-
@@ -1,25 +0,0 @@
1
- # OryHydraClient::LoginRequestMethodConfig
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **action** | **String** | Action should be used as the form action URL &#x60;&lt;form action&#x3D;\&quot;{{ .Action }}\&quot; method&#x3D;\&quot;post\&quot;&gt;&#x60;. |
8
- **fields** | [**Array&lt;FormField&gt;**](FormField.md) | Fields contains multiple fields |
9
- **messages** | [**Array&lt;Message&gt;**](Message.md) | | [optional]
10
- **method** | **String** | Method is the form method (e.g. POST) |
11
- **providers** | [**Array&lt;FormField&gt;**](FormField.md) | Providers is set for the \&quot;oidc\&quot; request method. | [optional]
12
-
13
- ## Code Sample
14
-
15
- ```ruby
16
- require 'OryHydraClient'
17
-
18
- instance = OryHydraClient::LoginRequestMethodConfig.new(action: null,
19
- fields: null,
20
- messages: null,
21
- method: null,
22
- providers: null)
23
- ```
24
-
25
-
data/docs/Message.md DELETED
@@ -1,24 +0,0 @@
1
- # OryHydraClient::Message
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **context** | **Object** | | [optional] |
8
- | **id** | **Integer** | | [optional] |
9
- | **text** | **String** | | [optional] |
10
- | **type** | **String** | The flow type can either be &#x60;api&#x60; or &#x60;browser&#x60;. | [optional] |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'ory-kratos-client'
16
-
17
- instance = OryHydraClient::Message.new(
18
- context: null,
19
- id: null,
20
- text: null,
21
- type: null
22
- )
23
- ```
24
-
@@ -1,19 +0,0 @@
1
- # OryHydraClient::OidcStrategyCredentialsConfig
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **provider** | **String** | | [optional]
8
- **subject** | **String** | | [optional]
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'OryHydraClient'
14
-
15
- instance = OryHydraClient::OidcStrategyCredentialsConfig.new(provider: null,
16
- subject: null)
17
- ```
18
-
19
-
@@ -1,25 +0,0 @@
1
- # OryHydraClient::OidcStrategyRequestMethod
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **action** | **String** | Action should be used as the form action URL (&lt;form action&#x3D;\&quot;{{ .Action }}\&quot; method&#x3D;\&quot;post\&quot;&gt;). | [optional]
8
- **errors** | [**Array&lt;Error&gt;**](Error.md) | Errors contains all form errors. These will be duplicates of the individual field errors. | [optional]
9
- **fields** | [**Hash&lt;String, FormField&gt;**](FormField.md) | Fields contains multiple fields asdfasdf | [optional]
10
- **method** | **String** | Method is the form method (e.g. POST) | [optional]
11
- **providers** | [**Array&lt;FormField&gt;**](FormField.md) | | [optional]
12
-
13
- ## Code Sample
14
-
15
- ```ruby
16
- require 'OryHydraClient'
17
-
18
- instance = OryHydraClient::OidcStrategyRequestMethod.new(action: null,
19
- errors: null,
20
- fields: null,
21
- method: null,
22
- providers: null)
23
- ```
24
-
25
-
@@ -1,29 +0,0 @@
1
- # OryHydraClient::ProfileManagementRequest
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **expires_at** | **DateTime** | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the profile, a new request has to be initiated. |
8
- **form** | [**Form**](Form.md) | |
9
- **id** | **String** | |
10
- **identity** | [**Identity**](Identity.md) | |
11
- **issued_at** | **DateTime** | IssuedAt is the time (UTC) when the request occurred. |
12
- **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL&#39;s path or query for example. |
13
- **update_successful** | **Boolean** | UpdateSuccessful, if true, indicates that the profile has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a request with invalid (e.g. \&quot;please use a valid phone number\&quot;) data was sent. |
14
-
15
- ## Code Sample
16
-
17
- ```ruby
18
- require 'OryHydraClient'
19
-
20
- instance = OryHydraClient::ProfileManagementRequest.new(expires_at: null,
21
- form: null,
22
- id: null,
23
- identity: null,
24
- issued_at: null,
25
- request_url: null,
26
- update_successful: null)
27
- ```
28
-
29
-
@@ -1,19 +0,0 @@
1
- # OryHydraClient::ProviderCredentialsConfig
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **provider** | **String** | | [optional]
8
- **subject** | **String** | | [optional]
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'OryHydraClient'
14
-
15
- instance = OryHydraClient::ProviderCredentialsConfig.new(provider: null,
16
- subject: null)
17
- ```
18
-
19
-
@@ -1,20 +0,0 @@
1
- # OryHydraClient::RecoveryFlowMethod
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **config** | [**RecoveryFlowMethodConfig**](RecoveryFlowMethodConfig.md) | | |
8
- | **method** | **String** | Method contains the request credentials type. | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'ory-kratos-client'
14
-
15
- instance = OryHydraClient::RecoveryFlowMethod.new(
16
- config: null,
17
- method: null
18
- )
19
- ```
20
-
@@ -1,31 +0,0 @@
1
- # OryHydraClient::RecoveryRequest
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional]
8
- **expires_at** | **DateTime** | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. |
9
- **id** | **String** | |
10
- **issued_at** | **DateTime** | IssuedAt is the time (UTC) when the request occurred. |
11
- **messages** | [**Array&lt;Message&gt;**](Message.md) | | [optional]
12
- **methods** | [**Hash&lt;String, RecoveryRequestMethod&gt;**](RecoveryRequestMethod.md) | Methods contains context for all account recovery methods. If a registration request has been processed, but for example the password is incorrect, this will contain error messages. |
13
- **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL&#39;s path or query for example. |
14
- **state** | **String** | |
15
-
16
- ## Code Sample
17
-
18
- ```ruby
19
- require 'OryHydraClient'
20
-
21
- instance = OryHydraClient::RecoveryRequest.new(active: null,
22
- expires_at: null,
23
- id: null,
24
- issued_at: null,
25
- messages: null,
26
- methods: null,
27
- request_url: null,
28
- state: null)
29
- ```
30
-
31
-