ory-kratos-client 0.6.2.alpha1 → 0.7.1.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +135 -147
  3. data/docs/AdminApi.md +15 -13
  4. data/docs/AdminCreateIdentityBody.md +20 -0
  5. data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +20 -0
  6. data/docs/AdminUpdateIdentityBody.md +22 -0
  7. data/docs/AuthenticateOKBody.md +2 -2
  8. data/docs/ContainerChangeResponseItem.md +2 -2
  9. data/docs/ContainerCreateCreatedBody.md +2 -2
  10. data/docs/ContainerTopOKBody.md +2 -2
  11. data/docs/ContainerUpdateOKBody.md +2 -2
  12. data/docs/ContainerWaitOKBody.md +2 -2
  13. data/docs/ContainerWaitOKBodyError.md +2 -2
  14. data/docs/ErrorResponse.md +2 -2
  15. data/docs/GenericError.md +16 -4
  16. data/docs/GraphDriverData.md +2 -2
  17. data/docs/HealthNotReadyStatus.md +2 -2
  18. data/docs/HealthStatus.md +2 -2
  19. data/docs/IdResponse.md +2 -2
  20. data/docs/Identity.md +14 -4
  21. data/docs/IdentityCredentials.md +7 -3
  22. data/docs/IdentityState.md +15 -0
  23. data/docs/ImageDeleteResponseItem.md +2 -2
  24. data/docs/ImageSummary.md +2 -2
  25. data/docs/InlineResponse200.md +2 -2
  26. data/docs/InlineResponse2001.md +2 -2
  27. data/docs/InlineResponse503.md +2 -2
  28. data/docs/JsonError.md +18 -0
  29. data/docs/LoginFlow.md +5 -1
  30. data/docs/Meta.md +2 -2
  31. data/docs/MetadataApi.md +254 -0
  32. data/docs/Plugin.md +2 -2
  33. data/docs/PluginConfig.md +2 -2
  34. data/docs/PluginConfigArgs.md +2 -2
  35. data/docs/PluginConfigInterface.md +2 -2
  36. data/docs/PluginConfigLinux.md +2 -2
  37. data/docs/PluginConfigNetwork.md +2 -2
  38. data/docs/PluginConfigRootfs.md +2 -2
  39. data/docs/PluginConfigUser.md +2 -2
  40. data/docs/PluginDevice.md +2 -2
  41. data/docs/PluginEnv.md +2 -2
  42. data/docs/PluginInterfaceType.md +2 -2
  43. data/docs/PluginMount.md +2 -2
  44. data/docs/PluginSettings.md +2 -2
  45. data/docs/Port.md +2 -2
  46. data/docs/PublicApi.md +216 -210
  47. data/docs/RecoveryAddress.md +6 -2
  48. data/docs/SelfServiceError.md +24 -0
  49. data/docs/SelfServiceErrorContainer.md +24 -0
  50. data/docs/SelfServiceLoginFlow.md +36 -0
  51. data/docs/SelfServiceLogoutUrl.md +18 -0
  52. data/docs/SelfServiceRecoveryFlow.md +32 -0
  53. data/docs/SelfServiceRecoveryFlowState.md +15 -0
  54. data/docs/SelfServiceRecoveryLink.md +20 -0
  55. data/docs/SelfServiceRegistrationFlow.md +30 -0
  56. data/docs/SelfServiceSettingsFlow.md +34 -0
  57. data/docs/SelfServiceSettingsFlowState.md +15 -0
  58. data/docs/SelfServiceVerificationFlow.md +32 -0
  59. data/docs/SelfServiceVerificationFlowState.md +15 -0
  60. data/docs/ServiceUpdateResponse.md +2 -2
  61. data/docs/Session.md +6 -6
  62. data/docs/SettingsProfileFormConfig.md +2 -2
  63. data/docs/SubmitSelfServiceLoginFlowBody.md +76 -0
  64. data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +22 -0
  65. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +24 -0
  66. data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +18 -0
  67. data/docs/SubmitSelfServiceRecoveryFlowBody.md +75 -0
  68. data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +22 -0
  69. data/docs/SubmitSelfServiceRegistrationFlowBody.md +76 -0
  70. data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +22 -0
  71. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +24 -0
  72. data/docs/SubmitSelfServiceSettingsFlowBody.md +79 -0
  73. data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +24 -0
  74. data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +22 -0
  75. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +22 -0
  76. data/docs/SubmitSelfServiceVerificationFlowBody.md +75 -0
  77. data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +22 -0
  78. data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +20 -0
  79. data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +22 -0
  80. data/docs/SuccessfulSelfServiceSettingsWithoutBrowser.md +20 -0
  81. data/docs/UiContainer.md +2 -2
  82. data/docs/UiNode.md +2 -2
  83. data/docs/UiNodeAnchorAttributes.md +2 -2
  84. data/docs/UiNodeAttributes.md +4 -4
  85. data/docs/UiNodeImageAttributes.md +2 -2
  86. data/docs/UiNodeInputAttributes.md +3 -3
  87. data/docs/UiNodeTextAttributes.md +2 -2
  88. data/docs/UiText.md +2 -2
  89. data/docs/V0alpha1Api.md +2167 -0
  90. data/docs/VerifiableIdentityAddress.md +32 -0
  91. data/docs/Version.md +2 -2
  92. data/docs/Volume.md +2 -2
  93. data/docs/VolumeUsageData.md +2 -2
  94. data/lib/ory-kratos-client/api/admin_api.rb +7 -4
  95. data/lib/ory-kratos-client/api/metadata_api.rb +248 -0
  96. data/lib/ory-kratos-client/api/public_api.rb +171 -162
  97. data/lib/ory-kratos-client/api/v0alpha1_api.rb +2054 -0
  98. data/lib/ory-kratos-client/api_client.rb +4 -4
  99. data/lib/ory-kratos-client/api_error.rb +3 -3
  100. data/lib/ory-kratos-client/configuration.rb +11 -32
  101. data/lib/ory-kratos-client/models/admin_create_identity_body.rb +239 -0
  102. data/lib/ory-kratos-client/models/admin_create_self_service_recovery_link_body.rb +250 -0
  103. data/lib/ory-kratos-client/models/admin_update_identity_body.rb +248 -0
  104. data/lib/ory-kratos-client/models/authenticate_ok_body.rb +6 -6
  105. data/lib/ory-kratos-client/models/container_change_response_item.rb +6 -6
  106. data/lib/ory-kratos-client/models/container_create_created_body.rb +6 -6
  107. data/lib/ory-kratos-client/models/container_top_ok_body.rb +6 -6
  108. data/lib/ory-kratos-client/models/container_update_ok_body.rb +6 -6
  109. data/lib/ory-kratos-client/models/container_wait_ok_body.rb +6 -6
  110. data/lib/ory-kratos-client/models/container_wait_ok_body_error.rb +6 -6
  111. data/lib/ory-kratos-client/models/create_identity.rb +1 -1
  112. data/lib/ory-kratos-client/models/create_recovery_link.rb +1 -1
  113. data/lib/ory-kratos-client/models/error_response.rb +6 -6
  114. data/lib/ory-kratos-client/models/generic_error.rb +81 -14
  115. data/lib/ory-kratos-client/models/graph_driver_data.rb +6 -6
  116. data/lib/ory-kratos-client/models/health_not_ready_status.rb +6 -6
  117. data/lib/ory-kratos-client/models/health_status.rb +6 -6
  118. data/lib/ory-kratos-client/models/id_response.rb +6 -6
  119. data/lib/ory-kratos-client/models/identity.rb +62 -14
  120. data/lib/ory-kratos-client/models/identity_credentials.rb +30 -10
  121. data/lib/ory-kratos-client/models/identity_state.rb +37 -0
  122. data/lib/ory-kratos-client/models/image_delete_response_item.rb +6 -6
  123. data/lib/ory-kratos-client/models/image_summary.rb +6 -6
  124. data/lib/ory-kratos-client/models/inline_response200.rb +6 -6
  125. data/lib/ory-kratos-client/models/inline_response2001.rb +6 -6
  126. data/lib/ory-kratos-client/models/inline_response503.rb +6 -6
  127. data/lib/ory-kratos-client/models/json_error.rb +224 -0
  128. data/lib/ory-kratos-client/models/login_flow.rb +25 -5
  129. data/lib/ory-kratos-client/models/login_via_api_response.rb +1 -1
  130. data/lib/ory-kratos-client/models/meta.rb +6 -6
  131. data/lib/ory-kratos-client/models/plugin.rb +6 -6
  132. data/lib/ory-kratos-client/models/plugin_config.rb +6 -6
  133. data/lib/ory-kratos-client/models/plugin_config_args.rb +6 -6
  134. data/lib/ory-kratos-client/models/plugin_config_interface.rb +6 -6
  135. data/lib/ory-kratos-client/models/plugin_config_linux.rb +6 -6
  136. data/lib/ory-kratos-client/models/plugin_config_network.rb +6 -6
  137. data/lib/ory-kratos-client/models/plugin_config_rootfs.rb +6 -6
  138. data/lib/ory-kratos-client/models/plugin_config_user.rb +6 -6
  139. data/lib/ory-kratos-client/models/plugin_device.rb +6 -6
  140. data/lib/ory-kratos-client/models/plugin_env.rb +6 -6
  141. data/lib/ory-kratos-client/models/plugin_interface_type.rb +6 -6
  142. data/lib/ory-kratos-client/models/plugin_mount.rb +6 -6
  143. data/lib/ory-kratos-client/models/plugin_settings.rb +6 -6
  144. data/lib/ory-kratos-client/models/port.rb +6 -6
  145. data/lib/ory-kratos-client/models/recovery_address.rb +27 -7
  146. data/lib/ory-kratos-client/models/recovery_flow.rb +1 -1
  147. data/lib/ory-kratos-client/models/recovery_link.rb +1 -1
  148. data/lib/ory-kratos-client/models/registration_flow.rb +1 -1
  149. data/lib/ory-kratos-client/models/registration_via_api_response.rb +1 -1
  150. data/lib/ory-kratos-client/models/revoke_session.rb +1 -1
  151. data/lib/ory-kratos-client/models/self_service_error.rb +252 -0
  152. data/lib/ory-kratos-client/models/self_service_error_container.rb +260 -0
  153. data/lib/ory-kratos-client/models/self_service_login_flow.rb +338 -0
  154. data/lib/ory-kratos-client/models/self_service_logout_url.rb +219 -0
  155. data/lib/ory-kratos-client/models/self_service_recovery_flow.rb +317 -0
  156. data/lib/ory-kratos-client/models/self_service_recovery_flow_state.rb +38 -0
  157. data/lib/ory-kratos-client/models/self_service_recovery_link.rb +234 -0
  158. data/lib/ory-kratos-client/models/self_service_registration_flow.rb +302 -0
  159. data/lib/ory-kratos-client/models/self_service_settings_flow.rb +331 -0
  160. data/lib/ory-kratos-client/models/self_service_settings_flow_state.rb +37 -0
  161. data/lib/ory-kratos-client/models/self_service_verification_flow.rb +307 -0
  162. data/lib/ory-kratos-client/models/self_service_verification_flow_state.rb +38 -0
  163. data/lib/ory-kratos-client/models/service_update_response.rb +6 -6
  164. data/lib/ory-kratos-client/models/session.rb +11 -21
  165. data/lib/ory-kratos-client/models/settings_flow.rb +1 -1
  166. data/lib/ory-kratos-client/models/settings_profile_form_config.rb +6 -6
  167. data/lib/ory-kratos-client/models/settings_via_api_response.rb +1 -1
  168. data/lib/ory-kratos-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +1 -1
  169. data/lib/ory-kratos-client/models/submit_self_service_login_flow.rb +1 -1
  170. data/lib/ory-kratos-client/models/submit_self_service_login_flow_body.rb +54 -0
  171. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +250 -0
  172. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method.rb +1 -1
  173. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method_body.rb +298 -0
  174. data/lib/ory-kratos-client/models/submit_self_service_logout_flow_without_browser_body.rb +225 -0
  175. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_body.rb +53 -0
  176. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method.rb +1 -1
  177. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +283 -0
  178. data/lib/ory-kratos-client/models/submit_self_service_registration_flow.rb +1 -1
  179. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_body.rb +54 -0
  180. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +250 -0
  181. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_password_method.rb +22 -1
  182. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_password_method_body.rb +299 -0
  183. data/lib/ory-kratos-client/models/submit_self_service_settings_flow.rb +1 -1
  184. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_body.rb +56 -0
  185. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +255 -0
  186. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_password_method.rb +1 -1
  187. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_password_method_body.rb +283 -0
  188. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method.rb +1 -1
  189. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +250 -0
  190. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_body.rb +54 -0
  191. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_with_link_method.rb +1 -1
  192. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_with_link_method_body.rb +283 -0
  193. data/lib/ory-kratos-client/models/successful_self_service_login_without_browser.rb +234 -0
  194. data/lib/ory-kratos-client/models/successful_self_service_registration_without_browser.rb +243 -0
  195. data/lib/ory-kratos-client/models/successful_self_service_settings_without_browser.rb +238 -0
  196. data/lib/ory-kratos-client/models/ui_container.rb +6 -6
  197. data/lib/ory-kratos-client/models/ui_node.rb +6 -6
  198. data/lib/ory-kratos-client/models/ui_node_anchor_attributes.rb +6 -6
  199. data/lib/ory-kratos-client/models/ui_node_attributes.rb +4 -4
  200. data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +6 -6
  201. data/lib/ory-kratos-client/models/ui_node_input_attributes.rb +9 -7
  202. data/lib/ory-kratos-client/models/ui_node_input_attributes_value.rb +1 -1
  203. data/lib/ory-kratos-client/models/ui_node_text_attributes.rb +6 -6
  204. data/lib/ory-kratos-client/models/ui_text.rb +6 -6
  205. data/lib/ory-kratos-client/models/update_identity.rb +1 -1
  206. data/lib/ory-kratos-client/models/verifiable_identity_address.rb +313 -0
  207. data/lib/ory-kratos-client/models/verification_flow.rb +1 -1
  208. data/lib/ory-kratos-client/models/version.rb +6 -6
  209. data/lib/ory-kratos-client/models/volume.rb +6 -6
  210. data/lib/ory-kratos-client/models/volume_usage_data.rb +6 -6
  211. data/lib/ory-kratos-client/version.rb +4 -4
  212. data/lib/ory-kratos-client.rb +41 -33
  213. data/ory-kratos-client.gemspec +3 -3
  214. data/spec/api/metadata_api_spec.rb +79 -0
  215. data/spec/api/v0alpha1_api_spec.rb +429 -0
  216. data/spec/api_client_spec.rb +31 -31
  217. data/spec/configuration_spec.rb +8 -8
  218. data/spec/models/admin_create_identity_body_spec.rb +40 -0
  219. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +40 -0
  220. data/spec/models/admin_update_identity_body_spec.rb +46 -0
  221. data/spec/models/identity_state_spec.rb +28 -0
  222. data/spec/models/json_error_spec.rb +34 -0
  223. data/spec/models/self_service_error_container_spec.rb +52 -0
  224. data/spec/models/self_service_error_spec.rb +52 -0
  225. data/spec/models/self_service_login_flow_spec.rb +88 -0
  226. data/spec/models/self_service_logout_url_spec.rb +34 -0
  227. data/spec/models/self_service_recovery_flow_spec.rb +76 -0
  228. data/spec/models/self_service_recovery_flow_state_spec.rb +28 -0
  229. data/spec/models/self_service_recovery_link_spec.rb +40 -0
  230. data/spec/models/self_service_registration_flow_spec.rb +70 -0
  231. data/spec/models/self_service_settings_flow_spec.rb +82 -0
  232. data/spec/models/self_service_settings_flow_state_spec.rb +28 -0
  233. data/spec/models/self_service_verification_flow_spec.rb +76 -0
  234. data/spec/models/self_service_verification_flow_state_spec.rb +28 -0
  235. data/spec/models/submit_self_service_login_flow_body_spec.rb +43 -0
  236. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +46 -0
  237. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +56 -0
  238. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +34 -0
  239. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +43 -0
  240. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +50 -0
  241. data/spec/models/submit_self_service_registration_flow_body_spec.rb +43 -0
  242. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +46 -0
  243. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +56 -0
  244. data/spec/models/submit_self_service_settings_flow_body_spec.rb +43 -0
  245. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +52 -0
  246. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +50 -0
  247. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +46 -0
  248. data/spec/models/submit_self_service_verification_flow_body_spec.rb +43 -0
  249. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +50 -0
  250. data/spec/models/successful_self_service_login_without_browser_spec.rb +40 -0
  251. data/spec/models/successful_self_service_registration_without_browser_spec.rb +46 -0
  252. data/spec/models/successful_self_service_settings_without_browser_spec.rb +40 -0
  253. data/spec/models/verifiable_identity_address_spec.rb +76 -0
  254. data/spec/spec_helper.rb +2 -2
  255. metadata +154 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 061a33d11f879df9c6001e9003cbad59f6e7d305a5414bfd8a7b1d4d736cfeb7
