ory-kratos-client 0.3.0.alpha1 → 0.4.6.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +14 -6
  4. data/docs/AdminApi.md +53 -5
  5. data/docs/CommonApi.md +53 -5
  6. data/docs/Form.md +2 -2
  7. data/docs/FormField.md +3 -3
  8. data/docs/GenericErrorPayload.md +1 -1
  9. data/docs/Identity.md +9 -7
  10. data/docs/LoginRequest.md +2 -0
  11. data/docs/LoginRequestMethodConfig.md +2 -2
  12. data/docs/Message.md +23 -0
  13. data/docs/PublicApi.md +153 -13
  14. data/docs/RecoveryAddress.md +21 -0
  15. data/docs/RecoveryRequest.md +31 -0
  16. data/docs/RecoveryRequestMethod.md +19 -0
  17. data/docs/RegistrationRequest.md +2 -0
  18. data/docs/RegistrationRequestMethodConfig.md +2 -2
  19. data/docs/RequestMethodConfig.md +2 -2
  20. data/docs/SettingsRequest.md +4 -2
  21. data/docs/VerificationRequest.md +2 -0
  22. data/lib/ory-kratos-client.rb +6 -3
  23. data/lib/ory-kratos-client/api/admin_api.rb +73 -10
  24. data/lib/ory-kratos-client/api/common_api.rb +73 -10
  25. data/lib/ory-kratos-client/api/health_api.rb +2 -2
  26. data/lib/ory-kratos-client/api/public_api.rb +198 -20
  27. data/lib/ory-kratos-client/api/version_api.rb +2 -2
  28. data/lib/ory-kratos-client/api_client.rb +9 -7
  29. data/lib/ory-kratos-client/api_error.rb +2 -2
  30. data/lib/ory-kratos-client/configuration.rb +2 -2
  31. data/lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb +2 -2
  32. data/lib/ory-kratos-client/models/error_container.rb +2 -2
  33. data/lib/ory-kratos-client/models/form.rb +14 -15
  34. data/lib/ory-kratos-client/models/form_field.rb +11 -11
  35. data/lib/ory-kratos-client/models/generic_error.rb +2 -2
  36. data/lib/ory-kratos-client/models/generic_error_payload.rb +4 -6
  37. data/lib/ory-kratos-client/models/health_not_ready_status.rb +2 -2
  38. data/lib/ory-kratos-client/models/health_status.rb +2 -2
  39. data/lib/ory-kratos-client/models/identity.rb +48 -35
  40. data/lib/ory-kratos-client/models/login_request.rb +14 -3
  41. data/lib/ory-kratos-client/models/login_request_method.rb +2 -2
  42. data/lib/ory-kratos-client/models/login_request_method_config.rb +14 -15
  43. data/lib/ory-kratos-client/models/message.rb +233 -0
  44. data/lib/ory-kratos-client/models/provider_credentials_config.rb +2 -2
  45. data/lib/ory-kratos-client/models/recovery_address.rb +239 -0
  46. data/lib/ory-kratos-client/models/recovery_request.rb +309 -0
  47. data/lib/ory-kratos-client/models/recovery_request_method.rb +216 -0
  48. data/lib/ory-kratos-client/models/registration_request.rb +14 -3
  49. data/lib/ory-kratos-client/models/registration_request_method.rb +2 -2
  50. data/lib/ory-kratos-client/models/registration_request_method_config.rb +14 -15
  51. data/lib/ory-kratos-client/models/request_method_config.rb +14 -15
  52. data/lib/ory-kratos-client/models/session.rb +2 -2
  53. data/lib/ory-kratos-client/models/settings_request.rb +23 -13
  54. data/lib/ory-kratos-client/models/settings_request_method.rb +2 -2
  55. data/lib/ory-kratos-client/models/verifiable_address.rb +2 -2
  56. data/lib/ory-kratos-client/models/verification_request.rb +14 -3
  57. data/lib/ory-kratos-client/models/version.rb +2 -2
  58. data/lib/ory-kratos-client/version.rb +3 -3
  59. data/ory-kratos-client.gemspec +2 -2
  60. data/spec/models/message_spec.rb +59 -0
  61. data/spec/models/recovery_address_spec.rb +53 -0
  62. data/spec/models/recovery_request_method_spec.rb +47 -0
  63. data/spec/models/recovery_request_spec.rb +83 -0
  64. metadata +40 -24
