ory-client 0.0.1.alpha5 → 0.0.1.alpha6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -8
  3. data/docs/DefaultApi.md +25 -24
  4. data/docs/UiNodeInputAttributes.md +1 -1
  5. data/lib/ory-client.rb +1 -2
  6. data/lib/ory-client/api/default_api.rb +20 -20
  7. data/lib/ory-client/api_client.rb +1 -1
  8. data/lib/ory-client/api_error.rb +1 -1
  9. data/lib/ory-client/configuration.rb +1 -1
  10. data/lib/ory-client/models/authenticate_ok_body.rb +1 -1
  11. data/lib/ory-client/models/container_change_response_item.rb +1 -1
  12. data/lib/ory-client/models/container_create_created_body.rb +1 -1
  13. data/lib/ory-client/models/container_top_ok_body.rb +1 -1
  14. data/lib/ory-client/models/container_update_ok_body.rb +1 -1
  15. data/lib/ory-client/models/container_wait_ok_body.rb +1 -1
  16. data/lib/ory-client/models/container_wait_ok_body_error.rb +1 -1
  17. data/lib/ory-client/models/create_identity.rb +1 -1
  18. data/lib/ory-client/models/create_recovery_link.rb +1 -1
  19. data/lib/ory-client/models/error_response.rb +1 -1
  20. data/lib/ory-client/models/generic_error.rb +1 -1
  21. data/lib/ory-client/models/graph_driver_data.rb +1 -1
  22. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  23. data/lib/ory-client/models/health_status.rb +1 -1
  24. data/lib/ory-client/models/id_response.rb +1 -1
  25. data/lib/ory-client/models/identity.rb +1 -1
  26. data/lib/ory-client/models/identity_credentials.rb +1 -1
  27. data/lib/ory-client/models/image_delete_response_item.rb +1 -1
  28. data/lib/ory-client/models/image_summary.rb +1 -1
  29. data/lib/ory-client/models/inline_response200.rb +1 -1
  30. data/lib/ory-client/models/inline_response2001.rb +1 -1
  31. data/lib/ory-client/models/inline_response503.rb +1 -1
  32. data/lib/ory-client/models/json_error.rb +1 -1
  33. data/lib/ory-client/models/login_flow.rb +1 -1
  34. data/lib/ory-client/models/login_via_api_response.rb +1 -1
  35. data/lib/ory-client/models/meta.rb +1 -1
  36. data/lib/ory-client/models/plugin.rb +1 -1
  37. data/lib/ory-client/models/plugin_config.rb +1 -1
  38. data/lib/ory-client/models/plugin_config_args.rb +1 -1
  39. data/lib/ory-client/models/plugin_config_interface.rb +1 -1
  40. data/lib/ory-client/models/plugin_config_linux.rb +1 -1
  41. data/lib/ory-client/models/plugin_config_network.rb +1 -1
  42. data/lib/ory-client/models/plugin_config_rootfs.rb +1 -1
  43. data/lib/ory-client/models/plugin_config_user.rb +1 -1
  44. data/lib/ory-client/models/plugin_device.rb +1 -1
  45. data/lib/ory-client/models/plugin_env.rb +1 -1
  46. data/lib/ory-client/models/plugin_interface_type.rb +1 -1
  47. data/lib/ory-client/models/plugin_mount.rb +1 -1
  48. data/lib/ory-client/models/plugin_settings.rb +1 -1
  49. data/lib/ory-client/models/port.rb +1 -1
  50. data/lib/ory-client/models/recovery_address.rb +1 -1
  51. data/lib/ory-client/models/recovery_flow.rb +1 -1
  52. data/lib/ory-client/models/recovery_link.rb +1 -1
  53. data/lib/ory-client/models/registration_flow.rb +1 -1
  54. data/lib/ory-client/models/registration_via_api_response.rb +1 -1
  55. data/lib/ory-client/models/revoke_session.rb +1 -1
  56. data/lib/ory-client/models/self_service_error_container.rb +1 -1
  57. data/lib/ory-client/models/service_update_response.rb +1 -1
  58. data/lib/ory-client/models/session.rb +1 -1
  59. data/lib/ory-client/models/settings_flow.rb +1 -1
  60. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  61. data/lib/ory-client/models/settings_via_api_response.rb +1 -1
  62. data/lib/ory-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +1 -1
  63. data/lib/ory-client/models/submit_self_service_login_flow.rb +1 -1
  64. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method.rb +1 -1
  65. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method.rb +1 -1
  66. data/lib/ory-client/models/submit_self_service_registration_flow.rb +1 -1
  67. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method.rb +1 -1
  68. data/lib/ory-client/models/submit_self_service_settings_flow.rb +1 -1
  69. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method.rb +1 -1
  70. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method.rb +1 -1
  71. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method.rb +1 -1
  72. data/lib/ory-client/models/ui_container.rb +1 -1
  73. data/lib/ory-client/models/ui_node.rb +1 -1
  74. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  75. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  76. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  77. data/lib/ory-client/models/ui_node_input_attributes.rb +4 -2
  78. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  79. data/lib/ory-client/models/ui_text.rb +1 -1
  80. data/lib/ory-client/models/update_identity.rb +1 -1
  81. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  82. data/lib/ory-client/models/verification_flow.rb +1 -1
  83. data/lib/ory-client/models/version.rb +1 -1
  84. data/lib/ory-client/models/volume.rb +1 -1
  85. data/lib/ory-client/models/volume_usage_data.rb +1 -1
  86. data/lib/ory-client/version.rb +2 -2
  87. data/ory-client.gemspec +1 -1
  88. data/spec/api_client_spec.rb +1 -1
  89. data/spec/configuration_spec.rb +1 -1
  90. data/spec/spec_helper.rb +1 -1
  91. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0c3a3fdc5b7c2210a17cef772f40db6c07632c455fc4849ed3e27aa3e478e55