4
- data.tar.gz: a877fc46c8af71745fdb89aa5c3be267562732824ccff5f261cb75588d6cf07b
3
+ metadata.gz: 2ed46c677b4bee98be4284155d699c8c0477d2373d06e20a0322f7e8b0c60398
4
+ data.tar.gz: 19062cd3cee2d5cd56c66a8ae1dec986340395a3c236f17c344a0e2013d33bcd
5
5
  SHA512:
6
- metadata.gz: 9f9922d51405777d245c8c9766b662ab6340d01821a187975bfbf9af7845f413551041a42b4ef2c5762a77dd303050a34dd94681e6aa8063d5f703a9068878c9
7
- data.tar.gz: 04504fb9ec25ee97c1d9de90b6610c4d1e6566bcdd7ef9ec6ff00ddf94df74e5141295f91d5a7cf77ddf287da46ddb35f056fcd6a732a4dfdf2443cbbb1accfc
6
+ metadata.gz: d22f3b597068f443e0f056149277ae566eb4942936b8866dbe613db696bb1f896d9761089316bd62eeb75c90aa4ffeb7ca96ccfba13ebfa9df21748d2f56ffe3
7
+ data.tar.gz: ed8b47fdaa7593fbc153365e3e3de3cec83245f3bd1164c3a7148a665fb3b464ae83505462c77c22be30519dc537ab7a836f1381c79a40e73b80082f746c41dd
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ory-kratos-client
2
2
 
