ory-kratos-client 0.5.4.alpha1 → 0.5.5.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/docs/AdminApi.md +382 -143
  4. data/docs/CompleteSelfServiceLoginFlowWithPasswordMethod.md +12 -11
  5. data/docs/CompleteSelfServiceRecoveryFlowWithLinkMethod.md +10 -9
  6. data/docs/CompleteSelfServiceSettingsFlowWithPasswordMethod.md +10 -9
  7. data/docs/CompleteSelfServiceVerificationFlowWithLinkMethod.md +10 -9
  8. data/docs/CreateIdentity.md +10 -9
  9. data/docs/CreateRecoveryLink.md +10 -9
  10. data/docs/ErrorContainer.md +10 -9
  11. data/docs/FormField.md +20 -19
  12. data/docs/GenericError.md +8 -7
  13. data/docs/GenericErrorPayload.md +20 -19
  14. data/docs/HealthApi.md +50 -15
  15. data/docs/HealthNotReadyStatus.md +8 -7
  16. data/docs/HealthStatus.md +8 -7
  17. data/docs/Identity.md +18 -17
  18. data/docs/LoginFlow.md +24 -23
  19. data/docs/LoginFlowMethod.md +10 -9
  20. data/docs/LoginFlowMethodConfig.md +16 -15
  21. data/docs/LoginViaApiResponse.md +10 -9
  22. data/docs/Message.md +14 -13
  23. data/docs/PublicApi.md +707 -237
  24. data/docs/RecoveryAddress.md +12 -11
  25. data/docs/RecoveryFlow.md +24 -23
  26. data/docs/RecoveryFlowMethod.md +10 -9
  27. data/docs/RecoveryFlowMethodConfig.md +14 -13
  28. data/docs/RecoveryLink.md +10 -9
  29. data/docs/RegistrationFlow.md +22 -21
  30. data/docs/RegistrationFlowMethod.md +10 -9
  31. data/docs/RegistrationFlowMethodConfig.md +16 -15
  32. data/docs/RegistrationViaApiResponse.md +12 -11
  33. data/docs/RevokeSession.md +8 -7
  34. data/docs/Session.md +18 -17
  35. data/docs/SettingsFlow.md +26 -25
  36. data/docs/SettingsFlowMethod.md +10 -9
  37. data/docs/SettingsFlowMethodConfig.md +14 -13
  38. data/docs/SettingsViaApiResponse.md +10 -9
  39. data/docs/UpdateIdentity.md +10 -9
  40. data/docs/VerifiableAddress.md +18 -17
  41. data/docs/VerificationFlow.md +24 -23
  42. data/docs/VerificationFlowMethod.md +10 -9
  43. data/docs/VerificationFlowMethodConfig.md +14 -13
  44. data/docs/Version.md +8 -7
  45. data/docs/VersionApi.md +26 -9
  46. data/lib/ory-kratos-client.rb +2 -2
  47. data/lib/ory-kratos-client/api/admin_api.rb +58 -44
  48. data/lib/ory-kratos-client/api/health_api.rb +10 -8
  49. data/lib/ory-kratos-client/api/public_api.rb +113 -86
  50. data/lib/ory-kratos-client/api/version_api.rb +6 -5
  51. data/lib/ory-kratos-client/api_client.rb +50 -48
  52. data/lib/ory-kratos-client/api_error.rb +2 -2
  53. data/lib/ory-kratos-client/configuration.rb +34 -7
  54. data/lib/ory-kratos-client/models/complete_self_service_login_flow_with_password_method.rb +20 -8
  55. data/lib/ory-kratos-client/models/complete_self_service_recovery_flow_with_link_method.rb +20 -8
  56. data/lib/ory-kratos-client/models/complete_self_service_settings_flow_with_password_method.rb +20 -8
  57. data/lib/ory-kratos-client/models/complete_self_service_verification_flow_with_link_method.rb +20 -8
  58. data/lib/ory-kratos-client/models/create_identity.rb +20 -8
  59. data/lib/ory-kratos-client/models/create_recovery_link.rb +20 -8
  60. data/lib/ory-kratos-client/models/error_container.rb +20 -8
  61. data/lib/ory-kratos-client/models/form_field.rb +20 -8
  62. data/lib/ory-kratos-client/models/generic_error.rb +20 -8
  63. data/lib/ory-kratos-client/models/generic_error_payload.rb +20 -8
  64. data/lib/ory-kratos-client/models/health_not_ready_status.rb +20 -8
  65. data/lib/ory-kratos-client/models/health_status.rb +20 -8
  66. data/lib/ory-kratos-client/models/identity.rb +20 -8
  67. data/lib/ory-kratos-client/models/login_flow.rb +22 -10
  68. data/lib/ory-kratos-client/models/login_flow_method.rb +20 -8
  69. data/lib/ory-kratos-client/models/login_flow_method_config.rb +20 -8
  70. data/lib/ory-kratos-client/models/login_via_api_response.rb +20 -8
  71. data/lib/ory-kratos-client/models/message.rb +20 -8
  72. data/lib/ory-kratos-client/models/recovery_address.rb +20 -8
  73. data/lib/ory-kratos-client/models/recovery_flow.rb +22 -10
  74. data/lib/ory-kratos-client/models/recovery_flow_method.rb +20 -8
  75. data/lib/ory-kratos-client/models/recovery_flow_method_config.rb +20 -8
  76. data/lib/ory-kratos-client/models/recovery_link.rb +21 -9
  77. data/lib/ory-kratos-client/models/registration_flow.rb +22 -10
  78. data/lib/ory-kratos-client/models/registration_flow_method.rb +20 -8
  79. data/lib/ory-kratos-client/models/registration_flow_method_config.rb +20 -8
  80. data/lib/ory-kratos-client/models/registration_via_api_response.rb +20 -8
  81. data/lib/ory-kratos-client/models/revoke_session.rb +20 -8
  82. data/lib/ory-kratos-client/models/session.rb +23 -11
  83. data/lib/ory-kratos-client/models/settings_flow.rb +22 -10
  84. data/lib/ory-kratos-client/models/settings_flow_method.rb +20 -8
  85. data/lib/ory-kratos-client/models/settings_flow_method_config.rb +20 -8
  86. data/lib/ory-kratos-client/models/settings_via_api_response.rb +20 -8
  87. data/lib/ory-kratos-client/models/update_identity.rb +20 -8
  88. data/lib/ory-kratos-client/models/verifiable_address.rb +21 -9
  89. data/lib/ory-kratos-client/models/verification_flow.rb +22 -10
  90. data/lib/ory-kratos-client/models/verification_flow_method.rb +20 -8
  91. data/lib/ory-kratos-client/models/verification_flow_method_config.rb +20 -8
  92. data/lib/ory-kratos-client/models/version.rb +20 -8
  93. data/lib/ory-kratos-client/version.rb +3 -3
  94. data/ory-kratos-client.gemspec +4 -5
  95. data/spec/api_client_spec.rb +3 -3
  96. data/spec/configuration_spec.rb +2 -2
  97. data/spec/spec_helper.rb +2 -2
  98. metadata +48 -68
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Kratos HTTP API documentation!
5
5
 