@@ -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: latest
6
+ The version of the OpenAPI document: v0.4.6-alpha.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,13 +3,13 @@
3
3
 
4
4
  #Welcome to the ORY Kratos HTTP API documentation!
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: 0.4.6.alpha1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module OryHydraClient
14
- VERSION = '0.3.0.alpha1'
14
+ VERSION = '0.4.6.alpha1'
15
15
  end
@@ -5,10 +5,10 @@
5
5
 
6
6
  #Welcome to the ORY Kratos HTTP API documentation!
7
7
 
8
- The version of the OpenAPI document: latest
8
+ The version of the OpenAPI document: v0.4.6-alpha.1
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.3
11
+ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  =end
14
14
 
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Ory Kratos
3
+
4
+ #Welcome to the ORY Kratos HTTP API documentation!
5
+
6
+ The version of the OpenAPI document: v0.4.6-alpha.1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::Message
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'Message' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::Message.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Message' do
31
+ it 'should create an instance of Message' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::Message)
33
+ end
34
+ end
35
+ describe 'test attribute "context"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "id"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "text"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "type"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Ory Kratos
3
+
4
+ #Welcome to the ORY Kratos HTTP API documentation!
5
+
6
+ The version of the OpenAPI document: v0.4.6-alpha.1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::RecoveryAddress
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RecoveryAddress' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::RecoveryAddress.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RecoveryAddress' do
31
+ it 'should create an instance of RecoveryAddress' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::RecoveryAddress)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "via"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Ory Kratos
3
+
4
+ #Welcome to the ORY Kratos HTTP API documentation!
5
+
6
+ The version of the OpenAPI document: v0.4.6-alpha.1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::RecoveryRequestMethod
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RecoveryRequestMethod' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::RecoveryRequestMethod.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RecoveryRequestMethod' do
31
+ it 'should create an instance of RecoveryRequestMethod' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::RecoveryRequestMethod)
33
+ end
34
+ end
35
+ describe 'test attribute "config"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "method"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ #Ory Kratos
3
+
4
+ #Welcome to the ORY Kratos HTTP API documentation!
5
+
6
+ The version of the OpenAPI document: v0.4.6-alpha.1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::RecoveryRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RecoveryRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::RecoveryRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RecoveryRequest' do
31
+ it 'should create an instance of RecoveryRequest' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::RecoveryRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "active"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "expires_at"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "issued_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "messages"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "methods"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "request_url"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "state"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ory-kratos-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.alpha1
4
+ version: 0.4.6.alpha1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ORY GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-15 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -97,11 +97,15 @@ files:
97
97
  - docs/LoginRequest.md
98
98
  - docs/LoginRequestMethod.md
99
99
  - docs/LoginRequestMethodConfig.md
100
+ - docs/Message.md
100
101
  - docs/OidcStrategyCredentialsConfig.md
101
102
  - docs/OidcStrategyRequestMethod.md
102
103
  - docs/ProfileManagementRequest.md
103
104
  - docs/ProviderCredentialsConfig.md
104
105
  - docs/PublicApi.md
106
+ - docs/RecoveryAddress.md
107
+ - docs/RecoveryRequest.md
108
+ - docs/RecoveryRequestMethod.md
105
109
  - docs/RegistrationRequest.md
106
110
  - docs/RegistrationRequestMethod.md
107
111
  - docs/RegistrationRequestMethodConfig.md
@@ -136,10 +140,14 @@ files:
136
140
  - lib/ory-kratos-client/models/login_request.rb
137
141
  - lib/ory-kratos-client/models/login_request_method.rb
138
142
  - lib/ory-kratos-client/models/login_request_method_config.rb
143
+ - lib/ory-kratos-client/models/message.rb
139
144
  - lib/ory-kratos-client/models/oidc_strategy_credentials_config.rb
140
145
  - lib/ory-kratos-client/models/oidc_strategy_request_method.rb
141
146
  - lib/ory-kratos-client/models/profile_management_request.rb
142
147
  - lib/ory-kratos-client/models/provider_credentials_config.rb
148
+ - lib/ory-kratos-client/models/recovery_address.rb
149
+ - lib/ory-kratos-client/models/recovery_request.rb
150
+ - lib/ory-kratos-client/models/recovery_request_method.rb
143
151
  - lib/ory-kratos-client/models/registration_request.rb
144
152
  - lib/ory-kratos-client/models/registration_request_method.rb
