ory-client 0.0.1.alpha7 → 0.0.1.alpha12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -11
  3. data/docs/DefaultApi.md +57 -55
  4. data/docs/LoginViaApiResponse.md +1 -1
  5. data/docs/RegistrationViaApiResponse.md +1 -1
  6. data/docs/UiNodeInputAttributes.md +1 -1
  7. data/lib/ory-client.rb +1 -2
  8. data/lib/ory-client/api/default_api.rb +52 -52
  9. data/lib/ory-client/api_client.rb +1 -1
  10. data/lib/ory-client/api_error.rb +1 -1
  11. data/lib/ory-client/configuration.rb +1 -1
  12. data/lib/ory-client/models/authenticate_ok_body.rb +1 -1
  13. data/lib/ory-client/models/container_change_response_item.rb +1 -1
  14. data/lib/ory-client/models/container_create_created_body.rb +1 -1
  15. data/lib/ory-client/models/container_top_ok_body.rb +1 -1
  16. data/lib/ory-client/models/container_update_ok_body.rb +1 -1
  17. data/lib/ory-client/models/container_wait_ok_body.rb +1 -1
  18. data/lib/ory-client/models/container_wait_ok_body_error.rb +1 -1
  19. data/lib/ory-client/models/create_identity.rb +1 -1
  20. data/lib/ory-client/models/create_recovery_link.rb +1 -1
  21. data/lib/ory-client/models/error_response.rb +1 -1
  22. data/lib/ory-client/models/generic_error.rb +1 -1
  23. data/lib/ory-client/models/graph_driver_data.rb +1 -1
  24. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  25. data/lib/ory-client/models/health_status.rb +1 -1
  26. data/lib/ory-client/models/id_response.rb +1 -1
  27. data/lib/ory-client/models/identity.rb +1 -1
  28. data/lib/ory-client/models/identity_credentials.rb +1 -1
  29. data/lib/ory-client/models/image_delete_response_item.rb +1 -1
  30. data/lib/ory-client/models/image_summary.rb +1 -1
  31. data/lib/ory-client/models/inline_response200.rb +1 -1
  32. data/lib/ory-client/models/inline_response2001.rb +1 -1
  33. data/lib/ory-client/models/inline_response503.rb +1 -1
  34. data/lib/ory-client/models/json_error.rb +1 -1
  35. data/lib/ory-client/models/login_flow.rb +1 -1
  36. data/lib/ory-client/models/login_via_api_response.rb +1 -6
  37. data/lib/ory-client/models/meta.rb +1 -1
  38. data/lib/ory-client/models/plugin.rb +1 -1
  39. data/lib/ory-client/models/plugin_config.rb +1 -1
  40. data/lib/ory-client/models/plugin_config_args.rb +1 -1
  41. data/lib/ory-client/models/plugin_config_interface.rb +1 -1
  42. data/lib/ory-client/models/plugin_config_linux.rb +1 -1
  43. data/lib/ory-client/models/plugin_config_network.rb +1 -1
  44. data/lib/ory-client/models/plugin_config_rootfs.rb +1 -1
  45. data/lib/ory-client/models/plugin_config_user.rb +1 -1
  46. data/lib/ory-client/models/plugin_device.rb +1 -1
  47. data/lib/ory-client/models/plugin_env.rb +1 -1
  48. data/lib/ory-client/models/plugin_interface_type.rb +1 -1
  49. data/lib/ory-client/models/plugin_mount.rb +1 -1
  50. data/lib/ory-client/models/plugin_settings.rb +1 -1
  51. data/lib/ory-client/models/port.rb +1 -1
  52. data/lib/ory-client/models/recovery_address.rb +1 -1
  53. data/lib/ory-client/models/recovery_flow.rb +1 -1
  54. data/lib/ory-client/models/recovery_link.rb +1 -1
  55. data/lib/ory-client/models/registration_flow.rb +1 -1
  56. data/lib/ory-client/models/registration_via_api_response.rb +1 -6
  57. data/lib/ory-client/models/revoke_session.rb +1 -1
  58. data/lib/ory-client/models/self_service_error_container.rb +1 -1
  59. data/lib/ory-client/models/service_update_response.rb +1 -1
  60. data/lib/ory-client/models/session.rb +1 -1
  61. data/lib/ory-client/models/settings_flow.rb +1 -1
  62. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  63. data/lib/ory-client/models/settings_via_api_response.rb +1 -1
  64. data/lib/ory-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +1 -1
  65. data/lib/ory-client/models/submit_self_service_login_flow.rb +1 -1
  66. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method.rb +1 -1
  67. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method.rb +1 -1
  68. data/lib/ory-client/models/submit_self_service_registration_flow.rb +1 -1
  69. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method.rb +1 -1
  70. data/lib/ory-client/models/submit_self_service_settings_flow.rb +1 -1
  71. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method.rb +1 -1
  72. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method.rb +1 -1
  73. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method.rb +1 -1
  74. data/lib/ory-client/models/ui_container.rb +1 -1
  75. data/lib/ory-client/models/ui_node.rb +1 -1
  76. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  77. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  78. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  79. data/lib/ory-client/models/ui_node_input_attributes.rb +4 -2
  80. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  81. data/lib/ory-client/models/ui_text.rb +1 -1
  82. data/lib/ory-client/models/update_identity.rb +1 -1
  83. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  84. data/lib/ory-client/models/verification_flow.rb +1 -1
  85. data/lib/ory-client/models/version.rb +1 -1
  86. data/lib/ory-client/models/volume.rb +1 -1
  87. data/lib/ory-client/models/volume_usage_data.rb +1 -1
  88. data/lib/ory-client/version.rb +2 -2
  89. data/ory-client.gemspec +1 -1
  90. data/spec/api_client_spec.rb +1 -1
  91. data/spec/configuration_spec.rb +1 -1
  92. data/spec/spec_helper.rb +1 -1
  93. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f83a07e0b41457ad18d70ee54a9fd4ab68f6b851439e3a638c7d1b620bd8f603
4
- data.tar.gz: ecfa37b9cd2ba0f57d710b69e1eeed63b98382cfee35195fb20721021003fdec
3
+ metadata.gz: 6876aec04d2ff88383a189cbb03acff077eb11e90df5454cb3f54aee44703fc6
4
+ data.tar.gz: 7ab6dd7532c77ee9015f9a0ab2faddfb2c05bfbce65558de0f651c9bcb3ac86a
5
5
  SHA512:
6
- metadata.gz: 8a23827a29a7d69de6a7b932d6404a4d0a4827d02c29024b6a573b8364a2e26cc4241e78ea4f9ce033e60819ece1540c97c0c88ba13ab9ce1ef54bb6f4d8ff0d
7
- data.tar.gz: f4c0967b354aa8a052c40ad23c53ad877f7c52c4cc3311489ccaf3935987e4189b046e839d9cb81489ff620ce61d4b7bc2780df8c4f4ee4ab670a23c98767ded
6
+ metadata.gz: 438decc9beac3d86077f978f4b850f8f4ad1f84aa1a8986be6c15840da2b9cfe128a8032a83f730c2c80fc9b8686d978aa073302b6adfdae5111ca83d51b9965
7
+ data.tar.gz: 5162ee5d27b10300199f061b14a55f6bbe4008374b6fee007dd1b8dd783fc5f2c2405d6f2b18d413d85258db5810da2d247e3722a0dc863724724560bbc6d3b2
data/README.md CHANGED
@@ -8,8 +8,8 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
8
8
 
9
9
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
10
 
11
- - API version: v0.0.1-alpha.7
12
- - Package version: v0.0.1-alpha.7
11
+ - API version: v0.0.1-alpha.12
12
+ - Package version: v0.0.1-alpha.12
13
13
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
14
14
 
15
15
  ## Installation