6
- The version of the OpenAPI document: v0.5.4-alpha.1
6
+ The version of the OpenAPI document: v0.5.5-alpha.2
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
@@ -51,15 +51,16 @@ module OryHydraClient
51
51
  form_params = opts[:form_params] || {}
52
52
 
53
53
  # http body (model)
54
- post_body = opts[:body]
54
+ post_body = opts[:debug_body]
55
55
 
56
56
  # return_type
57
- return_type = opts[:return_type] || 'HealthStatus'
57
+ return_type = opts[:debug_return_type] || 'HealthStatus'
58
58
 
59
59
  # auth_names
60
- auth_names = opts[:auth_names] || []
60
+ auth_names = opts[:debug_auth_names] || []
61
61
 
62
62
  new_options = opts.merge(
63
+ :operation => :"HealthApi.is_instance_alive",
63
64
  :header_params => header_params,
64
65
  :query_params => query_params,
65
66
  :form_params => form_params,
@@ -107,15 +108,16 @@ module OryHydraClient
107
108
  form_params = opts[:form_params] || {}
108
109
 
109
110
  # http body (model)
110
- post_body = opts[:body]
111
+ post_body = opts[:debug_body]
111
112
 
112
113
  # return_type
113
- return_type = opts[:return_type] || 'HealthStatus'
114
+ return_type = opts[:debug_return_type] || 'HealthStatus'
114
115
 
115
116
  # auth_names
116
- auth_names = opts[:auth_names] || []
117
+ auth_names = opts[:debug_auth_names] || []
117
118
 
118
119
  new_options = opts.merge(
120
+ :operation => :"HealthApi.is_instance_ready",
119
121
  :header_params => header_params,
120
122
  :query_params => query_params,
121
123
  :form_params => form_params,
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Kratos HTTP API documentation!
5
5
 
6
- The version of the OpenAPI document: v0.5.4-alpha.1
6
+ The version of the OpenAPI document: v0.5.5-alpha.2
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
@@ -51,15 +51,16 @@ module OryHydraClient
51
51
  form_params = opts[:form_params] || {}
52
52
 
53
53
  # http body (model)
54
- post_body = opts[:body]
54
+ post_body = opts[:debug_body]
55
55
 
56
56
  # return_type
57
- return_type = opts[:return_type]
57
+ return_type = opts[:debug_return_type]
58
58
 
59
59
  # auth_names
60
- auth_names = opts[:auth_names] || []
60
+ auth_names = opts[:debug_auth_names] || []
61
61
 
62
62
  new_options = opts.merge(
63
+ :operation => :"PublicApi.complete_self_service_browser_settings_oidc_settings_flow",
63
64
  :header_params => header_params,
64
65
  :query_params => query_params,
65
66
  :form_params => form_params,
@@ -118,15 +119,16 @@ module OryHydraClient
118
119
  form_params = opts[:form_params] || {}
119
120
 
120
121
  # http body (model)
121
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
122
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
122
123
 
123
124
  # return_type
124
- return_type = opts[:return_type] || 'LoginViaApiResponse'
125
+ return_type = opts[:debug_return_type] || 'LoginViaApiResponse'
125
126
 
126
127
  # auth_names
127
- auth_names = opts[:auth_names] || []
128
+ auth_names = opts[:debug_auth_names] || []
128
129
 
129
130
  new_options = opts.merge(
131
+ :operation => :"PublicApi.complete_self_service_login_flow_with_password_method",
130
132
  :header_params => header_params,
131
133
  :query_params => query_params,
132
134
  :form_params => form_params,
@@ -184,15 +186,16 @@ module OryHydraClient
184
186
  form_params = opts[:form_params] || {}
185
187
 
186
188
  # http body (model)
187
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
189
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
188
190
 
189
191
  # return_type
190
- return_type = opts[:return_type]
192
+ return_type = opts[:debug_return_type]
191
193
 
192
194
  # auth_names
193
- auth_names = opts[:auth_names] || []
195
+ auth_names = opts[:debug_auth_names] || []
194
196
 
195
197
  new_options = opts.merge(
198
+ :operation => :"PublicApi.complete_self_service_recovery_flow_with_link_method",
196
199
  :header_params => header_params,
197
200
  :query_params => query_params,
198
201
  :form_params => form_params,
@@ -247,15 +250,16 @@ module OryHydraClient
247
250
  form_params = opts[:form_params] || {}
248
251
 
249
252
  # http body (model)
250
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'payload'])
253
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'payload'])
251
254
 
252
255
  # return_type
253
- return_type = opts[:return_type] || 'RegistrationViaApiResponse'
256
+ return_type = opts[:debug_return_type] || 'RegistrationViaApiResponse'
254
257
 
255
258
  # auth_names
256
- auth_names = opts[:auth_names] || []
259
+ auth_names = opts[:debug_auth_names] || []
257
260
 
258
261
  new_options = opts.merge(
262
+ :operation => :"PublicApi.complete_self_service_registration_flow_with_password_method",
259
263
  :header_params => header_params,
260
264
  :query_params => query_params,
261
265
  :form_params => form_params,
@@ -310,15 +314,16 @@ module OryHydraClient
310
314
  form_params = opts[:form_params] || {}
311
315
 
312
316
  # http body (model)
313
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
317
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
314
318
 
315
319
  # return_type
316
- return_type = opts[:return_type] || 'SettingsViaApiResponse'
320
+ return_type = opts[:debug_return_type] || 'SettingsViaApiResponse'
317
321
 
318
322
  # auth_names
319
- auth_names = opts[:auth_names] || ['sessionToken']
323
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
320
324
 
321
325
  new_options = opts.merge(
326
+ :operation => :"PublicApi.complete_self_service_settings_flow_with_password_method",
322
327
  :header_params => header_params,
323
328
  :query_params => query_params,
324
329
  :form_params => form_params,
@@ -373,15 +378,16 @@ module OryHydraClient
373
378
  form_params = opts[:form_params] || {}
374
379
 
375
380
  # http body (model)
376
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'payload'])
381
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'payload'])
377
382
 