4
- data.tar.gz: 0d4b7e5a12c0e22b94cd78cc366d23bade0b07ed1d5457cc82811f2c9267e51c
3
+ metadata.gz: 9949f01f2789192381af925d1e9882157b79de3af80b012b24a22db3f1ba8f25
4
+ data.tar.gz: f2af1f4f11da9060ca9f6349c0800da5e8a08b4cf0bee68bb4496eb5b0bd0931
5
5
  SHA512:
6
- metadata.gz: 2e48e9f8f851748927ebbec53332a743670bdeef9e477cc140fb2beb627e2df6a84ac91e926856a96ad6be782df8dfa9b79ed3ce4c966f45975b9f3c0f5a04b0
7
- data.tar.gz: 2d203d0a2c6a67b5ce07d739a9797ac1bb5112ed37717e9f39befb3db9a3cd9e8f238dee93dfa1a78ad8574a433a8ec9e5419cbcc5ee3f59eef7877401dd967a
6
+ metadata.gz: dc719b83e13c370ee1a62217359d4af0c5d7e672cc56b8d2f5becc396949d375dde5e9aba31002d81791ca27bdecc9aefcf6a57e1c70ae593f704ee2418efc0e
7
+ data.tar.gz: f3cdffe44d4791eb58e06afed61eb93bbe3448640cbc6d5e965ff8a0007e7ab9b60821eb204419ff32de46579a4b3a411e2cd4a91dec807445c037f3ed388300
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.5
12
- - Package version: v0.0.1-alpha.5
11
+ - API version: v0.0.1-alpha.6
12
+ - Package version: v0.0.1-alpha.6
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.5.gem
28
+ gem install ./ory-client-v0.0.1-alpha.6.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.5.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.6.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.5'
37
+ gem 'ory-client', '~> v0.0.1-alpha.6'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -105,8 +105,8 @@ 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
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
@@ -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,8 +24,8 @@ 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
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 |
@@ -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. 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. 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
 
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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. 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. 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. 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. 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
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1
@@ -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.5
6
+ The version of the OpenAPI document: v0.0.1-alpha.6
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.1