ory-client-client 0.0.1.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +231 -0
  4. data/Rakefile +10 -0
  5. data/docs/AuthenticateOKBody.md +20 -0
  6. data/docs/ContainerChangeResponseItem.md +20 -0
  7. data/docs/ContainerCreateCreatedBody.md +20 -0
  8. data/docs/ContainerTopOKBody.md +20 -0
  9. data/docs/ContainerUpdateOKBody.md +18 -0
  10. data/docs/ContainerWaitOKBody.md +20 -0
  11. data/docs/ContainerWaitOKBodyError.md +18 -0
  12. data/docs/CreateIdentity.md +20 -0
  13. data/docs/CreateRecoveryLink.md +20 -0
  14. data/docs/DefaultApi.md +2902 -0
  15. data/docs/ErrorContainer.md +20 -0
  16. data/docs/ErrorResponse.md +18 -0
  17. data/docs/GenericError.md +30 -0
  18. data/docs/GraphDriverData.md +20 -0
  19. data/docs/HealthNotReadyStatus.md +18 -0
  20. data/docs/HealthStatus.md +18 -0
  21. data/docs/IdResponse.md +18 -0
  22. data/docs/Identity.md +28 -0
  23. data/docs/IdentityCredentials.md +22 -0
  24. data/docs/ImageDeleteResponseItem.md +20 -0
  25. data/docs/ImageSummary.md +36 -0
  26. data/docs/InlineResponse200.md +18 -0
  27. data/docs/InlineResponse2001.md +18 -0
  28. data/docs/InlineResponse503.md +18 -0
  29. data/docs/JsonError.md +18 -0
  30. data/docs/LoginFlow.md +32 -0
  31. data/docs/LoginViaApiResponse.md +20 -0
  32. data/docs/Meta.md +18 -0
  33. data/docs/Plugin.md +28 -0
  34. data/docs/PluginConfig.md +48 -0
  35. data/docs/PluginConfigArgs.md +24 -0
  36. data/docs/PluginConfigInterface.md +20 -0
  37. data/docs/PluginConfigLinux.md +22 -0
  38. data/docs/PluginConfigNetwork.md +18 -0
  39. data/docs/PluginConfigRootfs.md +20 -0
  40. data/docs/PluginConfigUser.md +20 -0
  41. data/docs/PluginDevice.md +24 -0
  42. data/docs/PluginEnv.md +24 -0
  43. data/docs/PluginInterfaceType.md +22 -0
  44. data/docs/PluginMount.md +30 -0
  45. data/docs/PluginSettings.md +24 -0
  46. data/docs/Port.md +24 -0
  47. data/docs/RecoveryAddress.md +22 -0
  48. data/docs/RecoveryFlow.md +32 -0
  49. data/docs/RecoveryLink.md +20 -0
  50. data/docs/RegistrationFlow.md +30 -0
  51. data/docs/RegistrationViaApiResponse.md +22 -0
  52. data/docs/RevokeSession.md +18 -0
  53. data/docs/ServiceUpdateResponse.md +18 -0
  54. data/docs/Session.md +28 -0
  55. data/docs/SettingsFlow.md +34 -0
  56. data/docs/SettingsProfileFormConfig.md +24 -0
  57. data/docs/SettingsViaApiResponse.md +20 -0
  58. data/docs/SubmitSelfServiceBrowserSettingsOIDCFlowPayload.md +22 -0
  59. data/docs/SubmitSelfServiceLoginFlow.md +47 -0
  60. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethod.md +24 -0
  61. data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethod.md +20 -0
  62. data/docs/SubmitSelfServiceRegistrationFlow.md +47 -0
  63. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethod.md +24 -0
  64. data/docs/SubmitSelfServiceSettingsFlow.md +49 -0
  65. data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethod.md +22 -0
  66. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethod.md +22 -0
  67. data/docs/SubmitSelfServiceVerificationFlowWithLinkMethod.md +20 -0
  68. data/docs/UiContainer.md +24 -0
  69. data/docs/UiNode.md +26 -0
  70. data/docs/UiNodeAnchorAttributes.md +20 -0
  71. data/docs/UiNodeAttributes.md +53 -0
  72. data/docs/UiNodeImageAttributes.md +18 -0
  73. data/docs/UiNodeInputAttributes.md +30 -0
  74. data/docs/UiNodeInputAttributesValue.md +51 -0
  75. data/docs/UiNodeTextAttributes.md +18 -0
  76. data/docs/UiText.md +24 -0
  77. data/docs/UpdateIdentity.md +20 -0
  78. data/docs/VerifiableIdentityAddress.md +32 -0
  79. data/docs/VerificationFlow.md +32 -0
  80. data/docs/Version.md +18 -0
  81. data/docs/Volume.md +34 -0
  82. data/docs/VolumeUsageData.md +20 -0
  83. data/lib/ory-client-client.rb +117 -0
  84. data/lib/ory-client-client/api/default_api.rb +2690 -0
  85. data/lib/ory-client-client/api_client.rb +390 -0
  86. data/lib/ory-client-client/api_error.rb +57 -0
  87. data/lib/ory-client-client/configuration.rb +297 -0
  88. data/lib/ory-client-client/models/authenticate_ok_body.rb +240 -0
  89. data/lib/ory-client-client/models/container_change_response_item.rb +240 -0
  90. data/lib/ory-client-client/models/container_create_created_body.rb +242 -0
  91. data/lib/ory-client-client/models/container_top_ok_body.rb +244 -0
  92. data/lib/ory-client-client/models/container_update_ok_body.rb +227 -0
  93. data/lib/ory-client-client/models/container_wait_ok_body.rb +239 -0
  94. data/lib/ory-client-client/models/container_wait_ok_body_error.rb +220 -0
  95. data/lib/ory-client-client/models/create_identity.rb +239 -0
  96. data/lib/ory-client-client/models/create_recovery_link.rb +250 -0
  97. data/lib/ory-client-client/models/error_container.rb +240 -0
  98. data/lib/ory-client-client/models/error_response.rb +224 -0
  99. data/lib/ory-client-client/models/generic_error.rb +286 -0
  100. data/lib/ory-client-client/models/graph_driver_data.rb +241 -0
  101. data/lib/ory-client-client/models/health_not_ready_status.rb +221 -0
  102. data/lib/ory-client-client/models/health_status.rb +219 -0
  103. data/lib/ory-client-client/models/id_response.rb +225 -0
  104. data/lib/ory-client-client/models/identity.rb +289 -0
  105. data/lib/ory-client-client/models/identity_credentials.rb +241 -0
  106. data/lib/ory-client-client/models/image_delete_response_item.rb +230 -0
  107. data/lib/ory-client-client/models/image_summary.rb +366 -0
  108. data/lib/ory-client-client/models/inline_response200.rb +224 -0
  109. data/lib/ory-client-client/models/inline_response2001.rb +224 -0
  110. data/lib/ory-client-client/models/inline_response503.rb +226 -0
  111. data/lib/ory-client-client/models/json_error.rb +224 -0
  112. data/lib/ory-client-client/models/login_flow.rb +318 -0
  113. data/lib/ory-client-client/models/login_via_api_response.rb +239 -0
  114. data/lib/ory-client-client/models/meta.rb +219 -0
  115. data/lib/ory-client-client/models/plugin.rb +288 -0
  116. data/lib/ory-client-client/models/plugin_config.rb +434 -0
  117. data/lib/ory-client-client/models/plugin_config_args.rb +274 -0
  118. data/lib/ory-client-client/models/plugin_config_interface.rb +242 -0
  119. data/lib/ory-client-client/models/plugin_config_linux.rb +259 -0
  120. data/lib/ory-client-client/models/plugin_config_network.rb +225 -0
  121. data/lib/ory-client-client/models/plugin_config_rootfs.rb +232 -0
  122. data/lib/ory-client-client/models/plugin_config_user.rb +230 -0
  123. data/lib/ory-client-client/models/plugin_device.rb +272 -0
  124. data/lib/ory-client-client/models/plugin_env.rb +272 -0
  125. data/lib/ory-client-client/models/plugin_interface_type.rb +255 -0
  126. data/lib/ory-client-client/models/plugin_mount.rb +319 -0
  127. data/lib/ory-client-client/models/plugin_settings.rb +277 -0
  128. data/lib/ory-client-client/models/port.rb +260 -0
  129. data/lib/ory-client-client/models/recovery_address.rb +251 -0
  130. data/lib/ory-client-client/models/recovery_flow.rb +317 -0
  131. data/lib/ory-client-client/models/recovery_link.rb +234 -0
  132. data/lib/ory-client-client/models/registration_flow.rb +302 -0
  133. data/lib/ory-client-client/models/registration_via_api_response.rb +248 -0
  134. data/lib/ory-client-client/models/revoke_session.rb +224 -0
  135. data/lib/ory-client-client/models/service_update_response.rb +222 -0
  136. data/lib/ory-client-client/models/session.rb +288 -0
  137. data/lib/ory-client-client/models/settings_flow.rb +331 -0
  138. data/lib/ory-client-client/models/settings_profile_form_config.rb +266 -0
  139. data/lib/ory-client-client/models/settings_via_api_response.rb +238 -0
  140. data/lib/ory-client-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +239 -0
  141. data/lib/ory-client-client/models/submit_self_service_login_flow.rb +104 -0
  142. data/lib/ory-client-client/models/submit_self_service_login_flow_with_password_method.rb +249 -0
  143. data/lib/ory-client-client/models/submit_self_service_recovery_flow_with_link_method.rb +229 -0
  144. data/lib/ory-client-client/models/submit_self_service_registration_flow.rb +104 -0
  145. data/lib/ory-client-client/models/submit_self_service_registration_flow_with_password_method.rb +276 -0
  146. data/lib/ory-client-client/models/submit_self_service_settings_flow.rb +105 -0
  147. data/lib/ory-client-client/models/submit_self_service_settings_flow_with_password_method.rb +244 -0
  148. data/lib/ory-client-client/models/submit_self_service_settings_flow_with_profile_method.rb +245 -0
  149. data/lib/ory-client-client/models/submit_self_service_verification_flow_with_link_method.rb +230 -0
  150. data/lib/ory-client-client/models/ui_container.rb +267 -0
  151. data/lib/ory-client-client/models/ui_node.rb +282 -0
  152. data/lib/ory-client-client/models/ui_node_anchor_attributes.rb +238 -0
  153. data/lib/ory-client-client/models/ui_node_attributes.rb +107 -0
  154. data/lib/ory-client-client/models/ui_node_image_attributes.rb +224 -0
  155. data/lib/ory-client-client/models/ui_node_input_attributes.rb +292 -0
  156. data/lib/ory-client-client/models/ui_node_input_attributes_value.rb +106 -0
  157. data/lib/ory-client-client/models/ui_node_text_attributes.rb +223 -0
  158. data/lib/ory-client-client/models/ui_text.rb +262 -0
  159. data/lib/ory-client-client/models/update_identity.rb +234 -0
  160. data/lib/ory-client-client/models/verifiable_identity_address.rb +313 -0
  161. data/lib/ory-client-client/models/verification_flow.rb +307 -0
  162. data/lib/ory-client-client/models/version.rb +219 -0
  163. data/lib/ory-client-client/models/volume.rb +335 -0
  164. data/lib/ory-client-client/models/volume_usage_data.rb +240 -0
  165. data/lib/ory-client-client/version.rb +15 -0
  166. data/ory-client-client.gemspec +38 -0
  167. data/spec/api/default_api_spec.rb +544 -0
  168. data/spec/api_client_spec.rb +226 -0
  169. data/spec/configuration_spec.rb +42 -0
  170. data/spec/models/authenticate_ok_body_spec.rb +40 -0
  171. data/spec/models/container_change_response_item_spec.rb +40 -0
  172. data/spec/models/container_create_created_body_spec.rb +40 -0
  173. data/spec/models/container_top_ok_body_spec.rb +40 -0
  174. data/spec/models/container_update_ok_body_spec.rb +34 -0
  175. data/spec/models/container_wait_ok_body_error_spec.rb +34 -0
  176. data/spec/models/container_wait_ok_body_spec.rb +40 -0
  177. data/spec/models/create_identity_spec.rb +40 -0
  178. data/spec/models/create_recovery_link_spec.rb +40 -0
  179. data/spec/models/error_container_spec.rb +40 -0
  180. data/spec/models/error_response_spec.rb +34 -0
  181. data/spec/models/generic_error_spec.rb +70 -0
  182. data/spec/models/graph_driver_data_spec.rb +40 -0
  183. data/spec/models/health_not_ready_status_spec.rb +34 -0
  184. data/spec/models/health_status_spec.rb +34 -0
  185. data/spec/models/id_response_spec.rb +34 -0
  186. data/spec/models/identity_credentials_spec.rb +46 -0
  187. data/spec/models/identity_spec.rb +64 -0
  188. data/spec/models/image_delete_response_item_spec.rb +40 -0
  189. data/spec/models/image_summary_spec.rb +88 -0
  190. data/spec/models/inline_response2001_spec.rb +34 -0
  191. data/spec/models/inline_response200_spec.rb +34 -0
  192. data/spec/models/inline_response503_spec.rb +34 -0
  193. data/spec/models/json_error_spec.rb +34 -0
  194. data/spec/models/login_flow_spec.rb +76 -0
  195. data/spec/models/login_via_api_response_spec.rb +40 -0
  196. data/spec/models/meta_spec.rb +34 -0
  197. data/spec/models/plugin_config_args_spec.rb +52 -0
  198. data/spec/models/plugin_config_interface_spec.rb +40 -0
  199. data/spec/models/plugin_config_linux_spec.rb +46 -0
  200. data/spec/models/plugin_config_network_spec.rb +34 -0
  201. data/spec/models/plugin_config_rootfs_spec.rb +40 -0
  202. data/spec/models/plugin_config_spec.rb +124 -0
  203. data/spec/models/plugin_config_user_spec.rb +40 -0
  204. data/spec/models/plugin_device_spec.rb +52 -0
  205. data/spec/models/plugin_env_spec.rb +52 -0
  206. data/spec/models/plugin_interface_type_spec.rb +46 -0
  207. data/spec/models/plugin_mount_spec.rb +70 -0
  208. data/spec/models/plugin_settings_spec.rb +52 -0
  209. data/spec/models/plugin_spec.rb +64 -0
  210. data/spec/models/port_spec.rb +52 -0
  211. data/spec/models/recovery_address_spec.rb +46 -0
  212. data/spec/models/recovery_flow_spec.rb +76 -0
  213. data/spec/models/recovery_link_spec.rb +40 -0
  214. data/spec/models/registration_flow_spec.rb +70 -0
  215. data/spec/models/registration_via_api_response_spec.rb +46 -0
  216. data/spec/models/revoke_session_spec.rb +34 -0
  217. data/spec/models/service_update_response_spec.rb +34 -0
  218. data/spec/models/session_spec.rb +64 -0
  219. data/spec/models/settings_flow_spec.rb +82 -0
  220. data/spec/models/settings_profile_form_config_spec.rb +52 -0
  221. data/spec/models/settings_via_api_response_spec.rb +40 -0
  222. data/spec/models/submit_self_service_browser_settings_oidc_flow_payload_spec.rb +46 -0
  223. data/spec/models/submit_self_service_login_flow_spec.rb +31 -0
  224. data/spec/models/submit_self_service_login_flow_with_password_method_spec.rb +52 -0
  225. data/spec/models/submit_self_service_recovery_flow_with_link_method_spec.rb +40 -0
  226. data/spec/models/submit_self_service_registration_flow_spec.rb +31 -0
  227. data/spec/models/submit_self_service_registration_flow_with_password_method_spec.rb +52 -0
  228. data/spec/models/submit_self_service_settings_flow_spec.rb +31 -0
  229. data/spec/models/submit_self_service_settings_flow_with_password_method_spec.rb +46 -0
  230. data/spec/models/submit_self_service_settings_flow_with_profile_method_spec.rb +46 -0
  231. data/spec/models/submit_self_service_verification_flow_with_link_method_spec.rb +40 -0
  232. data/spec/models/ui_container_spec.rb +52 -0
  233. data/spec/models/ui_node_anchor_attributes_spec.rb +40 -0
  234. data/spec/models/ui_node_attributes_spec.rb +31 -0
  235. data/spec/models/ui_node_image_attributes_spec.rb +34 -0
  236. data/spec/models/ui_node_input_attributes_spec.rb +70 -0
  237. data/spec/models/ui_node_input_attributes_value_spec.rb +31 -0
  238. data/spec/models/ui_node_spec.rb +58 -0
  239. data/spec/models/ui_node_text_attributes_spec.rb +34 -0
  240. data/spec/models/ui_text_spec.rb +52 -0
  241. data/spec/models/update_identity_spec.rb +40 -0
  242. data/spec/models/verifiable_identity_address_spec.rb +76 -0
  243. data/spec/models/verification_flow_spec.rb +76 -0
  244. data/spec/models/version_spec.rb +34 -0
  245. data/spec/models/volume_spec.rb +82 -0
  246. data/spec/models/volume_usage_data_spec.rb +40 -0
  247. data/spec/spec_helper.rb +111 -0
  248. metadata +413 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 32b798ae79f7255e77d977eb86a21d41dd1ee203ebccaecea6255affe9caea0b