145
153
  - lib/ory-kratos-client/models/registration_request_method_config.rb
@@ -173,10 +181,14 @@ files:
173
181
  - spec/models/login_request_method_config_spec.rb
174
182
  - spec/models/login_request_method_spec.rb
175
183
  - spec/models/login_request_spec.rb
184
+ - spec/models/message_spec.rb
176
185
  - spec/models/oidc_strategy_credentials_config_spec.rb
177
186
  - spec/models/oidc_strategy_request_method_spec.rb
178
187
  - spec/models/profile_management_request_spec.rb
179
188
  - spec/models/provider_credentials_config_spec.rb
189
+ - spec/models/recovery_address_spec.rb
190
+ - spec/models/recovery_request_method_spec.rb
191
+ - spec/models/recovery_request_spec.rb
180
192
  - spec/models/registration_request_method_config_spec.rb
181
193
  - spec/models/registration_request_method_spec.rb
182
194
  - spec/models/registration_request_spec.rb
@@ -213,39 +225,43 @@ signing_key:
213
225
  specification_version: 4
214
226
  summary: Ory Kratos Ruby Gem
215
227
  test_files:
216
- - spec/api/admin_api_spec.rb
217
- - spec/api/health_api_spec.rb
218
- - spec/api/common_api_spec.rb
219
- - spec/api/public_api_spec.rb
220
228
  - spec/api/version_api_spec.rb
229
+ - spec/api/public_api_spec.rb
230
+ - spec/api/common_api_spec.rb
231
+ - spec/api/health_api_spec.rb
232
+ - spec/api/admin_api_spec.rb
221
233
  - spec/api_client_spec.rb
222
234
  - spec/configuration_spec.rb
235
+ - spec/models/recovery_address_spec.rb
236
+ - spec/models/login_request_spec.rb
237
+ - spec/models/registration_request_method_config_spec.rb
223
238
  - spec/models/version_spec.rb
224
- - spec/models/profile_management_request_spec.rb
225
239
  - spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
226
- - spec/models/health_status_spec.rb
227
- - spec/models/health_not_ready_status_spec.rb
228
- - spec/models/login_request_spec.rb
229
- - spec/models/generic_error_payload_spec.rb
230
- - spec/models/login_request_method_config_spec.rb
231
- - spec/models/login_request_method_spec.rb
232
240
  - spec/models/error_container_spec.rb
233
- - spec/models/session_spec.rb
234
- - spec/models/oidc_strategy_credentials_config_spec.rb
235
- - spec/models/request_method_config_spec.rb
236
- - spec/models/identity_spec.rb
241
+ - spec/models/profile_management_request_spec.rb
242
+ - spec/models/settings_request_spec.rb
237
243
  - spec/models/error_spec.rb
244
+ - spec/models/login_request_method_spec.rb
245
+ - spec/models/recovery_request_method_spec.rb
238
246
  - spec/models/generic_error_spec.rb
239
- - spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb
247
+ - spec/models/session_spec.rb
248
+ - spec/models/login_request_method_config_spec.rb
249
+ - spec/models/identity_spec.rb
240
250
  - spec/models/verification_request_spec.rb
241
- - spec/models/provider_credentials_config_spec.rb
242
- - spec/models/settings_request_spec.rb
243
- - spec/models/registration_request_spec.rb
244
- - spec/models/settings_request_method_spec.rb
245
251
  - spec/models/form_spec.rb
252
+ - spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb
253
+ - spec/models/settings_request_method_spec.rb
254
+ - spec/models/registration_request_method_spec.rb
255
+ - spec/models/provider_credentials_config_spec.rb
246
256
  - spec/models/verifiable_address_spec.rb
257
+ - spec/models/registration_request_spec.rb
258
+ - spec/models/generic_error_payload_spec.rb
247
259
  - spec/models/form_field_spec.rb
248
- - spec/models/registration_request_method_spec.rb
260
+ - spec/models/oidc_strategy_credentials_config_spec.rb
249
261
  - spec/models/oidc_strategy_request_method_spec.rb
250
- - spec/models/registration_request_method_config_spec.rb
262
+ - spec/models/health_not_ready_status_spec.rb
263
+ - spec/models/request_method_config_spec.rb
264
+ - spec/models/health_status_spec.rb
265
+ - spec/models/message_spec.rb
266
+ - spec/models/recovery_request_spec.rb
251
267
  - spec/spec_helper.rb