3
- OryHydraClient - the Ruby gem for the Ory Kratos API
3
+ OryKratosClient - the Ruby gem for the Ory Kratos API
4
4
 
5
5
  Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs
6
6
  are exposed on different ports. Public APIs can face the public internet without any protection
@@ -11,8 +11,8 @@ technology capable of authorizing incoming requests.
11
11
 
12
12
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
13
13
 
14
- - API version: v0.6.2-alpha.1
15
- - Package version: v0.6.2-alpha.1
14
+ - API version: v0.7.1-alpha.2
15
+ - Package version: v0.7.1-alpha.2
16
16
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
17
17
 
18
18
  ## Installation
@@ -28,16 +28,16 @@ gem build ory-kratos-client.gemspec
28
28
  Then either install the gem locally:
29
29
 
30
30
  ```shell
31
- gem install ./ory-kratos-client-v0.6.2-alpha.1.gem
31
+ gem install ./ory-kratos-client-v0.7.1-alpha.2.gem
32
32
  ```
33
33
 
34
- (for development, run `gem install --dev ./ory-kratos-client-v0.6.2-alpha.1.gem` to install the development dependencies)
34
+ (for development, run `gem install --dev ./ory-kratos-client-v0.7.1-alpha.2.gem` to install the development dependencies)
35
35
 
36
36
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
37
37
 
38
38
  Finally add this to the Gemfile:
39
39
 
40
- gem 'ory-kratos-client', '~> v0.6.2-alpha.1'
40
+ gem 'ory-kratos-client', '~> v0.7.1-alpha.2'
41
41
 
42
42
  ### Install from Git
43
43
 