4
+ data.tar.gz: 90e6869a6fddfeb4f65dc1c38ffa426bea955fb4f79677a5bf041fe900095b0b
5
+ SHA512:
6
+ metadata.gz: ac687abc2d927d5d3dfbb411dce0d0ed19cec7f7823f68d9bd34ee255c1e0d8d156b944ee4c7a863c0e4460b35f8281467bc16bba1cfb966f341d63e283ce133
7
+ data.tar.gz: 56c4fd70e95b7725a2d2a75a790daf87098c5b0e022e2dd70f6d0d29c7801c15f88e6e0b4bd9fa033322d9f7c963dca8af4755141eb88faeccc5ae49973d5814
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 13.0.1'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/README.md ADDED
@@ -0,0 +1,231 @@
1
+ # ory-client-client
2
+
3
+ OryHydraClient - the Ruby gem for the Ory APIs
4
+
5
+ Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed
6
+ with a valid Personal Access Token. Public APIs are mostly used in browsers.
7
+
8
+
9
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
+
11
+ - API version: v0.0.1-alpha.1
12
+ - Package version: v0.0.1-alpha.1
13
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
14
+
15
+ ## Installation
16
+
17
+ ### Build a gem
18
+
19
+ To build the Ruby code into a gem:
20
+
21
+ ```shell
22
+ gem build ory-client-client.gemspec
23
+ ```
24
+
25
+ Then either install the gem locally:
26
+
27
+ ```shell
28
+ gem install ./ory-client-client-v0.0.1-alpha.1.gem
29
+ ```
30
+
31
+ (for development, run `gem install --dev ./ory-client-client-v0.0.1-alpha.1.gem` to install the development dependencies)
32
+
33
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
+
35
+ Finally add this to the Gemfile:
36
+
37
+ gem 'ory-client-client', '~> v0.0.1-alpha.1'
38
+
39
+ ### Install from Git
40
+
41
+ If the Ruby gem is hosted at a git repository: https://github.com/ory/sdk, then add the following in the Gemfile:
42
+
43
+ gem 'ory-client-client', :git => 'https://github.com/ory/sdk.git'
44
+
45
+ ### Include the Ruby code directly
46
+
47
+ Include the Ruby code directly using `-I` as follows:
48
+
49
+ ```shell
50
+ ruby -Ilib script.rb
51
+ ```
52
+
53
+ ## Getting Started
54
+
55
+ Please follow the [installation](#installation) procedure and then run the following code:
56
+
57
+ ```ruby
58
+ # Load the gem
59
+ require 'ory-client-client'
60
+
61
+ # Setup authorization
62
+ OryHydraClient.configure do |config|
63
+ # Configure Bearer authorization: oryToken
64
+ config.access_token = 'YOUR_BEARER_TOKEN'
65
+ end
66
+
67
+ api_instance = OryHydraClient::DefaultApi.new
68
+ opts = {
69
+ create_identity: OryHydraClient::CreateIdentity.new({schema_id: 'schema_id_example', traits: 3.56}) # CreateIdentity |
70
+ }
71
+
72
+ begin
73
+ #Create an Identity
74
+ result = api_instance.create_identity_admin(opts)
75
+ p result
76
+ rescue OryHydraClient::ApiError => e
77
+ puts "Exception when calling DefaultApi->create_identity_admin: #{e}"
78
+ end
79
+
80
+ ```
81
+
82
+ ## Documentation for API Endpoints
83
+
84
+ All URIs are relative to *https://playground.projects.oryapis.com*
85
+
86
+ Class | Method | HTTP request | Description
87
+ ------------ | ------------- | ------------- | -------------
88
+ *OryHydraClient::DefaultApi* | [**create_identity_admin**](docs/DefaultApi.md#create_identity_admin) | **POST** /api/kratos/admin/identities | Create an Identity
89
+ *OryHydraClient::DefaultApi* | [**create_recovery_link_admin**](docs/DefaultApi.md#create_recovery_link_admin) | **POST** /api/kratos/admin/recovery/link | Create a Recovery Link
90
+ *OryHydraClient::DefaultApi* | [**delete_identity_admin**](docs/DefaultApi.md#delete_identity_admin) | **DELETE** /api/kratos/admin/identities/{id} | Delete an Identity
91
+ *OryHydraClient::DefaultApi* | [**get_identity_admin**](docs/DefaultApi.md#get_identity_admin) | **GET** /api/kratos/admin/identities/{id} | Get an Identity
92
+ *OryHydraClient::DefaultApi* | [**get_schema**](docs/DefaultApi.md#get_schema) | **GET** /api/kratos/public/schemas/{id} |
93
+ *OryHydraClient::DefaultApi* | [**get_schema_admin**](docs/DefaultApi.md#get_schema_admin) | **GET** /api/kratos/admin/schemas/{id} |
94
+ *OryHydraClient::DefaultApi* | [**get_self_service_error**](docs/DefaultApi.md#get_self_service_error) | **GET** /api/kratos/public/self-service/errors | Get User-Facing Self-Service Errors
95
+ *OryHydraClient::DefaultApi* | [**get_self_service_error_admin**](docs/DefaultApi.md#get_self_service_error_admin) | **GET** /api/kratos/admin/self-service/errors | Get User-Facing Self-Service Errors
96
+ *OryHydraClient::DefaultApi* | [**get_self_service_login_flow**](docs/DefaultApi.md#get_self_service_login_flow) | **GET** /api/kratos/public/self-service/login/flows | Get Login Flow
97
+ *OryHydraClient::DefaultApi* | [**get_self_service_login_flow_admin**](docs/DefaultApi.md#get_self_service_login_flow_admin) | **GET** /api/kratos/admin/self-service/login/flows | Get Login Flow
98
+ *OryHydraClient::DefaultApi* | [**get_self_service_recovery_flow**](docs/DefaultApi.md#get_self_service_recovery_flow) | **GET** /api/kratos/public/self-service/recovery/flows | Get information about a recovery flow
99
+ *OryHydraClient::DefaultApi* | [**get_self_service_recovery_flow_admin**](docs/DefaultApi.md#get_self_service_recovery_flow_admin) | **GET** /api/kratos/admin/self-service/recovery/flows | Get information about a recovery flow
100
+ *OryHydraClient::DefaultApi* | [**get_self_service_registration_flow**](docs/DefaultApi.md#get_self_service_registration_flow) | **GET** /api/kratos/public/self-service/registration/flows | Get Registration Flow
101
+ *OryHydraClient::DefaultApi* | [**get_self_service_registration_flow_admin**](docs/DefaultApi.md#get_self_service_registration_flow_admin) | **GET** /api/kratos/admin/self-service/registration/flows | Get Registration Flow
102
+ *OryHydraClient::DefaultApi* | [**get_self_service_settings_flow**](docs/DefaultApi.md#get_self_service_settings_flow) | **GET** /api/kratos/public/self-service/settings/flows | Get Settings Flow
103
+ *OryHydraClient::DefaultApi* | [**get_self_service_settings_flow_admin**](docs/DefaultApi.md#get_self_service_settings_flow_admin) | **GET** /api/kratos/admin/self-service/settings/flows | Get Settings Flow
104
+ *OryHydraClient::DefaultApi* | [**get_self_service_verification_flow**](docs/DefaultApi.md#get_self_service_verification_flow) | **GET** /api/kratos/public/self-service/verification/flows | Get Verification Flow
105
+ *OryHydraClient::DefaultApi* | [**get_self_service_verification_flow_admin**](docs/DefaultApi.md#get_self_service_verification_flow_admin) | **GET** /api/kratos/admin/self-service/verification/flows | Get Verification Flow
106
+ *OryHydraClient::DefaultApi* | [**get_version_admin**](docs/DefaultApi.md#get_version_admin) | **GET** /api/kratos/admin/version | Return Running Software Version.
107
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_browser_logout_flow**](docs/DefaultApi.md#initialize_self_service_browser_logout_flow) | **GET** /api/kratos/public/self-service/browser/flows/logout | Initialize Browser-Based Logout User Flow
108
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_login_via_api_flow**](docs/DefaultApi.md#initialize_self_service_login_via_api_flow) | **GET** /api/kratos/public/self-service/login/api | Initialize Login Flow for API clients
109
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_login_via_browser_flow**](docs/DefaultApi.md#initialize_self_service_login_via_browser_flow) | **GET** /api/kratos/public/self-service/login/browser | Initialize Login Flow for browsers
110
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_recovery_via_api_flow**](docs/DefaultApi.md#initialize_self_service_recovery_via_api_flow) | **GET** /api/kratos/public/self-service/recovery/api | Initialize Recovery Flow for API Clients
111
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_recovery_via_browser_flow**](docs/DefaultApi.md#initialize_self_service_recovery_via_browser_flow) | **GET** /api/kratos/public/self-service/recovery/browser | Initialize Recovery Flow for Browser Clients
112
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_registration**](docs/DefaultApi.md#initialize_self_service_registration) | **GET** /api/kratos/public/self-service/registration/api | Initialize Registration Flow for API clients
113
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_registration_for_browsers**](docs/DefaultApi.md#initialize_self_service_registration_for_browsers) | **GET** /api/kratos/public/self-service/registration/browser | Initialize Registration Flow for browsers
114
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_settings_via_api_flow**](docs/DefaultApi.md#initialize_self_service_settings_via_api_flow) | **GET** /api/kratos/public/self-service/settings/api | Initialize Settings Flow for API Clients
115
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_settings_via_browser_flow**](docs/DefaultApi.md#initialize_self_service_settings_via_browser_flow) | **GET** /api/kratos/public/self-service/settings/browser | Initialize Settings Flow for Browsers
116
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_verification_via_api_flow**](docs/DefaultApi.md#initialize_self_service_verification_via_api_flow) | **GET** /api/kratos/public/self-service/verification/api | Initialize Verification Flow for API Clients
117
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_verification_via_browser_flow**](docs/DefaultApi.md#initialize_self_service_verification_via_browser_flow) | **GET** /api/kratos/public/self-service/verification/browser | Initialize Verification Flow for Browser Clients
118
+ *OryHydraClient::DefaultApi* | [**is_alive_admin**](docs/DefaultApi.md#is_alive_admin) | **GET** /api/kratos/admin/health/alive | Check HTTP Server Status
119
+ *OryHydraClient::DefaultApi* | [**is_ready_admin**](docs/DefaultApi.md#is_ready_admin) | **GET** /api/kratos/admin/health/ready | Check HTTP Server and Database Status
120
+ *OryHydraClient::DefaultApi* | [**list_identities_admin**](docs/DefaultApi.md#list_identities_admin) | **GET** /api/kratos/admin/identities | List Identities
121
+ *OryHydraClient::DefaultApi* | [**prometheus_admin**](docs/DefaultApi.md#prometheus_admin) | **GET** /api/kratos/admin/metrics/prometheus | Get snapshot metrics from the Hydra service. If you're using k8s, you can then add annotations to your deployment like so:
122
+ *OryHydraClient::DefaultApi* | [**revoke_session**](docs/DefaultApi.md#revoke_session) | **DELETE** /api/kratos/public/sessions | Initialize Logout Flow for API Clients - Revoke a Session
123
+ *OryHydraClient::DefaultApi* | [**submit_self_service_login_flow**](docs/DefaultApi.md#submit_self_service_login_flow) | **POST** /api/kratos/public/self-service/login | Submit a Login Flow
124
+ *OryHydraClient::DefaultApi* | [**submit_self_service_recovery_flow**](docs/DefaultApi.md#submit_self_service_recovery_flow) | **POST** /api/kratos/public/self-service/recovery | Complete Recovery Flow
125
+ *OryHydraClient::DefaultApi* | [**submit_self_service_recovery_flow_with_link_method**](docs/DefaultApi.md#submit_self_service_recovery_flow_with_link_method) | **POST** /api/kratos/public/self-service/recovery/methods/link | Complete Recovery Flow with Link Method
126
+ *OryHydraClient::DefaultApi* | [**submit_self_service_registration_flow**](docs/DefaultApi.md#submit_self_service_registration_flow) | **POST** /api/kratos/public/self-service/registration | Submit a Registration Flow
127
+ *OryHydraClient::DefaultApi* | [**submit_self_service_settings_flow**](docs/DefaultApi.md#submit_self_service_settings_flow) | **POST** /api/kratos/public/self-service/settings | Complete Settings Flow
128
+ *OryHydraClient::DefaultApi* | [**submit_self_service_verification_flow**](docs/DefaultApi.md#submit_self_service_verification_flow) | **POST** /api/kratos/public/self-service/verification/methods/link | Complete Verification Flow
129
+ *OryHydraClient::DefaultApi* | [**to_session**](docs/DefaultApi.md#to_session) | **GET** /api/kratos/public/sessions/whoami | Check Who the Current HTTP Session Belongs To
130
+ *OryHydraClient::DefaultApi* | [**update_identity_admin**](docs/DefaultApi.md#update_identity_admin) | **PUT** /api/kratos/admin/identities/{id} | Update an Identity
131
+
132
+
133
+ ## Documentation for Models
134
+
135
+ - [OryHydraClient::AuthenticateOKBody](docs/AuthenticateOKBody.md)
136
+ - [OryHydraClient::ContainerChangeResponseItem](docs/ContainerChangeResponseItem.md)
137
+ - [OryHydraClient::ContainerCreateCreatedBody](docs/ContainerCreateCreatedBody.md)
138
+ - [OryHydraClient::ContainerTopOKBody](docs/ContainerTopOKBody.md)
139
+ - [OryHydraClient::ContainerUpdateOKBody](docs/ContainerUpdateOKBody.md)
140
+ - [OryHydraClient::ContainerWaitOKBody](docs/ContainerWaitOKBody.md)
141
+ - [OryHydraClient::ContainerWaitOKBodyError](docs/ContainerWaitOKBodyError.md)
142
+ - [OryHydraClient::CreateIdentity](docs/CreateIdentity.md)
143
+ - [OryHydraClient::CreateRecoveryLink](docs/CreateRecoveryLink.md)
144
+ - [OryHydraClient::ErrorContainer](docs/ErrorContainer.md)
145
+ - [OryHydraClient::ErrorResponse](docs/ErrorResponse.md)
146
+ - [OryHydraClient::GenericError](docs/GenericError.md)
147
+ - [OryHydraClient::GraphDriverData](docs/GraphDriverData.md)
148
+ - [OryHydraClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
149
+ - [OryHydraClient::HealthStatus](docs/HealthStatus.md)
150
+ - [OryHydraClient::IdResponse](docs/IdResponse.md)
151
+ - [OryHydraClient::Identity](docs/Identity.md)
152
+ - [OryHydraClient::IdentityCredentials](docs/IdentityCredentials.md)
153
+ - [OryHydraClient::ImageDeleteResponseItem](docs/ImageDeleteResponseItem.md)
154
+ - [OryHydraClient::ImageSummary](docs/ImageSummary.md)
155
+ - [OryHydraClient::InlineResponse200](docs/InlineResponse200.md)
156
+ - [OryHydraClient::InlineResponse2001](docs/InlineResponse2001.md)
157
+ - [OryHydraClient::InlineResponse503](docs/InlineResponse503.md)
158
+ - [OryHydraClient::JsonError](docs/JsonError.md)
159
+ - [OryHydraClient::LoginFlow](docs/LoginFlow.md)
160
+ - [OryHydraClient::LoginViaApiResponse](docs/LoginViaApiResponse.md)
161
+ - [OryHydraClient::Meta](docs/Meta.md)
162
+ - [OryHydraClient::Plugin](docs/Plugin.md)
163
+ - [OryHydraClient::PluginConfig](docs/PluginConfig.md)
164
+ - [OryHydraClient::PluginConfigArgs](docs/PluginConfigArgs.md)
165
+ - [OryHydraClient::PluginConfigInterface](docs/PluginConfigInterface.md)
166
+ - [OryHydraClient::PluginConfigLinux](docs/PluginConfigLinux.md)
167
+ - [OryHydraClient::PluginConfigNetwork](docs/PluginConfigNetwork.md)
168
+ - [OryHydraClient::PluginConfigRootfs](docs/PluginConfigRootfs.md)
169
+ - [OryHydraClient::PluginConfigUser](docs/PluginConfigUser.md)
170
+ - [OryHydraClient::PluginDevice](docs/PluginDevice.md)
171
+ - [OryHydraClient::PluginEnv](docs/PluginEnv.md)
172
+ - [OryHydraClient::PluginInterfaceType](docs/PluginInterfaceType.md)
173
+ - [OryHydraClient::PluginMount](docs/PluginMount.md)
174
+ - [OryHydraClient::PluginSettings](docs/PluginSettings.md)
175
+ - [OryHydraClient::Port](docs/Port.md)
176
+ - [OryHydraClient::RecoveryAddress](docs/RecoveryAddress.md)
177
+ - [OryHydraClient::RecoveryFlow](docs/RecoveryFlow.md)
178
+ - [OryHydraClient::RecoveryLink](docs/RecoveryLink.md)
179
+ - [OryHydraClient::RegistrationFlow](docs/RegistrationFlow.md)
180
+ - [OryHydraClient::RegistrationViaApiResponse](docs/RegistrationViaApiResponse.md)
181
+ - [OryHydraClient::RevokeSession](docs/RevokeSession.md)
182
+ - [OryHydraClient::ServiceUpdateResponse](docs/ServiceUpdateResponse.md)
183
+ - [OryHydraClient::Session](docs/Session.md)
184
+ - [OryHydraClient::SettingsFlow](docs/SettingsFlow.md)
185
+ - [OryHydraClient::SettingsProfileFormConfig](docs/SettingsProfileFormConfig.md)
186
+ - [OryHydraClient::SettingsViaApiResponse](docs/SettingsViaApiResponse.md)
187
+ - [OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload](docs/SubmitSelfServiceBrowserSettingsOIDCFlowPayload.md)
188
+ - [OryHydraClient::SubmitSelfServiceLoginFlow](docs/SubmitSelfServiceLoginFlow.md)
189
+ - [OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod](docs/SubmitSelfServiceLoginFlowWithPasswordMethod.md)
190
+ - [OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod](docs/SubmitSelfServiceRecoveryFlowWithLinkMethod.md)
191
+ - [OryHydraClient::SubmitSelfServiceRegistrationFlow](docs/SubmitSelfServiceRegistrationFlow.md)
192
+ - [OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod](docs/SubmitSelfServiceRegistrationFlowWithPasswordMethod.md)
193
+ - [OryHydraClient::SubmitSelfServiceSettingsFlow](docs/SubmitSelfServiceSettingsFlow.md)
194
+ - [OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod](docs/SubmitSelfServiceSettingsFlowWithPasswordMethod.md)
195
+ - [OryHydraClient::SubmitSelfServiceSettingsFlowWithProfileMethod](docs/SubmitSelfServiceSettingsFlowWithProfileMethod.md)
196
+ - [OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod](docs/SubmitSelfServiceVerificationFlowWithLinkMethod.md)
197
+ - [OryHydraClient::UiContainer](docs/UiContainer.md)
198
+ - [OryHydraClient::UiNode](docs/UiNode.md)
199
+ - [OryHydraClient::UiNodeAnchorAttributes](docs/UiNodeAnchorAttributes.md)
200
+ - [OryHydraClient::UiNodeAttributes](docs/UiNodeAttributes.md)
201
+ - [OryHydraClient::UiNodeImageAttributes](docs/UiNodeImageAttributes.md)
202
+ - [OryHydraClient::UiNodeInputAttributes](docs/UiNodeInputAttributes.md)
203
+ - [OryHydraClient::UiNodeInputAttributesValue](docs/UiNodeInputAttributesValue.md)
204
+ - [OryHydraClient::UiNodeTextAttributes](docs/UiNodeTextAttributes.md)
205
+ - [OryHydraClient::UiText](docs/UiText.md)
206
+ - [OryHydraClient::UpdateIdentity](docs/UpdateIdentity.md)
207
+ - [OryHydraClient::VerifiableIdentityAddress](docs/VerifiableIdentityAddress.md)
208
+ - [OryHydraClient::VerificationFlow](docs/VerificationFlow.md)
209
+ - [OryHydraClient::Version](docs/Version.md)
210
+ - [OryHydraClient::Volume](docs/Volume.md)
211
+ - [OryHydraClient::VolumeUsageData](docs/VolumeUsageData.md)
212
+
213
+
214
+ ## Documentation for Authorization
215
+
216
+
217
+ ### oryToken
218
+
219
+ - **Type**: Bearer authentication
220
+
221
+ ### sessionCookie
222
+
223
+
224
+ - **Type**: API key
225
+ - **API key parameter name**: ory_kratos_session
226
+ - **Location**:
227
+
228
+ ### sessionToken
229
+
230
+ - **Type**: Bearer authentication
231
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::AuthenticateOKBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **identity_token** | **String** | An opaque token used to authenticate a user after a successful login | |
8
+ | **status** | **String** | The status of the authentication | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::AuthenticateOKBody.new(
16
+ identity_token: null,
17
+ status: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::ContainerChangeResponseItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **kind** | **Integer** | Kind of change | |
8
+ | **path** | **String** | Path to file that has changed | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::ContainerChangeResponseItem.new(
16
+ kind: null,
17
+ path: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::ContainerCreateCreatedBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The ID of the created container | |
8
+ | **warnings** | **Array<String>** | Warnings encountered when creating the container | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::ContainerCreateCreatedBody.new(
16
+ id: null,
17
+ warnings: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::ContainerTopOKBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **processes** | **Array<Array<String>>** | Each process running in the container, where each is process is an array of values corresponding to the titles | |
8
+ | **titles** | **Array<String>** | The ps column titles | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::ContainerTopOKBody.new(
16
+ processes: null,
17
+ titles: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # OryHydraClient::ContainerUpdateOKBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **warnings** | **Array<String>** | warnings | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client-client'
13
+
14
+ instance = OryHydraClient::ContainerUpdateOKBody.new(
15
+ warnings: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::ContainerWaitOKBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | [**ContainerWaitOKBodyError**](ContainerWaitOKBodyError.md) | | |
8
+ | **status_code** | **Integer** | Exit code of the container | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::ContainerWaitOKBody.new(
16
+ error: null,
17
+ status_code: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # OryHydraClient::ContainerWaitOKBodyError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | Details of an error | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client-client'
13
+
14
+ instance = OryHydraClient::ContainerWaitOKBodyError.new(
15
+ message: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::CreateIdentity
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's traits. | |
8
+ | **traits** | **Object** | Traits represent an identity'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 `schema_url`. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::CreateIdentity.new(
16
+ schema_id: null,
17
+ traits: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OryHydraClient::CreateRecoveryLink
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **expires_in** | **String** | Link Expires In The recovery link will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`. | [optional] |
8
+ | **identity_id** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client-client'
14
+
15
+ instance = OryHydraClient::CreateRecoveryLink.new(
16
+ expires_in: null,
17
+ identity_id: null
18
+ )
19
+ ```
20
+