378
383
  # return_type
379
- return_type = opts[:return_type] || 'SettingsFlow'
384
+ return_type = opts[:debug_return_type] || 'SettingsFlow'
380
385
 
381
386
  # auth_names
382
- auth_names = opts[:auth_names] || ['sessionToken']
387
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
383
388
 
384
389
  new_options = opts.merge(
390
+ :operation => :"PublicApi.complete_self_service_settings_flow_with_profile_method",
385
391
  :header_params => header_params,
386
392
  :query_params => query_params,
387
393
  :form_params => form_params,
@@ -439,15 +445,16 @@ module OryHydraClient
439
445
  form_params = opts[:form_params] || {}
440
446
 
441
447
  # http body (model)
442
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
448
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
443
449
 
444
450
  # return_type
445
- return_type = opts[:return_type]
451
+ return_type = opts[:debug_return_type]
446
452
 
447
453
  # auth_names
448
- auth_names = opts[:auth_names] || []
454
+ auth_names = opts[:debug_auth_names] || []
449
455
 
450
456
  new_options = opts.merge(
457
+ :operation => :"PublicApi.complete_self_service_verification_flow_with_link_method",
451
458
  :header_params => header_params,
452
459
  :query_params => query_params,
453
460
  :form_params => form_params,
@@ -499,15 +506,16 @@ module OryHydraClient
499
506
  form_params = opts[:form_params] || {}
500
507
 
501
508
  # http body (model)
502
- post_body = opts[:body]
509
+ post_body = opts[:debug_body]
503
510
 
504
511
  # return_type
505
- return_type = opts[:return_type] || 'Object'
512
+ return_type = opts[:debug_return_type] || 'Object'
506
513
 
507
514
  # auth_names
508
- auth_names = opts[:auth_names] || []
515
+ auth_names = opts[:debug_auth_names] || []
509
516
 
510
517
  new_options = opts.merge(
518
+ :operation => :"PublicApi.get_schema",
511
519
  :header_params => header_params,
512
520
  :query_params => query_params,
513
521
  :form_params => form_params,
@@ -562,15 +570,16 @@ module OryHydraClient
562
570
  form_params = opts[:form_params] || {}
563
571
 
564
572
  # http body (model)
565
- post_body = opts[:body]
573
+ post_body = opts[:debug_body]
566
574
 
567
575
  # return_type
568
- return_type = opts[:return_type] || 'ErrorContainer'
576
+ return_type = opts[:debug_return_type] || 'ErrorContainer'
569
577
 
570
578
  # auth_names
571
- auth_names = opts[:auth_names] || []
579
+ auth_names = opts[:debug_auth_names] || []
572
580
 
573
581
  new_options = opts.merge(
582
+ :operation => :"PublicApi.get_self_service_error",
574
583
  :header_params => header_params,
575
584
  :query_params => query_params,
576
585
  :form_params => form_params,
@@ -625,15 +634,16 @@ module OryHydraClient
625
634
  form_params = opts[:form_params] || {}
626
635
 
627
636
  # http body (model)
628
- post_body = opts[:body]
637
+ post_body = opts[:debug_body]
629
638
 
630
639
  # return_type
631
- return_type = opts[:return_type] || 'LoginFlow'
640
+ return_type = opts[:debug_return_type] || 'LoginFlow'
632
641
 
633
642
  # auth_names
634
- auth_names = opts[:auth_names] || []
643
+ auth_names = opts[:debug_auth_names] || []
635
644
 
636
645
  new_options = opts.merge(
646
+ :operation => :"PublicApi.get_self_service_login_flow",
637
647
  :header_params => header_params,
638
648
  :query_params => query_params,
639
649
  :form_params => form_params,
@@ -688,15 +698,16 @@ module OryHydraClient
688
698
  form_params = opts[:form_params] || {}
689
699
 
690
700
  # http body (model)
691
- post_body = opts[:body]
701
+ post_body = opts[:debug_body]
692
702
 
693
703
  # return_type
694
- return_type = opts[:return_type] || 'RecoveryFlow'
704
+ return_type = opts[:debug_return_type] || 'RecoveryFlow'
695
705
 
696
706
  # auth_names
697
- auth_names = opts[:auth_names] || []
707
+ auth_names = opts[:debug_auth_names] || []
698
708
 
699
709
  new_options = opts.merge(
710
+ :operation => :"PublicApi.get_self_service_recovery_flow",
700
711
  :header_params => header_params,
701
712
  :query_params => query_params,
702
713
  :form_params => form_params,
@@ -751,15 +762,16 @@ module OryHydraClient
751
762
  form_params = opts[:form_params] || {}
752
763
 
753
764
  # http body (model)
754
- post_body = opts[:body]
765
+ post_body = opts[:debug_body]
755
766
 
756
767
  # return_type
757
- return_type = opts[:return_type] || 'RegistrationFlow'
768
+ return_type = opts[:debug_return_type] || 'RegistrationFlow'
758
769
 
759
770
  # auth_names
760
- auth_names = opts[:auth_names] || []
771
+ auth_names = opts[:debug_auth_names] || []
761
772
 
762
773
  new_options = opts.merge(
774
+ :operation => :"PublicApi.get_self_service_registration_flow",
763
775
  :header_params => header_params,
764
776
  :query_params => query_params,
765
777
  :form_params => form_params,
@@ -814,15 +826,16 @@ module OryHydraClient
814
826
  form_params = opts[:form_params] || {}
815
827
 
816
828
  # http body (model)
817
- post_body = opts[:body]
829
+ post_body = opts[:debug_body]
818
830
 
819
831
  # return_type
820
- return_type = opts[:return_type] || 'SettingsFlow'
832
+ return_type = opts[:debug_return_type] || 'SettingsFlow'
821
833
 
822
834
  # auth_names
823
- auth_names = opts[:auth_names] || ['sessionToken']
835
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
824
836
 
825
837
  new_options = opts.merge(
838
+ :operation => :"PublicApi.get_self_service_settings_flow",
826
839
  :header_params => header_params,
827
840
  :query_params => query_params,
828
841
  :form_params => form_params,
@@ -877,15 +890,16 @@ module OryHydraClient
877
890
  form_params = opts[:form_params] || {}
878
891
 
879
892
  # http body (model)
880
- post_body = opts[:body]
893
+ post_body = opts[:debug_body]
881
894
 
882
895
  # return_type
883
- return_type = opts[:return_type] || 'VerificationFlow'
896
+ return_type = opts[:debug_return_type] || 'VerificationFlow'
884
897
 
885
898
  # auth_names
886
- auth_names = opts[:auth_names] || []
899
+ auth_names = opts[:debug_auth_names] || []
887
900
 
888
901
  new_options = opts.merge(
902
+ :operation => :"PublicApi.get_self_service_verification_flow",
889
903
  :header_params => header_params,
890
904
  :query_params => query_params,
891
905
  :form_params => form_params,
@@ -902,7 +916,7 @@ module OryHydraClient
902
916
  end
903
917
 
904
918
  # Initialize Browser-Based Logout User Flow
905
- # This endpoint initializes a logout flow. > This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). On successful logout, the browser will be redirected (HTTP 302 Found) to `urls.default_return_to`. More information can be found at [ORY Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
919
+ # This endpoint initializes a logout flow. > This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). On successful logout, the browser will be redirected (HTTP 302 Found) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. More information can be found at [ORY Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
906
920
  # @param [Hash] opts the optional parameters
907
921
  # @return [nil]
908
922
  def initialize_self_service_browser_logout_flow(opts = {})
@@ -911,7 +925,7 @@ module OryHydraClient
911
925
  end
912
926
 
913
927
  # Initialize Browser-Based Logout User Flow
914
- # This endpoint initializes a logout flow. > This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). On successful logout, the browser will be redirected (HTTP 302 Found) to `urls.default_return_to`. More information can be found at [ORY Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
928
+ # This endpoint initializes a logout flow. > This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). On successful logout, the browser will be redirected (HTTP 302 Found) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. More information can be found at [ORY Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
915
929
  # @param [Hash] opts the optional parameters
916
930
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
917
931
  def initialize_self_service_browser_logout_flow_with_http_info(opts = {})
@@ -933,15 +947,16 @@ module OryHydraClient
933
947
  form_params = opts[:form_params] || {}
934
948
 
935
949
  # http body (model)
936
- post_body = opts[:body]
950
+ post_body = opts[:debug_body]
937
951
 
938
952
  # return_type
939
- return_type = opts[:return_type]
953
+ return_type = opts[:debug_return_type]
940
954
 
941
955
  # auth_names
942
- auth_names = opts[:auth_names] || []
956
+ auth_names = opts[:debug_auth_names] || []
943
957
 
944
958
  new_options = opts.merge(
959
+ :operation => :"PublicApi.initialize_self_service_browser_logout_flow",
945
960
  :header_params => header_params,
946
961
  :query_params => query_params,
947
962
  :form_params => form_params,
@@ -992,15 +1007,16 @@ module OryHydraClient
992
1007
  form_params = opts[:form_params] || {}
993
1008
 
994
1009
  # http body (model)
995
- post_body = opts[:body]
1010
+ post_body = opts[:debug_body]
996
1011
 
997
1012
  # return_type
998
- return_type = opts[:return_type] || 'LoginFlow'
1013
+ return_type = opts[:debug_return_type] || 'LoginFlow'
999
1014
 
1000
1015
  # auth_names
1001
- auth_names = opts[:auth_names] || []
1016
+ auth_names = opts[:debug_auth_names] || []
1002
1017
 
1003
1018
  new_options = opts.merge(
1019
+ :operation => :"PublicApi.initialize_self_service_login_via_api_flow",
1004
1020
  :header_params => header_params,
1005
1021
  :query_params => query_params,
1006
1022
  :form_params => form_params,
@@ -1048,15 +1064,16 @@ module OryHydraClient
1048
1064
  form_params = opts[:form_params] || {}
1049
1065
 
1050
1066
  # http body (model)
1051
- post_body = opts[:body]
1067
+ post_body = opts[:debug_body]
1052
1068
 
1053
1069
  # return_type
1054
- return_type = opts[:return_type]
1070
+ return_type = opts[:debug_return_type]
1055
1071
 
1056
1072
  # auth_names
1057
- auth_names = opts[:auth_names] || []
1073
+ auth_names = opts[:debug_auth_names] || []
1058
1074
 
1059
1075
  new_options = opts.merge(
1076
+ :operation => :"PublicApi.initialize_self_service_login_via_browser_flow",
1060
1077
  :header_params => header_params,
1061
1078
  :query_params => query_params,
1062
1079
  :form_params => form_params,
@@ -1104,15 +1121,16 @@ module OryHydraClient
1104
1121
  form_params = opts[:form_params] || {}
1105
1122
 
1106
1123
  # http body (model)
1107
- post_body = opts[:body]
1124
+ post_body = opts[:debug_body]
1108
1125
 
1109
1126
  # return_type
1110
- return_type = opts[:return_type] || 'RecoveryFlow'
1127
+ return_type = opts[:debug_return_type] || 'RecoveryFlow'
1111
1128
 
1112
1129
  # auth_names
1113
- auth_names = opts[:auth_names] || []
1130
+ auth_names = opts[:debug_auth_names] || []
1114
1131
 
1115
1132
  new_options = opts.merge(
1133
+ :operation => :"PublicApi.initialize_self_service_recovery_via_api_flow",
1116
1134
  :header_params => header_params,
1117
1135
  :query_params => query_params,
1118
1136
  :form_params => form_params,
@@ -1160,15 +1178,16 @@ module OryHydraClient
1160
1178
  form_params = opts[:form_params] || {}
1161
1179
 
1162
1180
  # http body (model)
1163
- post_body = opts[:body]
1181
+ post_body = opts[:debug_body]
1164
1182
 
1165
1183
  # return_type
1166
- return_type = opts[:return_type]
1184
+ return_type = opts[:debug_return_type]
1167
1185
 
1168
1186
  # auth_names
1169
- auth_names = opts[:auth_names] || []
1187
+ auth_names = opts[:debug_auth_names] || []
1170
1188
 
1171
1189
  new_options = opts.merge(
1190
+ :operation => :"PublicApi.initialize_self_service_recovery_via_browser_flow",
1172
1191
  :header_params => header_params,
1173
1192
  :query_params => query_params,
1174
1193
  :form_params => form_params,
@@ -1216,15 +1235,16 @@ module OryHydraClient
1216
1235
  form_params = opts[:form_params] || {}
1217
1236
 
1218
1237
  # http body (model)
1219
- post_body = opts[:body]
1238
+ post_body = opts[:debug_body]
1220
1239
 
1221
1240
  # return_type
1222
- return_type = opts[:return_type] || 'RegistrationFlow'
1241
+ return_type = opts[:debug_return_type] || 'RegistrationFlow'
1223
1242
 
1224
1243
  # auth_names
1225
- auth_names = opts[:auth_names] || []
1244
+ auth_names = opts[:debug_auth_names] || []
1226
1245
 
1227
1246
  new_options = opts.merge(
1247
+ :operation => :"PublicApi.initialize_self_service_registration_via_api_flow",
1228
1248
  :header_params => header_params,
1229
1249
  :query_params => query_params,
1230
1250
  :form_params => form_params,
@@ -1272,15 +1292,16 @@ module OryHydraClient
1272
1292
  form_params = opts[:form_params] || {}
1273
1293
 
1274
1294
  # http body (model)
1275
- post_body = opts[:body]
1295
+ post_body = opts[:debug_body]
1276
1296
 
1277
1297
  # return_type
1278
- return_type = opts[:return_type]
1298
+ return_type = opts[:debug_return_type]
1279
1299
 
1280
1300
  # auth_names
1281
- auth_names = opts[:auth_names] || []
1301
+ auth_names = opts[:debug_auth_names] || []
1282
1302
 
1283
1303
  new_options = opts.merge(
1304
+ :operation => :"PublicApi.initialize_self_service_registration_via_browser_flow",
1284
1305
  :header_params => header_params,
1285
1306
  :query_params => query_params,
1286
1307
  :form_params => form_params,
@@ -1328,15 +1349,16 @@ module OryHydraClient
1328
1349
  form_params = opts[:form_params] || {}
1329
1350
 
1330
1351
  # http body (model)
1331
- post_body = opts[:body]
1352
+ post_body = opts[:debug_body]
1332
1353
 
1333
1354
  # return_type
1334
- return_type = opts[:return_type] || 'SettingsFlow'
1355
+ return_type = opts[:debug_return_type] || 'SettingsFlow'
1335
1356
 
1336
1357
  # auth_names
1337
- auth_names = opts[:auth_names] || ['sessionToken']
1358
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
1338
1359
 
1339
1360
  new_options = opts.merge(
1361
+ :operation => :"PublicApi.initialize_self_service_settings_via_api_flow",
1340
1362
  :header_params => header_params,
1341
1363
  :query_params => query_params,
1342
1364
  :form_params => form_params,
@@ -1370,7 +1392,7 @@ module OryHydraClient
1370
1392
  @api_client.config.logger.debug 'Calling API: PublicApi.initialize_self_service_settings_via_browser_flow ...'
1371
1393
  end
1372
1394
  # resource path
1373
- local_var_path = '/self-service/settings/browser/flows'
1395
+ local_var_path = '/self-service/settings/browser'
1374
1396
 
1375
1397
  # query parameters
1376
1398
  query_params = opts[:query_params] || {}
@@ -1384,15 +1406,16 @@ module OryHydraClient
1384
1406
  form_params = opts[:form_params] || {}
1385
1407
 
1386
1408
  # http body (model)
1387
- post_body = opts[:body]
1409
+ post_body = opts[:debug_body]
1388
1410
 
1389
1411
  # return_type
1390
- return_type = opts[:return_type]
1412
+ return_type = opts[:debug_return_type]
1391
1413
 
1392
1414
  # auth_names
1393
- auth_names = opts[:auth_names] || ['sessionToken']
1415
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
1394
1416
 
1395
1417
  new_options = opts.merge(
1418
+ :operation => :"PublicApi.initialize_self_service_settings_via_browser_flow",
1396
1419
  :header_params => header_params,
1397
1420
  :query_params => query_params,
1398
1421
  :form_params => form_params,
@@ -1440,15 +1463,16 @@ module OryHydraClient
1440
1463
  form_params = opts[:form_params] || {}
1441
1464
 
1442
1465
  # http body (model)
1443
- post_body = opts[:body]
1466
+ post_body = opts[:debug_body]
1444
1467
 
1445
1468
  # return_type
1446
- return_type = opts[:return_type] || 'VerificationFlow'
1469
+ return_type = opts[:debug_return_type] || 'VerificationFlow'
1447
1470
 
1448
1471
  # auth_names
1449
- auth_names = opts[:auth_names] || []
1472
+ auth_names = opts[:debug_auth_names] || []
1450
1473
 
1451
1474
  new_options = opts.merge(
1475
+ :operation => :"PublicApi.initialize_self_service_verification_via_api_flow",
1452
1476
  :header_params => header_params,
1453
1477
  :query_params => query_params,
1454
1478
  :form_params => form_params,
@@ -1496,15 +1520,16 @@ module OryHydraClient
1496
1520
  form_params = opts[:form_params] || {}
1497
1521
 
1498
1522
  # http body (model)
1499
- post_body = opts[:body]
1523
+ post_body = opts[:debug_body]
1500
1524
 
1501
1525
  # return_type
1502
- return_type = opts[:return_type]
1526
+ return_type = opts[:debug_return_type]
1503
1527
 
1504
1528
  # auth_names
1505
- auth_names = opts[:auth_names] || []
1529
+ auth_names = opts[:debug_auth_names] || []
1506
1530
 
1507
1531
  new_options = opts.merge(
1532
+ :operation => :"PublicApi.initialize_self_service_verification_via_browser_flow",
1508
1533
  :header_params => header_params,
1509
1534
  :query_params => query_params,
1510
1535
  :form_params => form_params,
@@ -1560,15 +1585,16 @@ module OryHydraClient
1560
1585
  form_params = opts[:form_params] || {}
1561
1586
 
1562
1587
  # http body (model)
1563
- post_body = opts[:body] || @api_client.object_to_http_body(body)
1588
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1564
1589
 
1565
1590
  # return_type
1566
- return_type = opts[:return_type]
1591
+ return_type = opts[:debug_return_type]
1567
1592
 
1568
1593
  # auth_names
1569
- auth_names = opts[:auth_names] || []
1594
+ auth_names = opts[:debug_auth_names] || []
1570
1595
 
1571
1596
  new_options = opts.merge(
1597
+ :operation => :"PublicApi.revoke_session",
1572
1598
  :header_params => header_params,
1573
1599
  :query_params => query_params,
1574
1600
  :form_params => form_params,
@@ -1622,15 +1648,16 @@ module OryHydraClient
1622
1648
  form_params = opts[:form_params] || {}
1623
1649
 
1624
1650
  # http body (model)
1625
- post_body = opts[:body]
1651
+ post_body = opts[:debug_body]
1626
1652
 
1627
1653
  # return_type
1628
- return_type = opts[:return_type] || 'Session'
1654
+ return_type = opts[:debug_return_type] || 'Session'
1629
1655
 
1630
1656
  # auth_names
1631
- auth_names = opts[:auth_names] || ['sessionToken']
1657
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
1632
1658
 
1633
1659
  new_options = opts.merge(
1660
+ :operation => :"PublicApi.whoami",
1634
1661
  :header_params => header_params,
1635
1662
  :query_params => query_params,
1636
1663
  :form_params => form_params,