@@ -61,167 +61,155 @@ Please follow the [installation](#installation) procedure and then run the follo
61
61
  # Load the gem
62
62
  require 'ory-kratos-client'
63
63
 
64
- api_instance = OryHydraClient::AdminApi.new
65
- opts = {
66
- create_identity: OryHydraClient::CreateIdentity.new({schema_id: 'schema_id_example', traits: 3.56}) # CreateIdentity |
67
- }
64
+ api_instance = OryKratosClient::MetadataApi.new
68
65
 
69
66
  begin
70
- #Create an Identity
71
- result = api_instance.create_identity(opts)
67
+ #Return Running Software Version.
68
+ result = api_instance.get_version
72
69
  p result
73
- rescue OryHydraClient::ApiError => e
74
- puts "Exception when calling AdminApi->create_identity: #{e}"
70
+ rescue OryKratosClient::ApiError => e
71
+ puts "Exception when calling MetadataApi->get_version: #{e}"
75
72
  end
76
73
 
77
74
  ```
78
75
 
79
76
  ## Documentation for API Endpoints
80
77
 
81
- All URIs are relative to *https://demo.tenants.oryapis.com/api/kratos/public*
78
+ All URIs are relative to *http://localhost*
82
79
 
83
80
  Class | Method | HTTP request | Description
84
81
  ------------ | ------------- | ------------- | -------------
85
- *OryHydraClient::AdminApi* | [**create_identity**](docs/AdminApi.md#create_identity) | **POST** /identities | Create an Identity
86
- *OryHydraClient::AdminApi* | [**create_recovery_link**](docs/AdminApi.md#create_recovery_link) | **POST** /recovery/link | Create a Recovery Link
87
- *OryHydraClient::AdminApi* | [**delete_identity**](docs/AdminApi.md#delete_identity) | **DELETE** /identities/{id} | Delete an Identity
88
- *OryHydraClient::AdminApi* | [**get_identity**](docs/AdminApi.md#get_identity) | **GET** /identities/{id} | Get an Identity
89
- *OryHydraClient::AdminApi* | [**get_schema**](docs/AdminApi.md#get_schema) | **GET** /schemas/{id} |
90
- *OryHydraClient::AdminApi* | [**get_self_service_error**](docs/AdminApi.md#get_self_service_error) | **GET** /self-service/errors | Get User-Facing Self-Service Errors
91
- *OryHydraClient::AdminApi* | [**get_self_service_login_flow**](docs/AdminApi.md#get_self_service_login_flow) | **GET** /self-service/login/flows | Get Login Flow
92
- *OryHydraClient::AdminApi* | [**get_self_service_recovery_flow**](docs/AdminApi.md#get_self_service_recovery_flow) | **GET** /self-service/recovery/flows | Get information about a recovery flow
93
- *OryHydraClient::AdminApi* | [**get_self_service_registration_flow**](docs/AdminApi.md#get_self_service_registration_flow) | **GET** /self-service/registration/flows | Get Registration Flow
94
- *OryHydraClient::AdminApi* | [**get_self_service_settings_flow**](docs/AdminApi.md#get_self_service_settings_flow) | **GET** /self-service/settings/flows | Get Settings Flow
95
- *OryHydraClient::AdminApi* | [**get_self_service_verification_flow**](docs/AdminApi.md#get_self_service_verification_flow) | **GET** /self-service/verification/flows | Get Verification Flow
96
- *OryHydraClient::AdminApi* | [**get_version**](docs/AdminApi.md#get_version) | **GET** /version | Return Running Software Version.
97
- *OryHydraClient::AdminApi* | [**is_alive**](docs/AdminApi.md#is_alive) | **GET** /health/alive | Check HTTP Server Status
98
- *OryHydraClient::AdminApi* | [**is_ready**](docs/AdminApi.md#is_ready) | **GET** /health/ready | Check HTTP Server and Database Status
99
- *OryHydraClient::AdminApi* | [**list_identities**](docs/AdminApi.md#list_identities) | **GET** /identities | List Identities
100
- *OryHydraClient::AdminApi* | [**prometheus**](docs/AdminApi.md#prometheus) | **GET** /metrics/prometheus | Get snapshot metrics from the Hydra service. If you're using k8s, you can then add annotations to your deployment like so:
101
- *OryHydraClient::AdminApi* | [**update_identity**](docs/AdminApi.md#update_identity) | **PUT** /identities/{id} | Update an Identity
102
- *OryHydraClient::PublicApi* | [**get_schema**](docs/PublicApi.md#get_schema) | **GET** /schemas/{id} |
103
- *OryHydraClient::PublicApi* | [**get_self_service_error**](docs/PublicApi.md#get_self_service_error) | **GET** /self-service/errors | Get User-Facing Self-Service Errors
104
- *OryHydraClient::PublicApi* | [**get_self_service_login_flow**](docs/PublicApi.md#get_self_service_login_flow) | **GET** /self-service/login/flows | Get Login Flow
105
- *OryHydraClient::PublicApi* | [**get_self_service_recovery_flow**](docs/PublicApi.md#get_self_service_recovery_flow) | **GET** /self-service/recovery/flows | Get information about a recovery flow
106
- *OryHydraClient::PublicApi* | [**get_self_service_registration_flow**](docs/PublicApi.md#get_self_service_registration_flow) | **GET** /self-service/registration/flows | Get Registration Flow
107
- *OryHydraClient::PublicApi* | [**get_self_service_settings_flow**](docs/PublicApi.md#get_self_service_settings_flow) | **GET** /self-service/settings/flows | Get Settings Flow
108
- *OryHydraClient::PublicApi* | [**get_self_service_verification_flow**](docs/PublicApi.md#get_self_service_verification_flow) | **GET** /self-service/verification/flows | Get Verification Flow
109
- *OryHydraClient::PublicApi* | [**initialize_self_service_browser_logout_flow**](docs/PublicApi.md#initialize_self_service_browser_logout_flow) | **GET** /self-service/browser/flows/logout | Initialize Browser-Based Logout User Flow
110
- *OryHydraClient::PublicApi* | [**initialize_self_service_login_via_api_flow**](docs/PublicApi.md#initialize_self_service_login_via_api_flow) | **GET** /self-service/login/api | Initialize Login Flow for API clients
111
- *OryHydraClient::PublicApi* | [**initialize_self_service_login_via_browser_flow**](docs/PublicApi.md#initialize_self_service_login_via_browser_flow) | **GET** /self-service/login/browser | Initialize Login Flow for browsers
112
- *OryHydraClient::PublicApi* | [**initialize_self_service_recovery_via_api_flow**](docs/PublicApi.md#initialize_self_service_recovery_via_api_flow) | **GET** /self-service/recovery/api | Initialize Recovery Flow for API Clients
113
- *OryHydraClient::PublicApi* | [**initialize_self_service_recovery_via_browser_flow**](docs/PublicApi.md#initialize_self_service_recovery_via_browser_flow) | **GET** /self-service/recovery/browser | Initialize Recovery Flow for Browser Clients
114
- *OryHydraClient::PublicApi* | [**initialize_self_service_registration_via_api_flow**](docs/PublicApi.md#initialize_self_service_registration_via_api_flow) | **GET** /self-service/registration/api | Initialize Registration Flow for API clients
115
- *OryHydraClient::PublicApi* | [**initialize_self_service_registration_via_browser_flow**](docs/PublicApi.md#initialize_self_service_registration_via_browser_flow) | **GET** /self-service/registration/browser | Initialize Registration Flow for browsers
116
- *OryHydraClient::PublicApi* | [**initialize_self_service_settings_via_api_flow**](docs/PublicApi.md#initialize_self_service_settings_via_api_flow) | **GET** /self-service/settings/api | Initialize Settings Flow for API Clients
117
- *OryHydraClient::PublicApi* | [**initialize_self_service_settings_via_browser_flow**](docs/PublicApi.md#initialize_self_service_settings_via_browser_flow) | **GET** /self-service/settings/browser | Initialize Settings Flow for Browsers
118
- *OryHydraClient::PublicApi* | [**initialize_self_service_verification_via_api_flow**](docs/PublicApi.md#initialize_self_service_verification_via_api_flow) | **GET** /self-service/verification/api | Initialize Verification Flow for API Clients
119
- *OryHydraClient::PublicApi* | [**initialize_self_service_verification_via_browser_flow**](docs/PublicApi.md#initialize_self_service_verification_via_browser_flow) | **GET** /self-service/verification/browser | Initialize Verification Flow for Browser Clients
120
- *OryHydraClient::PublicApi* | [**revoke_session**](docs/PublicApi.md#revoke_session) | **DELETE** /sessions | Initialize Logout Flow for API Clients - Revoke a Session
121
- *OryHydraClient::PublicApi* | [**submit_self_service_login_flow**](docs/PublicApi.md#submit_self_service_login_flow) | **POST** /self-service/login | Submit a Login Flow
122
- *OryHydraClient::PublicApi* | [**submit_self_service_recovery_flow**](docs/PublicApi.md#submit_self_service_recovery_flow) | **POST** /self-service/recovery | Complete Recovery Flow
123
- *OryHydraClient::PublicApi* | [**submit_self_service_recovery_flow_with_link_method**](docs/PublicApi.md#submit_self_service_recovery_flow_with_link_method) | **POST** /self-service/recovery/methods/link | Complete Recovery Flow with Link Method
124
- *OryHydraClient::PublicApi* | [**submit_self_service_registration_flow**](docs/PublicApi.md#submit_self_service_registration_flow) | **POST** /self-service/registration | Submit a Registration Flow
125
- *OryHydraClient::PublicApi* | [**submit_self_service_settings_flow**](docs/PublicApi.md#submit_self_service_settings_flow) | **POST** /self-service/settings | Complete Settings Flow
126
- *OryHydraClient::PublicApi* | [**submit_self_service_verification_flow**](docs/PublicApi.md#submit_self_service_verification_flow) | **POST** /self-service/verification/methods/link | Complete Verification Flow
127
- *OryHydraClient::PublicApi* | [**whoami**](docs/PublicApi.md#whoami) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To
82
+ *OryKratosClient::MetadataApi* | [**get_version**](docs/MetadataApi.md#get_version) | **GET** /version | Return Running Software Version.
83
+ *OryKratosClient::MetadataApi* | [**is_alive**](docs/MetadataApi.md#is_alive) | **GET** /health/alive | Check HTTP Server Status
84
+ *OryKratosClient::MetadataApi* | [**is_ready**](docs/MetadataApi.md#is_ready) | **GET** /health/ready | Check HTTP Server and Database Status
85
+ *OryKratosClient::MetadataApi* | [**prometheus**](docs/MetadataApi.md#prometheus) | **GET** /metrics/prometheus | Get snapshot metrics from the service. If you're using k8s, you can then add annotations to your deployment like so:
86
+ *OryKratosClient::V0alpha1Api* | [**admin_create_identity**](docs/V0alpha1Api.md#admin_create_identity) | **POST** /identities | Create an Identity
87
+ *OryKratosClient::V0alpha1Api* | [**admin_create_self_service_recovery_link**](docs/V0alpha1Api.md#admin_create_self_service_recovery_link) | **POST** /recovery/link | Create a Recovery Link
88
+ *OryKratosClient::V0alpha1Api* | [**admin_delete_identity**](docs/V0alpha1Api.md#admin_delete_identity) | **DELETE** /identities/{id} | Delete an Identity
89
+ *OryKratosClient::V0alpha1Api* | [**admin_get_identity**](docs/V0alpha1Api.md#admin_get_identity) | **GET** /identities/{id} | Get an Identity
90
+ *OryKratosClient::V0alpha1Api* | [**admin_list_identities**](docs/V0alpha1Api.md#admin_list_identities) | **GET** /identities | List Identities
91
+ *OryKratosClient::V0alpha1Api* | [**admin_update_identity**](docs/V0alpha1Api.md#admin_update_identity) | **PUT** /identities/{id} | Update an Identity
92
+ *OryKratosClient::V0alpha1Api* | [**create_self_service_logout_flow_url_for_browsers**](docs/V0alpha1Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers
93
+ *OryKratosClient::V0alpha1Api* | [**get_json_schema**](docs/V0alpha1Api.md#get_json_schema) | **GET** /schemas/{id} |
94
+ *OryKratosClient::V0alpha1Api* | [**get_self_service_error**](docs/V0alpha1Api.md#get_self_service_error) | **GET** /self-service/errors | Get Self-Service Errors
95
+ *OryKratosClient::V0alpha1Api* | [**get_self_service_login_flow**](docs/V0alpha1Api.md#get_self_service_login_flow) | **GET** /self-service/login/flows | Get Login Flow
96
+ *OryKratosClient::V0alpha1Api* | [**get_self_service_recovery_flow**](docs/V0alpha1Api.md#get_self_service_recovery_flow) | **GET** /self-service/recovery/flows | Get Recovery Flow
97
+ *OryKratosClient::V0alpha1Api* | [**get_self_service_registration_flow**](docs/V0alpha1Api.md#get_self_service_registration_flow) | **GET** /self-service/registration/flows | Get Registration Flow
98
+ *OryKratosClient::V0alpha1Api* | [**get_self_service_settings_flow**](docs/V0alpha1Api.md#get_self_service_settings_flow) | **GET** /self-service/settings/flows | Get Settings Flow
99
+ *OryKratosClient::V0alpha1Api* | [**get_self_service_verification_flow**](docs/V0alpha1Api.md#get_self_service_verification_flow) | **GET** /self-service/verification/flows | Get Verification Flow
100
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_login_flow_for_browsers**](docs/V0alpha1Api.md#initialize_self_service_login_flow_for_browsers) | **GET** /self-service/login/browser | Initialize Login Flow for Browsers
101
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_login_flow_without_browser**](docs/V0alpha1Api.md#initialize_self_service_login_flow_without_browser) | **GET** /self-service/login/api | Initialize Login Flow for APIs, Services, Apps, ...
102
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_recovery_flow_for_browsers**](docs/V0alpha1Api.md#initialize_self_service_recovery_flow_for_browsers) | **GET** /self-service/recovery/browser | Initialize Recovery Flow for Browsers
103
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_recovery_flow_without_browser**](docs/V0alpha1Api.md#initialize_self_service_recovery_flow_without_browser) | **GET** /self-service/recovery/api | Initialize Recovery Flow for APIs, Services, Apps, ...
104
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_registration_flow_for_browsers**](docs/V0alpha1Api.md#initialize_self_service_registration_flow_for_browsers) | **GET** /self-service/registration/browser | Initialize Registration Flow for Browsers
105
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_registration_flow_without_browser**](docs/V0alpha1Api.md#initialize_self_service_registration_flow_without_browser) | **GET** /self-service/registration/api | Initialize Registration Flow for APIs, Services, Apps, ...
106
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_settings_flow_for_browsers**](docs/V0alpha1Api.md#initialize_self_service_settings_flow_for_browsers) | **GET** /self-service/settings/browser | Initialize Settings Flow for Browsers
107
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_settings_flow_without_browser**](docs/V0alpha1Api.md#initialize_self_service_settings_flow_without_browser) | **GET** /self-service/settings/api | Initialize Settings Flow for APIs, Services, Apps, ...
108
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_verification_flow_for_browsers**](docs/V0alpha1Api.md#initialize_self_service_verification_flow_for_browsers) | **GET** /self-service/verification/browser | Initialize Verification Flow for Browser Clients
109
+ *OryKratosClient::V0alpha1Api* | [**initialize_self_service_verification_flow_without_browser**](docs/V0alpha1Api.md#initialize_self_service_verification_flow_without_browser) | **GET** /self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ...
110
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_login_flow**](docs/V0alpha1Api.md#submit_self_service_login_flow) | **POST** /self-service/login | Submit a Login Flow
111
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_logout_flow**](docs/V0alpha1Api.md#submit_self_service_logout_flow) | **GET** /self-service/logout | Complete Self-Service Logout
112
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_logout_flow_without_browser**](docs/V0alpha1Api.md#submit_self_service_logout_flow_without_browser) | **DELETE** /self-service/logout/api | Perform Logout for APIs, Services, Apps, ...
113
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_recovery_flow**](docs/V0alpha1Api.md#submit_self_service_recovery_flow) | **POST** /self-service/recovery | Complete Recovery Flow
114
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_registration_flow**](docs/V0alpha1Api.md#submit_self_service_registration_flow) | **POST** /self-service/registration | Submit a Registration Flow
115
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_settings_flow**](docs/V0alpha1Api.md#submit_self_service_settings_flow) | **POST** /self-service/settings | Complete Settings Flow
116
+ *OryKratosClient::V0alpha1Api* | [**submit_self_service_verification_flow**](docs/V0alpha1Api.md#submit_self_service_verification_flow) | **POST** /self-service/verification | Complete Verification Flow
117
+ *OryKratosClient::V0alpha1Api* | [**to_session**](docs/V0alpha1Api.md#to_session) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To
128
118
 
129
119
 
130
120
  ## Documentation for Models
131
121
 
132
- - [OryHydraClient::AuthenticateOKBody](docs/AuthenticateOKBody.md)
133
- - [OryHydraClient::ContainerChangeResponseItem](docs/ContainerChangeResponseItem.md)
134
- - [OryHydraClient::ContainerCreateCreatedBody](docs/ContainerCreateCreatedBody.md)
135
- - [OryHydraClient::ContainerTopOKBody](docs/ContainerTopOKBody.md)
136
- - [OryHydraClient::ContainerUpdateOKBody](docs/ContainerUpdateOKBody.md)
137
- - [OryHydraClient::ContainerWaitOKBody](docs/ContainerWaitOKBody.md)
138
- - [OryHydraClient::ContainerWaitOKBodyError](docs/ContainerWaitOKBodyError.md)
139
- - [OryHydraClient::CreateIdentity](docs/CreateIdentity.md)
140
- - [OryHydraClient::CreateRecoveryLink](docs/CreateRecoveryLink.md)
141
- - [OryHydraClient::ErrorContainer](docs/ErrorContainer.md)
142
- - [OryHydraClient::ErrorResponse](docs/ErrorResponse.md)
143
- - [OryHydraClient::GenericError](docs/GenericError.md)
144
- - [OryHydraClient::GenericErrorPayload](docs/GenericErrorPayload.md)
145
- - [OryHydraClient::GraphDriverData](docs/GraphDriverData.md)
146
- - [OryHydraClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
147
- - [OryHydraClient::HealthStatus](docs/HealthStatus.md)
148
- - [OryHydraClient::IdResponse](docs/IdResponse.md)
149
- - [OryHydraClient::Identity](docs/Identity.md)
150
- - [OryHydraClient::IdentityCredentials](docs/IdentityCredentials.md)
151
- - [OryHydraClient::ImageDeleteResponseItem](docs/ImageDeleteResponseItem.md)
152
- - [OryHydraClient::ImageSummary](docs/ImageSummary.md)
153
- - [OryHydraClient::InlineResponse200](docs/InlineResponse200.md)
154
- - [OryHydraClient::InlineResponse2001](docs/InlineResponse2001.md)
155
- - [OryHydraClient::InlineResponse503](docs/InlineResponse503.md)
156
- - [OryHydraClient::LoginFlow](docs/LoginFlow.md)
157
- - [OryHydraClient::LoginViaApiResponse](docs/LoginViaApiResponse.md)
158
- - [OryHydraClient::Meta](docs/Meta.md)
159
- - [OryHydraClient::Plugin](docs/Plugin.md)
160
- - [OryHydraClient::PluginConfig](docs/PluginConfig.md)
161
- - [OryHydraClient::PluginConfigArgs](docs/PluginConfigArgs.md)
162
- - [OryHydraClient::PluginConfigInterface](docs/PluginConfigInterface.md)
163
- - [OryHydraClient::PluginConfigLinux](docs/PluginConfigLinux.md)
164
- - [OryHydraClient::PluginConfigNetwork](docs/PluginConfigNetwork.md)
165
- - [OryHydraClient::PluginConfigRootfs](docs/PluginConfigRootfs.md)
166
- - [OryHydraClient::PluginConfigUser](docs/PluginConfigUser.md)
167
- - [OryHydraClient::PluginDevice](docs/PluginDevice.md)
168
- - [OryHydraClient::PluginEnv](docs/PluginEnv.md)
169
- - [OryHydraClient::PluginInterfaceType](docs/PluginInterfaceType.md)
170
- - [OryHydraClient::PluginMount](docs/PluginMount.md)
171
- - [OryHydraClient::PluginSettings](docs/PluginSettings.md)
172
- - [OryHydraClient::Port](docs/Port.md)
173
- - [OryHydraClient::RecoveryAddress](docs/RecoveryAddress.md)
174
- - [OryHydraClient::RecoveryFlow](docs/RecoveryFlow.md)
175
- - [OryHydraClient::RecoveryLink](docs/RecoveryLink.md)
176
- - [OryHydraClient::RegistrationFlow](docs/RegistrationFlow.md)
177
- - [OryHydraClient::RegistrationViaApiResponse](docs/RegistrationViaApiResponse.md)
178
- - [OryHydraClient::RevokeSession](docs/RevokeSession.md)
179
- - [OryHydraClient::ServiceUpdateResponse](docs/ServiceUpdateResponse.md)
180
- - [OryHydraClient::Session](docs/Session.md)
181
- - [OryHydraClient::SettingsFlow](docs/SettingsFlow.md)
182
- - [OryHydraClient::SettingsProfileFormConfig](docs/SettingsProfileFormConfig.md)
183
- - [OryHydraClient::SettingsViaApiResponse](docs/SettingsViaApiResponse.md)
184
- - [OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload](docs/SubmitSelfServiceBrowserSettingsOIDCFlowPayload.md)
185
- - [OryHydraClient::SubmitSelfServiceLoginFlow](docs/SubmitSelfServiceLoginFlow.md)
186
- - [OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod](docs/SubmitSelfServiceLoginFlowWithPasswordMethod.md)
187
- - [OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod](docs/SubmitSelfServiceRecoveryFlowWithLinkMethod.md)
188
- - [OryHydraClient::SubmitSelfServiceRegistrationFlow](docs/SubmitSelfServiceRegistrationFlow.md)
189
- - [OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod](docs/SubmitSelfServiceRegistrationFlowWithPasswordMethod.md)
190
- - [OryHydraClient::SubmitSelfServiceSettingsFlow](docs/SubmitSelfServiceSettingsFlow.md)
191
- - [OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod](docs/SubmitSelfServiceSettingsFlowWithPasswordMethod.md)
192
- - [OryHydraClient::SubmitSelfServiceSettingsFlowWithProfileMethod](docs/SubmitSelfServiceSettingsFlowWithProfileMethod.md)
193
- - [OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod](docs/SubmitSelfServiceVerificationFlowWithLinkMethod.md)
194
- - [OryHydraClient::UiContainer](docs/UiContainer.md)
195
- - [OryHydraClient::UiNode](docs/UiNode.md)
196
- - [OryHydraClient::UiNodeAnchorAttributes](docs/UiNodeAnchorAttributes.md)
197
- - [OryHydraClient::UiNodeAttributes](docs/UiNodeAttributes.md)
198
- - [OryHydraClient::UiNodeImageAttributes](docs/UiNodeImageAttributes.md)
199
- - [OryHydraClient::UiNodeInputAttributes](docs/UiNodeInputAttributes.md)
200
- - [OryHydraClient::UiNodeInputAttributesValue](docs/UiNodeInputAttributesValue.md)
201
- - [OryHydraClient::UiNodeTextAttributes](docs/UiNodeTextAttributes.md)
202
- - [OryHydraClient::UiText](docs/UiText.md)
203
- - [OryHydraClient::UpdateIdentity](docs/UpdateIdentity.md)
204
- - [OryHydraClient::VerifiableAddress](docs/VerifiableAddress.md)
205
- - [OryHydraClient::VerificationFlow](docs/VerificationFlow.md)
206
- - [OryHydraClient::Version](docs/Version.md)
207
- - [OryHydraClient::Volume](docs/Volume.md)
208
- - [OryHydraClient::VolumeUsageData](docs/VolumeUsageData.md)
122
+ - [OryKratosClient::AdminCreateIdentityBody](docs/AdminCreateIdentityBody.md)
123
+ - [OryKratosClient::AdminCreateSelfServiceRecoveryLinkBody](docs/AdminCreateSelfServiceRecoveryLinkBody.md)
124
+ - [OryKratosClient::AdminUpdateIdentityBody](docs/AdminUpdateIdentityBody.md)
125
+ - [OryKratosClient::AuthenticateOKBody](docs/AuthenticateOKBody.md)
126
+ - [OryKratosClient::ContainerChangeResponseItem](docs/ContainerChangeResponseItem.md)
127
+ - [OryKratosClient::ContainerCreateCreatedBody](docs/ContainerCreateCreatedBody.md)
128
+ - [OryKratosClient::ContainerTopOKBody](docs/ContainerTopOKBody.md)
129
+ - [OryKratosClient::ContainerUpdateOKBody](docs/ContainerUpdateOKBody.md)
130
+ - [OryKratosClient::ContainerWaitOKBody](docs/ContainerWaitOKBody.md)
131
+ - [OryKratosClient::ContainerWaitOKBodyError](docs/ContainerWaitOKBodyError.md)
132
+ - [OryKratosClient::ErrorResponse](docs/ErrorResponse.md)
133
+ - [OryKratosClient::GenericError](docs/GenericError.md)
134
+ - [OryKratosClient::GraphDriverData](docs/GraphDriverData.md)
135
+ - [OryKratosClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
136
+ - [OryKratosClient::HealthStatus](docs/HealthStatus.md)
137
+ - [OryKratosClient::IdResponse](docs/IdResponse.md)
138
+ - [OryKratosClient::Identity](docs/Identity.md)
139
+ - [OryKratosClient::IdentityCredentials](docs/IdentityCredentials.md)
140
+ - [OryKratosClient::IdentityState](docs/IdentityState.md)
141
+ - [OryKratosClient::ImageDeleteResponseItem](docs/ImageDeleteResponseItem.md)
142
+ - [OryKratosClient::ImageSummary](docs/ImageSummary.md)
143
+ - [OryKratosClient::InlineResponse200](docs/InlineResponse200.md)
144
+ - [OryKratosClient::InlineResponse2001](docs/InlineResponse2001.md)
145
+ - [OryKratosClient::InlineResponse503](docs/InlineResponse503.md)
146
+ - [OryKratosClient::JsonError](docs/JsonError.md)
147
+ - [OryKratosClient::Meta](docs/Meta.md)
148
+ - [OryKratosClient::Plugin](docs/Plugin.md)
149
+ - [OryKratosClient::PluginConfig](docs/PluginConfig.md)
150
+ - [OryKratosClient::PluginConfigArgs](docs/PluginConfigArgs.md)
151
+ - [OryKratosClient::PluginConfigInterface](docs/PluginConfigInterface.md)
152
+ - [OryKratosClient::PluginConfigLinux](docs/PluginConfigLinux.md)
153
+ - [OryKratosClient::PluginConfigNetwork](docs/PluginConfigNetwork.md)
154
+ - [OryKratosClient::PluginConfigRootfs](docs/PluginConfigRootfs.md)
155
+ - [OryKratosClient::PluginConfigUser](docs/PluginConfigUser.md)
156
+ - [OryKratosClient::PluginDevice](docs/PluginDevice.md)
157
+ - [OryKratosClient::PluginEnv](docs/PluginEnv.md)
158
+ - [OryKratosClient::PluginInterfaceType](docs/PluginInterfaceType.md)
159
+ - [OryKratosClient::PluginMount](docs/PluginMount.md)
160
+ - [OryKratosClient::PluginSettings](docs/PluginSettings.md)
161
+ - [OryKratosClient::Port](docs/Port.md)
162
+ - [OryKratosClient::RecoveryAddress](docs/RecoveryAddress.md)
163
+ - [OryKratosClient::SelfServiceError](docs/SelfServiceError.md)
164
+ - [OryKratosClient::SelfServiceLoginFlow](docs/SelfServiceLoginFlow.md)
165
+ - [OryKratosClient::SelfServiceLogoutUrl](docs/SelfServiceLogoutUrl.md)
166
+ - [OryKratosClient::SelfServiceRecoveryFlow](docs/SelfServiceRecoveryFlow.md)
167
+ - [OryKratosClient::SelfServiceRecoveryFlowState](docs/SelfServiceRecoveryFlowState.md)
168
+ - [OryKratosClient::SelfServiceRecoveryLink](docs/SelfServiceRecoveryLink.md)
169
+ - [OryKratosClient::SelfServiceRegistrationFlow](docs/SelfServiceRegistrationFlow.md)
170
+ - [OryKratosClient::SelfServiceSettingsFlow](docs/SelfServiceSettingsFlow.md)
171
+ - [OryKratosClient::SelfServiceSettingsFlowState](docs/SelfServiceSettingsFlowState.md)
172
+ - [OryKratosClient::SelfServiceVerificationFlow](docs/SelfServiceVerificationFlow.md)
173
+ - [OryKratosClient::SelfServiceVerificationFlowState](docs/SelfServiceVerificationFlowState.md)
174
+ - [OryKratosClient::ServiceUpdateResponse](docs/ServiceUpdateResponse.md)
175
+ - [OryKratosClient::Session](docs/Session.md)
176
+ - [OryKratosClient::SettingsProfileFormConfig](docs/SettingsProfileFormConfig.md)
177
+ - [OryKratosClient::SubmitSelfServiceLoginFlowBody](docs/SubmitSelfServiceLoginFlowBody.md)
178
+ - [OryKratosClient::SubmitSelfServiceLoginFlowWithOidcMethodBody](docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md)
179
+ - [OryKratosClient::SubmitSelfServiceLoginFlowWithPasswordMethodBody](docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md)
180
+ - [OryKratosClient::SubmitSelfServiceLogoutFlowWithoutBrowserBody](docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md)
181
+ - [OryKratosClient::SubmitSelfServiceRecoveryFlowBody](docs/SubmitSelfServiceRecoveryFlowBody.md)
182
+ - [OryKratosClient::SubmitSelfServiceRecoveryFlowWithLinkMethodBody](docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md)
183
+ - [OryKratosClient::SubmitSelfServiceRegistrationFlowBody](docs/SubmitSelfServiceRegistrationFlowBody.md)
184
+ - [OryKratosClient::SubmitSelfServiceRegistrationFlowWithOidcMethodBody](docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md)
185
+ - [OryKratosClient::SubmitSelfServiceRegistrationFlowWithPasswordMethodBody](docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md)
186
+ - [OryKratosClient::SubmitSelfServiceSettingsFlowBody](docs/SubmitSelfServiceSettingsFlowBody.md)
187
+ - [OryKratosClient::SubmitSelfServiceSettingsFlowWithOidcMethodBody](docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md)
188
+ - [OryKratosClient::SubmitSelfServiceSettingsFlowWithPasswordMethodBody](docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md)
189
+ - [OryKratosClient::SubmitSelfServiceSettingsFlowWithProfileMethodBody](docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md)
190
+ - [OryKratosClient::SubmitSelfServiceVerificationFlowBody](docs/SubmitSelfServiceVerificationFlowBody.md)
191
+ - [OryKratosClient::SubmitSelfServiceVerificationFlowWithLinkMethodBody](docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md)
192
+ - [OryKratosClient::SuccessfulSelfServiceLoginWithoutBrowser](docs/SuccessfulSelfServiceLoginWithoutBrowser.md)
193
+ - [OryKratosClient::SuccessfulSelfServiceRegistrationWithoutBrowser](docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md)
194
+ - [OryKratosClient::SuccessfulSelfServiceSettingsWithoutBrowser](docs/SuccessfulSelfServiceSettingsWithoutBrowser.md)
195
+ - [OryKratosClient::UiContainer](docs/UiContainer.md)
196
+ - [OryKratosClient::UiNode](docs/UiNode.md)
197
+ - [OryKratosClient::UiNodeAnchorAttributes](docs/UiNodeAnchorAttributes.md)
198
+ - [OryKratosClient::UiNodeAttributes](docs/UiNodeAttributes.md)
199
+ - [OryKratosClient::UiNodeImageAttributes](docs/UiNodeImageAttributes.md)
200
+ - [OryKratosClient::UiNodeInputAttributes](docs/UiNodeInputAttributes.md)
201
+ - [OryKratosClient::UiNodeTextAttributes](docs/UiNodeTextAttributes.md)
202
+ - [OryKratosClient::UiText](docs/UiText.md)
203
+ - [OryKratosClient::VerifiableIdentityAddress](docs/VerifiableIdentityAddress.md)
204
+ - [OryKratosClient::Version](docs/Version.md)
205
+ - [OryKratosClient::Volume](docs/Volume.md)
206
+ - [OryKratosClient::VolumeUsageData](docs/VolumeUsageData.md)
209
207
 
210
208
 
211
209
  ## Documentation for Authorization
212
210
 
213
211
 
214
- ### sessionCookie
212
+ ### oryAccessToken
215
213
 
216
-
217
- - **Type**: API key
218
- - **API key parameter name**: ory_kratos_session
219
- - **Location**:
220
-
221
- ### sessionToken
222
-
223
-
224
- - **Type**: API key
225
- - **API key parameter name**: X-Session-Token
226
- - **Location**: HTTP header
214
+ - **Type**: Bearer authentication
227
215
 
data/docs/AdminApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OryHydraClient::AdminApi
2
2
 
3
- All URIs are relative to *https://demo.tenants.oryapis.com/api/kratos/public*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
@@ -348,7 +348,7 @@ No authorization required
348
348
 
349
349
  ## get_self_service_error
350
350
 
351
- > <ErrorContainer> get_self_service_error(error)
351
+ > <SelfServiceErrorContainer> get_self_service_error(error)
352
352
 
353
353
  Get User-Facing Self-Service Errors
354
354
 
@@ -376,7 +376,7 @@ end
376
376
 
377
377
  This returns an Array which contains the response data, status code and headers.
378
378
 
379
- > <Array(<ErrorContainer>, Integer, Hash)> get_self_service_error_with_http_info(error)
379
+ > <Array(<SelfServiceErrorContainer>, Integer, Hash)> get_self_service_error_with_http_info(error)
380
380
 
381
381
  ```ruby
382
382
  begin
@@ -384,7 +384,7 @@ begin
384
384
  data, status_code, headers = api_instance.get_self_service_error_with_http_info(error)
385
385
  p status_code # => 2xx
386
386
  p headers # => { ... }
387
- p data # => <ErrorContainer>
387
+ p data # => <SelfServiceErrorContainer>
388
388
  rescue OryHydraClient::ApiError => e
389
389
  puts "Error when calling AdminApi->get_self_service_error_with_http_info: #{e}"
390
390
  end
@@ -398,7 +398,7 @@ end
398
398
 
399
399
  ### Return type
400
400
 
401
- [**ErrorContainer**](ErrorContainer.md)
401
+ [**SelfServiceErrorContainer**](SelfServiceErrorContainer.md)
402
402
 
403
403
  ### Authorization
404
404
 
@@ -604,7 +604,7 @@ No authorization required
604
604
 
605
605
  ## get_self_service_settings_flow
606
606
 
607
- > <SettingsFlow> get_self_service_settings_flow(id)
607
+ > <SettingsFlow> get_self_service_settings_flow(id, opts)
608
608
 
609
609
  Get Settings Flow
610
610
 
@@ -617,18 +617,19 @@ require 'time'
617
617
  require 'ory-kratos-client'
618
618
  # setup authorization
619
619
  OryHydraClient.configure do |config|
620
- # Configure API key authorization: sessionToken
621
- config.api_key['sessionToken'] = 'YOUR API KEY'
622
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
623
- # config.api_key_prefix['sessionToken'] = 'Bearer'
620
+ # Configure Bearer authorization: sessionToken
621
+ config.access_token = 'YOUR_BEARER_TOKEN'
624
622
  end
625
623
 
626
624
  api_instance = OryHydraClient::AdminApi.new
627
625
  id = 'id_example' # String | ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
626
+ opts = {
627
+ x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
628
+ }
628
629
 
629
630
  begin
630
631
  # Get Settings Flow
631
- result = api_instance.get_self_service_settings_flow(id)
632
+ result = api_instance.get_self_service_settings_flow(id, opts)
632
633
  p result
633
634
  rescue OryHydraClient::ApiError => e
634
635
  puts "Error when calling AdminApi->get_self_service_settings_flow: #{e}"
@@ -639,12 +640,12 @@ end
639
640
 
640
641
  This returns an Array which contains the response data, status code and headers.
641
642
 
642
- > <Array(<SettingsFlow>, Integer, Hash)> get_self_service_settings_flow_with_http_info(id)
643
+ > <Array(<SettingsFlow>, Integer, Hash)> get_self_service_settings_flow_with_http_info(id, opts)
643
644
 
644
645
  ```ruby
645
646
  begin
646
647
  # Get Settings Flow
647
- data, status_code, headers = api_instance.get_self_service_settings_flow_with_http_info(id)
648
+ data, status_code, headers = api_instance.get_self_service_settings_flow_with_http_info(id, opts)
648
649
  p status_code # => 2xx
649
650
  p headers # => { ... }
650
651
  p data # => <SettingsFlow>
@@ -658,6 +659,7 @@ end
658
659
  | Name | Type | Description | Notes |
659
660
  | ---- | ---- | ----------- | ----- |
660
661
  | **id** | **String** | ID is the Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;). | |
662
+ | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
661
663
 
662
664
  ### Return type
663
665
 
@@ -0,0 +1,20 @@
1
+ # OryKratosClient::AdminCreateIdentityBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity&#39;s traits. | |
8
+ | **traits** | **Object** | Traits represent an identity&#39;s traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in &#x60;schema_url&#x60;. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-kratos-client'
14
+
15
+ instance = OryKratosClient::AdminCreateIdentityBody.new(
16
+ schema_id: null,
17
+ traits: null
18
+ )
19
+ ```
20
+