@@ -25,16 +25,16 @@ gem build ory-client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./ory-client-v0.0.1-alpha.7.gem
28
+ gem install ./ory-client-v0.0.1-alpha.12.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.7.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.12.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'ory-client', '~> v0.0.1-alpha.7'
37
+ gem 'ory-client', '~> v0.0.1-alpha.12'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -105,12 +105,12 @@ Class | Method | HTTP request | Description
105
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
106
  *OryHydraClient::DefaultApi* | [**get_version_admin**](docs/DefaultApi.md#get_version_admin) | **GET** /api/kratos/admin/version | Return Running Software Version.
107
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_for_browsers**](docs/DefaultApi.md#initialize_self_service_login_for_browsers) | **GET** /api/kratos/public/self-service/login/browser | Initialize Login Flow for browsers
109
- *OryHydraClient::DefaultApi* | [**initialize_self_service_login_for_native_apps**](docs/DefaultApi.md#initialize_self_service_login_for_native_apps) | **GET** /api/kratos/public/self-service/login/api | Initialize Login Flow for Native Apps and API clients
108
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_login_for_browsers**](docs/DefaultApi.md#initialize_self_service_login_for_browsers) | **GET** /api/kratos/public/self-service/login/browser | Initialize Login Flow for Browsers
109
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_login_without_browser**](docs/DefaultApi.md#initialize_self_service_login_without_browser) | **GET** /api/kratos/public/self-service/login/api | Initialize Login Flow for APIs, Services, Apps, ...
110
110
  *OryHydraClient::DefaultApi* | [**initialize_self_service_recovery_for_browsers**](docs/DefaultApi.md#initialize_self_service_recovery_for_browsers) | **GET** /api/kratos/public/self-service/recovery/browser | Initialize Recovery Flow for Browser Clients
111
111
  *OryHydraClient::DefaultApi* | [**initialize_self_service_recovery_for_native_apps**](docs/DefaultApi.md#initialize_self_service_recovery_for_native_apps) | **GET** /api/kratos/public/self-service/recovery/api | Initialize Recovery Flow for Native Apps and API clients
112
- *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
113
- *OryHydraClient::DefaultApi* | [**initialize_self_service_registration_for_native_apps**](docs/DefaultApi.md#initialize_self_service_registration_for_native_apps) | **GET** /api/kratos/public/self-service/registration/api | Initialize Registration Flow for Native Apps and API clients
112
+ *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
113
+ *OryHydraClient::DefaultApi* | [**initialize_self_service_registration_without_browser**](docs/DefaultApi.md#initialize_self_service_registration_without_browser) | **GET** /api/kratos/public/self-service/registration/api | Initialize Registration Flow for APIs, Services, Apps, ...
114
114
  *OryHydraClient::DefaultApi* | [**initialize_self_service_settings_for_browsers**](docs/DefaultApi.md#initialize_self_service_settings_for_browsers) | **GET** /api/kratos/public/self-service/settings/browser | Initialize Settings Flow for Browsers
115
115
  *OryHydraClient::DefaultApi* | [**initialize_self_service_settings_for_native_apps**](docs/DefaultApi.md#initialize_self_service_settings_for_native_apps) | **GET** /api/kratos/public/self-service/settings/api | Initialize Settings Flow for Native Apps and API clients
116
116
  *OryHydraClient::DefaultApi* | [**initialize_self_service_verification_for_browsers**](docs/DefaultApi.md#initialize_self_service_verification_for_browsers) | **GET** /api/kratos/public/self-service/verification/browser | Initialize Verification Flow for Browser Clients
@@ -125,7 +125,7 @@ Class | Method | HTTP request | Description
125
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
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
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 | Complete Verification Flow
128
+ *OryHydraClient::DefaultApi* | [**submit_self_service_verification_flow**](docs/DefaultApi.md#submit_self_service_verification_flow) | **POST** /api/kratos/public/self-service/verification/flows | Complete Verification Flow
129
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
130
  *OryHydraClient::DefaultApi* | [**update_identity_admin**](docs/DefaultApi.md#update_identity_admin) | **PUT** /api/kratos/admin/identities/{id} | Update an Identity
131
131
 
@@ -200,7 +200,6 @@ Class | Method | HTTP request | Description
200
200
  - [OryHydraClient::UiNodeAttributes](docs/UiNodeAttributes.md)
201
201
  - [OryHydraClient::UiNodeImageAttributes](docs/UiNodeImageAttributes.md)
202
202
  - [OryHydraClient::UiNodeInputAttributes](docs/UiNodeInputAttributes.md)
203
- - [OryHydraClient::UiNodeInputAttributesValue](docs/UiNodeInputAttributesValue.md)
204
203
  - [OryHydraClient::UiNodeTextAttributes](docs/UiNodeTextAttributes.md)
205
204
  - [OryHydraClient::UiText](docs/UiText.md)
206
205
  - [OryHydraClient::UpdateIdentity](docs/UpdateIdentity.md)
data/docs/DefaultApi.md CHANGED
@@ -24,12 +24,12 @@ All URIs are relative to *https://playground.projects.oryapis.com*
24
24
  | [**get_self_service_verification_flow_admin**](DefaultApi.md#get_self_service_verification_flow_admin) | **GET** /api/kratos/admin/self-service/verification/flows | Get Verification Flow |
25
25
  | [**get_version_admin**](DefaultApi.md#get_version_admin) | **GET** /api/kratos/admin/version | Return Running Software Version. |
26
26
  | [**initialize_self_service_browser_logout_flow**](DefaultApi.md#initialize_self_service_browser_logout_flow) | **GET** /api/kratos/public/self-service/browser/flows/logout | Initialize Browser-Based Logout User Flow |
27
- | [**initialize_self_service_login_for_browsers**](DefaultApi.md#initialize_self_service_login_for_browsers) | **GET** /api/kratos/public/self-service/login/browser | Initialize Login Flow for browsers |
28
- | [**initialize_self_service_login_for_native_apps**](DefaultApi.md#initialize_self_service_login_for_native_apps) | **GET** /api/kratos/public/self-service/login/api | Initialize Login Flow for Native Apps and API clients |
27
+ | [**initialize_self_service_login_for_browsers**](DefaultApi.md#initialize_self_service_login_for_browsers) | **GET** /api/kratos/public/self-service/login/browser | Initialize Login Flow for Browsers |
28
+ | [**initialize_self_service_login_without_browser**](DefaultApi.md#initialize_self_service_login_without_browser) | **GET** /api/kratos/public/self-service/login/api | Initialize Login Flow for APIs, Services, Apps, ... |
29
29
  | [**initialize_self_service_recovery_for_browsers**](DefaultApi.md#initialize_self_service_recovery_for_browsers) | **GET** /api/kratos/public/self-service/recovery/browser | Initialize Recovery Flow for Browser Clients |
30
30
  | [**initialize_self_service_recovery_for_native_apps**](DefaultApi.md#initialize_self_service_recovery_for_native_apps) | **GET** /api/kratos/public/self-service/recovery/api | Initialize Recovery Flow for Native Apps and API clients |
31
- | [**initialize_self_service_registration_for_browsers**](DefaultApi.md#initialize_self_service_registration_for_browsers) | **GET** /api/kratos/public/self-service/registration/browser | Initialize Registration Flow for browsers |
32
- | [**initialize_self_service_registration_for_native_apps**](DefaultApi.md#initialize_self_service_registration_for_native_apps) | **GET** /api/kratos/public/self-service/registration/api | Initialize Registration Flow for Native Apps and API clients |
31
+ | [**initialize_self_service_registration_for_browsers**](DefaultApi.md#initialize_self_service_registration_for_browsers) | **GET** /api/kratos/public/self-service/registration/browser | Initialize Registration Flow for Browsers |
32
+ | [**initialize_self_service_registration_without_browser**](DefaultApi.md#initialize_self_service_registration_without_browser) | **GET** /api/kratos/public/self-service/registration/api | Initialize Registration Flow for APIs, Services, Apps, ... |
33
33
  | [**initialize_self_service_settings_for_browsers**](DefaultApi.md#initialize_self_service_settings_for_browsers) | **GET** /api/kratos/public/self-service/settings/browser | Initialize Settings Flow for Browsers |
34
34
  | [**initialize_self_service_settings_for_native_apps**](DefaultApi.md#initialize_self_service_settings_for_native_apps) | **GET** /api/kratos/public/self-service/settings/api | Initialize Settings Flow for Native Apps and API clients |
35
35
  | [**initialize_self_service_verification_for_browsers**](DefaultApi.md#initialize_self_service_verification_for_browsers) | **GET** /api/kratos/public/self-service/verification/browser | Initialize Verification Flow for Browser Clients |
@@ -44,7 +44,7 @@ All URIs are relative to *https://playground.projects.oryapis.com*
44
44
  | [**submit_self_service_recovery_flow_with_link_method**](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 |
45
45
  | [**submit_self_service_registration_flow**](DefaultApi.md#submit_self_service_registration_flow) | **POST** /api/kratos/public/self-service/registration | Submit a Registration Flow |
46
46
  | [**submit_self_service_settings_flow**](DefaultApi.md#submit_self_service_settings_flow) | **POST** /api/kratos/public/self-service/settings | Complete Settings Flow |
47
- | [**submit_self_service_verification_flow**](DefaultApi.md#submit_self_service_verification_flow) | **POST** /api/kratos/public/self-service/verification | Complete Verification Flow |
47
+ | [**submit_self_service_verification_flow**](DefaultApi.md#submit_self_service_verification_flow) | **POST** /api/kratos/public/self-service/verification/flows | Complete Verification Flow |
48
48
  | [**to_session**](DefaultApi.md#to_session) | **GET** /api/kratos/public/sessions/whoami | Check Who the Current HTTP Session Belongs To |
49
49
  | [**update_identity_admin**](DefaultApi.md#update_identity_admin) | **PUT** /api/kratos/admin/identities/{id} | Update an Identity |
50
50
 
@@ -600,7 +600,7 @@ end
600
600
 
601
601
  Get Login Flow
602
602
 
603
- This endpoint returns a login flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
603
+ This endpoint returns a login flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
604
604
 
605
605
  ### Examples
606
606
 
@@ -664,7 +664,7 @@ No authorization required
664
664
 
665
665
  Get Login Flow
666
666
 
667
- This endpoint returns a login flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
667
+ This endpoint returns a login flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
668
668
 
669
669
  ### Examples
670
670
 
@@ -866,7 +866,7 @@ end
866
866
 
867
867
  Get Registration Flow
868
868
 
869
- This endpoint returns a registration flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
869
+ This endpoint returns a registration flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
870
870
 
871
871
  ### Examples
872
872
 
@@ -930,7 +930,7 @@ No authorization required
930
930
 
931
931
  Get Registration Flow
932
932
 
933
- This endpoint returns a registration flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
933
+ This endpoint returns a registration flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
934
934
 
935
935
  ### Examples
936
936
 
@@ -1400,11 +1400,11 @@ No authorization required
1400
1400
 
1401
1401
  ## initialize_self_service_login_for_browsers
1402
1402
 
1403
- > initialize_self_service_login_for_browsers(opts)
1403
+ > <LoginFlow> initialize_self_service_login_for_browsers(opts)
1404
1404
 
1405
- Initialize Login Flow for browsers
1405
+ Initialize Login Flow for Browsers
1406
1406
 
1407
- This endpoint initializes a browser-based user login flow. Once initialized, the browser will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1407
+ This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the login flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1408
1408
 
1409
1409
  ### Examples
1410
1410
 
@@ -1418,8 +1418,9 @@ opts = {
1418
1418
  }
1419
1419
 
1420
1420
  begin
1421
- # Initialize Login Flow for browsers
1422
- api_instance.initialize_self_service_login_for_browsers(opts)
1421
+ # Initialize Login Flow for Browsers
1422
+ result = api_instance.initialize_self_service_login_for_browsers(opts)
1423
+ p result
1423
1424
  rescue OryHydraClient::ApiError => e
1424
1425
  puts "Error when calling DefaultApi->initialize_self_service_login_for_browsers: #{e}"
1425
1426
  end
@@ -1427,17 +1428,17 @@ end
1427
1428
 
1428
1429
  #### Using the initialize_self_service_login_for_browsers_with_http_info variant
1429
1430
 
1430
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1431
+ This returns an Array which contains the response data, status code and headers.
1431
1432
 
1432
- > <Array(nil, Integer, Hash)> initialize_self_service_login_for_browsers_with_http_info(opts)
1433
+ > <Array(<LoginFlow>, Integer, Hash)> initialize_self_service_login_for_browsers_with_http_info(opts)
1433
1434
 
1434
1435
  ```ruby
1435
1436
  begin
1436
- # Initialize Login Flow for browsers
1437
+ # Initialize Login Flow for Browsers
1437
1438
  data, status_code, headers = api_instance.initialize_self_service_login_for_browsers_with_http_info(opts)
1438
1439
  p status_code # => 2xx
1439
1440
  p headers # => { ... }
1440
- p data # => nil
1441
+ p data # => <LoginFlow>
1441
1442
  rescue OryHydraClient::ApiError => e
1442
1443
  puts "Error when calling DefaultApi->initialize_self_service_login_for_browsers_with_http_info: #{e}"
1443
1444
  end
@@ -1451,7 +1452,7 @@ end
1451
1452
 
1452
1453
  ### Return type
1453
1454
 
1454
- nil (empty response body)
1455
+ [**LoginFlow**](LoginFlow.md)
1455
1456
 
1456
1457
  ### Authorization
1457
1458
 
@@ -1463,13 +1464,13 @@ No authorization required
1463
1464
  - **Accept**: application/json
1464
1465
 
1465
1466
 
1466
- ## initialize_self_service_login_for_native_apps
1467
+ ## initialize_self_service_login_without_browser
1467
1468
 
1468
- > <LoginFlow> initialize_self_service_login_for_native_apps(opts)
1469
+ > <LoginFlow> initialize_self_service_login_without_browser(opts)
1469
1470
 
1470
- Initialize Login Flow for Native Apps and API clients
1471
+ Initialize Login Flow for APIs, Services, Apps, ...
1471
1472
 
1472
- This endpoint initiates a login flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1473
+ This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1473
1474
 
1474
1475
  ### Examples
1475
1476
 
@@ -1483,29 +1484,29 @@ opts = {
1483
1484
  }
1484
1485
 
1485
1486
  begin
1486
- # Initialize Login Flow for Native Apps and API clients
1487
- result = api_instance.initialize_self_service_login_for_native_apps(opts)
1487
+ # Initialize Login Flow for APIs, Services, Apps, ...
1488
+ result = api_instance.initialize_self_service_login_without_browser(opts)
1488
1489
  p result
1489
1490
  rescue OryHydraClient::ApiError => e
1490
- puts "Error when calling DefaultApi->initialize_self_service_login_for_native_apps: #{e}"
1491
+ puts "Error when calling DefaultApi->initialize_self_service_login_without_browser: #{e}"
1491
1492
  end
1492
1493
  ```
1493
1494
 
1494
- #### Using the initialize_self_service_login_for_native_apps_with_http_info variant
1495
+ #### Using the initialize_self_service_login_without_browser_with_http_info variant
1495
1496
 
1496
1497
  This returns an Array which contains the response data, status code and headers.
1497
1498
 
1498
- > <Array(<LoginFlow>, Integer, Hash)> initialize_self_service_login_for_native_apps_with_http_info(opts)
1499
+ > <Array(<LoginFlow>, Integer, Hash)> initialize_self_service_login_without_browser_with_http_info(opts)
1499
1500
 
1500
1501
  ```ruby
1501
1502
  begin
1502
- # Initialize Login Flow for Native Apps and API clients
1503
- data, status_code, headers = api_instance.initialize_self_service_login_for_native_apps_with_http_info(opts)
1503
+ # Initialize Login Flow for APIs, Services, Apps, ...
1504
+ data, status_code, headers = api_instance.initialize_self_service_login_without_browser_with_http_info(opts)
1504
1505
  p status_code # => 2xx
1505
1506
  p headers # => { ... }
1506
1507
  p data # => <LoginFlow>
1507
1508
  rescue OryHydraClient::ApiError => e
1508
- puts "Error when calling DefaultApi->initialize_self_service_login_for_native_apps_with_http_info: #{e}"
1509
+ puts "Error when calling DefaultApi->initialize_self_service_login_without_browser_with_http_info: #{e}"
1509
1510
  end
1510
1511
  ```
1511
1512
 
@@ -1652,11 +1653,11 @@ No authorization required
1652
1653
 
1653
1654
  ## initialize_self_service_registration_for_browsers
1654
1655
 
1655
- > initialize_self_service_registration_for_browsers
1656
+ > <RegistrationFlow> initialize_self_service_registration_for_browsers
1656
1657
 
1657
- Initialize Registration Flow for browsers
1658
+ Initialize Registration Flow for Browsers
1658
1659
 
1659
- This endpoint initializes a browser-based user registration flow. Once initialized, the browser will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. :::note This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1660
+ This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1660
1661
 
1661
1662
  ### Examples
1662
1663
 
@@ -1667,8 +1668,9 @@ require 'ory-client'
1667
1668
  api_instance = OryHydraClient::DefaultApi.new
1668
1669
 
1669
1670
  begin
1670
- # Initialize Registration Flow for browsers
1671
- api_instance.initialize_self_service_registration_for_browsers
1671
+ # Initialize Registration Flow for Browsers
1672
+ result = api_instance.initialize_self_service_registration_for_browsers
1673
+ p result
1672
1674
  rescue OryHydraClient::ApiError => e
1673
1675
  puts "Error when calling DefaultApi->initialize_self_service_registration_for_browsers: #{e}"
1674
1676
  end
@@ -1676,17 +1678,17 @@ end
1676
1678
 
1677
1679
  #### Using the initialize_self_service_registration_for_browsers_with_http_info variant
1678
1680
 
1679
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1681
+ This returns an Array which contains the response data, status code and headers.
1680
1682
 
1681
- > <Array(nil, Integer, Hash)> initialize_self_service_registration_for_browsers_with_http_info
1683
+ > <Array(<RegistrationFlow>, Integer, Hash)> initialize_self_service_registration_for_browsers_with_http_info
1682
1684
 
1683
1685
  ```ruby
1684
1686
  begin
1685
- # Initialize Registration Flow for browsers
1687
+ # Initialize Registration Flow for Browsers
1686
1688
  data, status_code, headers = api_instance.initialize_self_service_registration_for_browsers_with_http_info
1687
1689
  p status_code # => 2xx
1688
1690
  p headers # => { ... }
1689
- p data # => nil
1691
+ p data # => <RegistrationFlow>
1690
1692
  rescue OryHydraClient::ApiError => e
1691
1693
  puts "Error when calling DefaultApi->initialize_self_service_registration_for_browsers_with_http_info: #{e}"
1692
1694
  end
@@ -1698,7 +1700,7 @@ This endpoint does not need any parameter.
1698
1700
 
1699
1701
  ### Return type
1700
1702
 
1701
- nil (empty response body)
1703
+ [**RegistrationFlow**](RegistrationFlow.md)
1702
1704
 
1703
1705
  ### Authorization
1704
1706
 
@@ -1710,13 +1712,13 @@ No authorization required
1710
1712
  - **Accept**: application/json
1711
1713
 
1712
1714
 
1713
- ## initialize_self_service_registration_for_native_apps
1715
+ ## initialize_self_service_registration_without_browser
1714
1716
 
1715
- > <RegistrationFlow> initialize_self_service_registration_for_native_apps
1717
+ > <RegistrationFlow> initialize_self_service_registration_without_browser
1716
1718
 
1717
- Initialize Registration Flow for Native Apps and API clients
1719
+ Initialize Registration Flow for APIs, Services, Apps, ...
1718
1720
 
1719
- This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1721
+ This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1720
1722
 
1721
1723
  ### Examples
1722
1724
 
@@ -1727,29 +1729,29 @@ require 'ory-client'
1727
1729
  api_instance = OryHydraClient::DefaultApi.new
1728
1730
 
1729
1731
  begin
1730
- # Initialize Registration Flow for Native Apps and API clients
1731
- result = api_instance.initialize_self_service_registration_for_native_apps
1732
+ # Initialize Registration Flow for APIs, Services, Apps, ...
1733
+ result = api_instance.initialize_self_service_registration_without_browser
1732
1734
  p result
1733
1735
  rescue OryHydraClient::ApiError => e
1734
- puts "Error when calling DefaultApi->initialize_self_service_registration_for_native_apps: #{e}"
1736
+ puts "Error when calling DefaultApi->initialize_self_service_registration_without_browser: #{e}"
1735
1737
  end
1736
1738
  ```
1737
1739
 
1738
- #### Using the initialize_self_service_registration_for_native_apps_with_http_info variant
1740
+ #### Using the initialize_self_service_registration_without_browser_with_http_info variant
1739
1741
 
1740
1742
  This returns an Array which contains the response data, status code and headers.
1741
1743
 
1742
- > <Array(<RegistrationFlow>, Integer, Hash)> initialize_self_service_registration_for_native_apps_with_http_info
1744
+ > <Array(<RegistrationFlow>, Integer, Hash)> initialize_self_service_registration_without_browser_with_http_info
1743
1745
 
1744
1746
  ```ruby
1745
1747
  begin
1746
- # Initialize Registration Flow for Native Apps and API clients
1747
- data, status_code, headers = api_instance.initialize_self_service_registration_for_native_apps_with_http_info
1748
+ # Initialize Registration Flow for APIs, Services, Apps, ...
1749
+ data, status_code, headers = api_instance.initialize_self_service_registration_without_browser_with_http_info
1748
1750
  p status_code # => 2xx
1749
1751
  p headers # => { ... }
1750
1752
  p data # => <RegistrationFlow>
1751
1753
  rescue OryHydraClient::ApiError => e
1752
- puts "Error when calling DefaultApi->initialize_self_service_registration_for_native_apps_with_http_info: #{e}"
1754
+ puts "Error when calling DefaultApi->initialize_self_service_registration_without_browser_with_http_info: #{e}"
1753
1755
  end
1754
1756
  ```
1755
1757
 
@@ -2367,7 +2369,7 @@ No authorization required
2367
2369
 
2368
2370
  Submit a Login Flow
2369
2371
 
2370
- Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2372
+ :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2371
2373
 
2372
2374
  ### Examples
2373
2375
 
@@ -2571,7 +2573,7 @@ No authorization required
2571
2573
 
2572
2574
  Submit a Registration Flow
2573
2575
 
2574
- Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2576
+ :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2575
2577
 
2576
2578
  ### Examples
2577
2579
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **session** | [**Session**](Session.md) | | |
8
- | **session_token** | **String** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | |
8
+ | **session_token** | **String** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **identity** | [**Identity**](Identity.md) | | |
8
8
  | **session** | [**Session**](Session.md) | | [optional] |
9
- | **session_token** | **String** | The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | |
9
+ | **session_token** | **String** | The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -10,7 +10,7 @@
10
10
  | **pattern** | **String** | The input&#39;s pattern. | [optional] |
11
11
  | **required** | **Boolean** | Mark this input field as required. | [optional] |
12
12
  | **type** | **String** | | |
13
- | **value** | [**UiNodeInputAttributesValue**](UiNodeInputAttributesValue.md) | | [optional] |
13
+ | **value** | [**AnyType**](.md) | The input&#39;s value. | [optional] |
14
14
 
15
15
  ## Example
16
16
 
data/lib/ory-client.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.7
6
+ The version of the OpenAPI document: v0.0.1-alpha.12
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -85,7 +85,6 @@ require 'ory-client/models/ui_node_anchor_attributes'
85
85
  require 'ory-client/models/ui_node_attributes'
86
86
  require 'ory-client/models/ui_node_image_attributes'
87
87
  require 'ory-client/models/ui_node_input_attributes'
88
- require 'ory-client/models/ui_node_input_attributes_value'
89
88
  require 'ory-client/models/ui_node_text_attributes'
90
89
  require 'ory-client/models/ui_text'
91
90
  require 'ory-client/models/update_identity'
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.7
6
+ The version of the OpenAPI document: v0.0.1-alpha.12
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -518,7 +518,7 @@ module OryHydraClient
518
518
  end
519
519
 
520
520
  # Get Login Flow
521
- # This endpoint returns a login flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
521
+ # This endpoint returns a login flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
522
522
  # @param id [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
523
523
  # @param [Hash] opts the optional parameters
524
524
  # @return [LoginFlow]
@@ -528,7 +528,7 @@ module OryHydraClient
528
528
  end
529
529
 
530
530
  # Get Login Flow
531
- # This endpoint returns a login flow&#39;s context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
531
+ # This endpoint returns a login flow&#39;s context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
532
532
  # @param id [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
533
533
  # @param [Hash] opts the optional parameters
534
534
  # @return [Array<(LoginFlow, Integer, Hash)>] LoginFlow data, response status code and response headers
@@ -582,7 +582,7 @@ module OryHydraClient
582
582
  end
583
583
 
584
584
  # Get Login Flow
585
- # This endpoint returns a login flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
585
+ # This endpoint returns a login flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
586
586
  # @param id [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
587
587
  # @param [Hash] opts the optional parameters
588
588
  # @return [LoginFlow]
@@ -592,7 +592,7 @@ module OryHydraClient
592
592
  end
593
593
 
594
594
  # Get Login Flow
595
- # This endpoint returns a login flow&#39;s context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
595
+ # This endpoint returns a login flow&#39;s context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
596
596
  # @param id [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
597
597
  # @param [Hash] opts the optional parameters
598
598
  # @return [Array<(LoginFlow, Integer, Hash)>] LoginFlow data, response status code and response headers
@@ -774,7 +774,7 @@ module OryHydraClient
774
774
  end
775
775
 
776
776
  # Get Registration Flow
777
- # This endpoint returns a registration flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
777
+ # This endpoint returns a registration flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
778
778
  # @param id [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
779
779
  # @param [Hash] opts the optional parameters
780
780
  # @return [RegistrationFlow]
@@ -784,7 +784,7 @@ module OryHydraClient
784
784
  end
785
785
 
786
786
  # Get Registration Flow
787
- # This endpoint returns a registration flow&#39;s context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
787
+ # This endpoint returns a registration flow&#39;s context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
788
788
  # @param id [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
789
789
  # @param [Hash] opts the optional parameters
790
790
  # @return [Array<(RegistrationFlow, Integer, Hash)>] RegistrationFlow data, response status code and response headers
@@ -838,7 +838,7 @@ module OryHydraClient
838
838
  end
839
839
 
840
840
  # Get Registration Flow
841
- # This endpoint returns a registration flow's context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
841
+ # This endpoint returns a registration flow's context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
842
842
  # @param id [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
843
843
  # @param [Hash] opts the optional parameters
844
844
  # @return [RegistrationFlow]
@@ -848,7 +848,7 @@ module OryHydraClient
848
848
  end
849
849
 
850
850
  # Get Registration Flow
851
- # This endpoint returns a registration flow&#39;s context with, for example, error details and other information. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
851
+ # This endpoint returns a registration flow&#39;s context with, for example, error details and other information. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
852
852
  # @param id [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
853
853
  # @param [Hash] opts the optional parameters
854
854
  # @return [Array<(RegistrationFlow, Integer, Hash)>] RegistrationFlow data, response status code and response headers
@@ -1277,21 +1277,21 @@ module OryHydraClient
1277
1277
  return data, status_code, headers
1278
1278
  end
1279
1279
 
1280
- # Initialize Login Flow for browsers
1281
- # This endpoint initializes a browser-based user login flow. Once initialized, the browser will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1280
+ # Initialize Login Flow for Browsers
1281
+ # This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the login flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1282
1282
  # @param [Hash] opts the optional parameters
1283
1283
  # @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
1284
- # @return [nil]
1284
+ # @return [LoginFlow]
1285
1285
  def initialize_self_service_login_for_browsers(opts = {})
1286
- initialize_self_service_login_for_browsers_with_http_info(opts)
1287
- nil
1286
+ data, _status_code, _headers = initialize_self_service_login_for_browsers_with_http_info(opts)
1287
+ data
1288
1288
  end
1289
1289
 
1290
- # Initialize Login Flow for browsers
1291
- # This endpoint initializes a browser-based user login flow. Once initialized, the browser will be redirected to &#x60;selfservice.flows.login.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. If a valid user session exists already, the browser will be redirected to &#x60;urls.default_redirect_url&#x60; unless the query parameter &#x60;?refresh&#x3D;true&#x60; was set. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1290
+ # Initialize Login Flow for Browsers
1291
+ # This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to &#x60;selfservice.flows.login.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. If a valid user session exists already, the browser will be redirected to &#x60;urls.default_redirect_url&#x60; unless the query parameter &#x60;?refresh&#x3D;true&#x60; was set. If this endpoint is called via an AJAX request, the response contains the login flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1292
1292
  # @param [Hash] opts the optional parameters
1293
1293
  # @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
1294
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1294
+ # @return [Array<(LoginFlow, Integer, Hash)>] LoginFlow data, response status code and response headers
1295
1295
  def initialize_self_service_login_for_browsers_with_http_info(opts = {})
1296
1296
  if @api_client.config.debugging
1297
1297
  @api_client.config.logger.debug 'Calling API: DefaultApi.initialize_self_service_login_for_browsers ...'
@@ -1315,7 +1315,7 @@ module OryHydraClient
1315
1315
  post_body = opts[:debug_body]
1316
1316
 
1317
1317
  # return_type
1318
- return_type = opts[:debug_return_type]
1318
+ return_type = opts[:debug_return_type] || 'LoginFlow'
1319
1319
 
1320
1320
  # auth_names
1321
1321
  auth_names = opts[:debug_auth_names] || []
@@ -1337,24 +1337,24 @@ module OryHydraClient
1337
1337
  return data, status_code, headers
1338
1338
  end
1339
1339
 
1340
- # Initialize Login Flow for Native Apps and API clients
1341
- # This endpoint initiates a login flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1340
+ # Initialize Login Flow for APIs, Services, Apps, ...
1341
+ # This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1342
1342
  # @param [Hash] opts the optional parameters
1343
1343
  # @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
1344
1344
  # @return [LoginFlow]
1345
- def initialize_self_service_login_for_native_apps(opts = {})
1346
- data, _status_code, _headers = initialize_self_service_login_for_native_apps_with_http_info(opts)
1345
+ def initialize_self_service_login_without_browser(opts = {})
1346
+ data, _status_code, _headers = initialize_self_service_login_without_browser_with_http_info(opts)
1347
1347
  data
1348
1348
  end
1349
1349
 
1350
- # Initialize Login Flow for Native Apps and API clients
1351
- # This endpoint initiates a login flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter &#x60;?refresh&#x3D;true&#x60; is set. To fetch an existing login flow call &#x60;/self-service/login/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1350
+ # Initialize Login Flow for APIs, Services, Apps, ...
1351
+ # This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter &#x60;?refresh&#x3D;true&#x60; is set. To fetch an existing login flow call &#x60;/self-service/login/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1352
1352
  # @param [Hash] opts the optional parameters
1353
1353
  # @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
1354
1354
  # @return [Array<(LoginFlow, Integer, Hash)>] LoginFlow data, response status code and response headers
1355
- def initialize_self_service_login_for_native_apps_with_http_info(opts = {})
1355
+ def initialize_self_service_login_without_browser_with_http_info(opts = {})
1356
1356
  if @api_client.config.debugging
1357
- @api_client.config.logger.debug 'Calling API: DefaultApi.initialize_self_service_login_for_native_apps ...'
1357
+ @api_client.config.logger.debug 'Calling API: DefaultApi.initialize_self_service_login_without_browser ...'
1358
1358
  end
1359
1359
  # resource path
1360
1360
  local_var_path = '/api/kratos/public/self-service/login/api'
@@ -1381,7 +1381,7 @@ module OryHydraClient
1381
1381
  auth_names = opts[:debug_auth_names] || []
1382
1382
 
1383
1383
  new_options = opts.merge(
1384
- :operation => :"DefaultApi.initialize_self_service_login_for_native_apps",
1384
+ :operation => :"DefaultApi.initialize_self_service_login_without_browser",
1385
1385
  :header_params => header_params,
1386
1386
  :query_params => query_params,
1387
1387
  :form_params => form_params,
@@ -1392,7 +1392,7 @@ module OryHydraClient
1392
1392
 
1393
1393
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1394
1394
  if @api_client.config.debugging
1395
- @api_client.config.logger.debug "API called: DefaultApi#initialize_self_service_login_for_native_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1395
+ @api_client.config.logger.debug "API called: DefaultApi#initialize_self_service_login_without_browser\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1396
1396
  end
1397
1397
  return data, status_code, headers
1398
1398
  end
@@ -1511,19 +1511,19 @@ module OryHydraClient
1511
1511
  return data, status_code, headers
1512
1512
  end
1513
1513
 
1514
- # Initialize Registration Flow for browsers
1515
- # This endpoint initializes a browser-based user registration flow. Once initialized, the browser will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. :::note This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1514
+ # Initialize Registration Flow for Browsers
1515
+ # This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1516
1516
  # @param [Hash] opts the optional parameters
1517
- # @return [nil]
1517
+ # @return [RegistrationFlow]
1518
1518
  def initialize_self_service_registration_for_browsers(opts = {})
1519
- initialize_self_service_registration_for_browsers_with_http_info(opts)
1520
- nil
1519
+ data, _status_code, _headers = initialize_self_service_registration_for_browsers_with_http_info(opts)
1520
+ data
1521
1521
  end
1522
1522
 
1523
- # Initialize Registration Flow for browsers
1524
- # This endpoint initializes a browser-based user registration flow. Once initialized, the browser will be redirected to &#x60;selfservice.flows.registration.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. If a valid user session exists already, the browser will be redirected to &#x60;urls.default_redirect_url&#x60; unless the query parameter &#x60;?refresh&#x3D;true&#x60; was set. :::note This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1523
+ # Initialize Registration Flow for Browsers
1524
+ # This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to &#x60;selfservice.flows.registration.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. If a valid user session exists already, the browser will be redirected to &#x60;urls.default_redirect_url&#x60;. If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1525
1525
  # @param [Hash] opts the optional parameters
1526
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1526
+ # @return [Array<(RegistrationFlow, Integer, Hash)>] RegistrationFlow data, response status code and response headers
1527
1527
  def initialize_self_service_registration_for_browsers_with_http_info(opts = {})
1528
1528
  if @api_client.config.debugging
1529
1529
  @api_client.config.logger.debug 'Calling API: DefaultApi.initialize_self_service_registration_for_browsers ...'
@@ -1546,7 +1546,7 @@ module OryHydraClient
1546
1546
  post_body = opts[:debug_body]
1547
1547
 
1548
1548
  # return_type
1549
- return_type = opts[:debug_return_type]
1549
+ return_type = opts[:debug_return_type] || 'RegistrationFlow'
1550
1550
 
1551
1551
  # auth_names
1552
1552
  auth_names = opts[:debug_auth_names] || []
@@ -1568,22 +1568,22 @@ module OryHydraClient
1568
1568
  return data, status_code, headers
1569
1569
  end
1570
1570
 
1571
- # Initialize Registration Flow for Native Apps and API clients
1572
- # This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1571
+ # Initialize Registration Flow for APIs, Services, Apps, ...
1572
+ # This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1573
1573
  # @param [Hash] opts the optional parameters
1574
1574
  # @return [RegistrationFlow]
1575
- def initialize_self_service_registration_for_native_apps(opts = {})
1576
- data, _status_code, _headers = initialize_self_service_registration_for_native_apps_with_http_info(opts)
1575
+ def initialize_self_service_registration_without_browser(opts = {})
1576
+ data, _status_code, _headers = initialize_self_service_registration_without_browser_with_http_info(opts)
1577
1577
  data
1578
1578
  end
1579
1579
 
1580
- # Initialize Registration Flow for Native Apps and API clients
1581
- # This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter &#x60;?refresh&#x3D;true&#x60; is set. To fetch an existing registration flow call &#x60;/self-service/registration/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1580
+ # Initialize Registration Flow for APIs, Services, Apps, ...
1581
+ # This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter &#x60;?refresh&#x3D;true&#x60; is set. To fetch an existing registration flow call &#x60;/self-service/registration/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. :::warning You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). ::: More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
1582
1582
  # @param [Hash] opts the optional parameters
1583
1583
  # @return [Array<(RegistrationFlow, Integer, Hash)>] RegistrationFlow data, response status code and response headers
1584
- def initialize_self_service_registration_for_native_apps_with_http_info(opts = {})
1584
+ def initialize_self_service_registration_without_browser_with_http_info(opts = {})
1585
1585
  if @api_client.config.debugging
1586
- @api_client.config.logger.debug 'Calling API: DefaultApi.initialize_self_service_registration_for_native_apps ...'
1586
+ @api_client.config.logger.debug 'Calling API: DefaultApi.initialize_self_service_registration_without_browser ...'
1587
1587
  end
1588
1588
  # resource path
1589
1589
  local_var_path = '/api/kratos/public/self-service/registration/api'
@@ -1609,7 +1609,7 @@ module OryHydraClient
1609
1609
  auth_names = opts[:debug_auth_names] || []
1610
1610
 
1611
1611
  new_options = opts.merge(
1612
- :operation => :"DefaultApi.initialize_self_service_registration_for_native_apps",
1612
+ :operation => :"DefaultApi.initialize_self_service_registration_without_browser",
1613
1613
  :header_params => header_params,
1614
1614
  :query_params => query_params,
1615
1615
  :form_params => form_params,
@@ -1620,7 +1620,7 @@ module OryHydraClient
1620
1620
 
1621
1621
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1622
1622
  if @api_client.config.debugging
1623
- @api_client.config.logger.debug "API called: DefaultApi#initialize_self_service_registration_for_native_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1623
+ @api_client.config.logger.debug "API called: DefaultApi#initialize_self_service_registration_without_browser\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1624
1624
  end
1625
1625
  return data, status_code, headers
1626
1626
  end
@@ -2166,7 +2166,7 @@ module OryHydraClient
2166
2166
  end
2167
2167
 
2168
2168
  # Submit a Login Flow
2169
- # Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2169
+ # :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2170
2170
  # @param flow [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
2171
2171
  # @param [Hash] opts the optional parameters
2172
2172
  # @option opts [SubmitSelfServiceLoginFlow] :submit_self_service_login_flow
@@ -2177,7 +2177,7 @@ module OryHydraClient
2177
2177
  end
2178
2178
 
2179
2179
  # Submit a Login Flow
2180
- # Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect &#x60;application/json&#x60; to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect &#x60;application/x-www-form-urlencoded&#x60; to be sent in the body and responds with a HTTP 302 redirect to the post/after login URL or the &#x60;return_to&#x60; value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2180
+ # :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect &#x60;application/json&#x60; to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of &#x60;application/x-www-form-urlencoded&#x60; or &#x60;application/json&#x60; to be sent in the body and respond with a HTTP 302 redirect to the post/after login URL or the &#x60;return_to&#x60; value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of &#x60;application/json&#x60; will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a &#x60;Set-Cookie&#x60; header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2181
2181
  # @param flow [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
2182
2182
  # @param [Hash] opts the optional parameters
2183
2183
  # @option opts [SubmitSelfServiceLoginFlow] :submit_self_service_login_flow
@@ -2369,7 +2369,7 @@ module OryHydraClient
2369
2369
  end
2370
2370
 
2371
2371
  # Submit a Registration Flow
2372
- # Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2372
+ # :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2373
2373
  # @param flow [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
2374
2374
  # @param [Hash] opts the optional parameters
2375
2375
  # @option opts [SubmitSelfServiceRegistrationFlow] :submit_self_service_registration_flow
@@ -2380,7 +2380,7 @@ module OryHydraClient
2380
2380
  end
2381
2381
 
2382
2382
  # Submit a Registration Flow
2383
- # Use this endpoint to complete a registration flow by sending an identity&#39;s traits and password. This endpoint behaves differently for API and browser flows. API flows expect &#x60;application/json&#x60; to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the &#x60;session&#x60; and &#x60;session_token&#x60; will also be included; HTTP 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect &#x60;application/x-www-form-urlencoded&#x60; to be sent in the body and responds with a HTTP 302 redirect to the post/after registration URL or the &#x60;return_to&#x60; value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2383
+ # :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a registration flow by sending an identity&#39;s traits and password. This endpoint behaves differently for API and browser flows. API flows expect &#x60;application/json&#x60; to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the &#x60;session&#x60; and &#x60;session_token&#x60; will also be included; HTTP 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of &#x60;application/x-www-form-urlencoded&#x60; or &#x60;application/json&#x60; to be sent in the body and respond with a HTTP 302 redirect to the post/after registration URL or the &#x60;return_to&#x60; value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of &#x60;application/json&#x60; will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a &#x60;Set-Cookie&#x60; header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
2384
2384
  # @param flow [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
2385
2385
  # @param [Hash] opts the optional parameters
2386
2386
  # @option opts [SubmitSelfServiceRegistrationFlow] :submit_self_service_registration_flow
@@ -2533,7 +2533,7 @@ module OryHydraClient
2533
2533
  fail ArgumentError, "Missing the required parameter 'flow' when calling DefaultApi.submit_self_service_verification_flow"
2534
2534
  end
2535
2535
  # resource path
2536
- local_var_path = '/api/kratos/public/self-service/verification'
2536
+ local_var_path = '/api/kratos/public/self-service/verification/flows'
2537
2537
 
2538
2538
  # query parameters
2539
2539
  query_params = opts[:query_params] || {}