ory-kratos-client 0.1.0.alpha5 → 0.3.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -11
  3. data/docs/AdminApi.md +116 -21
  4. data/docs/CommonApi.md +116 -21
  5. data/docs/CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload.md +19 -0
  6. data/docs/Form.md +3 -3
  7. data/docs/FormField.md +7 -7
  8. data/docs/GenericErrorPayload.md +1 -1
  9. data/docs/Identity.md +4 -2
  10. data/docs/LoginRequest.md +7 -5
  11. data/docs/LoginRequestMethod.md +2 -2
  12. data/docs/LoginRequestMethodConfig.md +10 -1
  13. data/docs/ProfileManagementRequest.md +7 -7
  14. data/docs/ProviderCredentialsConfig.md +19 -0
  15. data/docs/PublicApi.md +365 -39
  16. data/docs/RegistrationRequest.md +5 -5
  17. data/docs/RegistrationRequestMethodConfig.md +10 -1
  18. data/docs/RequestMethodConfig.md +23 -0
  19. data/docs/Session.md +5 -5
  20. data/docs/SettingsRequest.md +31 -0
  21. data/docs/SettingsRequestMethod.md +19 -0
  22. data/docs/VerifiableAddress.md +27 -0
  23. data/docs/VerificationRequest.md +29 -0
  24. data/lib/ory-kratos-client.rb +8 -3
  25. data/lib/ory-kratos-client/api/admin_api.rb +159 -36
  26. data/lib/ory-kratos-client/api/common_api.rb +159 -36
  27. data/lib/ory-kratos-client/api/health_api.rb +1 -1
  28. data/lib/ory-kratos-client/api/public_api.rb +493 -59
  29. data/lib/ory-kratos-client/api/version_api.rb +1 -1
  30. data/lib/ory-kratos-client/api_client.rb +1 -1
  31. data/lib/ory-kratos-client/api_error.rb +1 -1
  32. data/lib/ory-kratos-client/configuration.rb +1 -1
  33. data/lib/ory-kratos-client/models/complete_self_service_browser_profile_management_flow_payload.rb +1 -1
  34. data/lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb +222 -0
  35. data/lib/ory-kratos-client/models/error.rb +1 -1
  36. data/lib/ory-kratos-client/models/error_container.rb +1 -1
  37. data/lib/ory-kratos-client/models/form.rb +17 -2
  38. data/lib/ory-kratos-client/models/form_field.rb +18 -9
  39. data/lib/ory-kratos-client/models/generic_error.rb +1 -1
  40. data/lib/ory-kratos-client/models/generic_error_payload.rb +3 -4
  41. data/lib/ory-kratos-client/models/health_not_ready_status.rb +1 -1
  42. data/lib/ory-kratos-client/models/health_status.rb +1 -1
  43. data/lib/ory-kratos-client/models/identity.rb +18 -2
  44. data/lib/ory-kratos-client/models/login_request.rb +37 -2
  45. data/lib/ory-kratos-client/models/login_request_method.rb +11 -1
  46. data/lib/ory-kratos-client/models/login_request_method_config.rb +74 -3
  47. data/lib/ory-kratos-client/models/profile_management_request.rb +36 -1
  48. data/lib/ory-kratos-client/models/provider_credentials_config.rb +215 -0
  49. data/lib/ory-kratos-client/models/registration_request.rb +26 -1
  50. data/lib/ory-kratos-client/models/registration_request_method.rb +1 -1
  51. data/lib/ory-kratos-client/models/registration_request_method_config.rb +74 -3
  52. data/lib/ory-kratos-client/models/request_method_config.rb +256 -0
  53. data/lib/ory-kratos-client/models/session.rb +26 -1
  54. data/lib/ory-kratos-client/models/settings_request.rb +313 -0
  55. data/lib/ory-kratos-client/models/settings_request_method.rb +216 -0
  56. data/lib/ory-kratos-client/models/verifiable_address.rb +276 -0
  57. data/lib/ory-kratos-client/models/verification_request.rb +265 -0
  58. data/lib/ory-kratos-client/models/version.rb +1 -1
  59. data/lib/ory-kratos-client/version.rb +2 -2
  60. data/ory-kratos-client.gemspec +1 -1
  61. data/spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb +47 -0
  62. data/spec/models/provider_credentials_config_spec.rb +47 -0
  63. data/spec/models/request_method_config_spec.rb +59 -0
  64. data/spec/models/settings_request_method_spec.rb +47 -0
  65. data/spec/models/settings_request_spec.rb +83 -0
  66. data/spec/models/verifiable_address_spec.rb +71 -0
  67. data/spec/models/verification_request_spec.rb +77 -0
  68. metadata +43 -15
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.1.0.alpha5
4
+ version: 0.3.0.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-02-06 00:00:00.000000000 Z
11
+ date: 2020-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -83,6 +83,7 @@ files:
83
83
  - docs/AdminApi.md
84
84
  - docs/CommonApi.md
85
85
  - docs/CompleteSelfServiceBrowserProfileManagementFlowPayload.md
86
+ - docs/CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload.md
86
87
  - docs/Error.md
87
88
  - docs/ErrorContainer.md
88
89
  - docs/Form.md
@@ -99,11 +100,17 @@ files:
99
100
  - docs/OidcStrategyCredentialsConfig.md
100
101
  - docs/OidcStrategyRequestMethod.md
101
102
  - docs/ProfileManagementRequest.md
103
+ - docs/ProviderCredentialsConfig.md
102
104
  - docs/PublicApi.md
103
105
  - docs/RegistrationRequest.md
104
106
  - docs/RegistrationRequestMethod.md
105
107
  - docs/RegistrationRequestMethodConfig.md
108
+ - docs/RequestMethodConfig.md
106
109
  - docs/Session.md
110
+ - docs/SettingsRequest.md
111
+ - docs/SettingsRequestMethod.md
112
+ - docs/VerifiableAddress.md
113
+ - docs/VerificationRequest.md
107
114
  - docs/Version.md
108
115
  - docs/VersionApi.md
109
116
  - lib/ory-kratos-client.rb
@@ -116,6 +123,7 @@ files:
116
123
  - lib/ory-kratos-client/api_error.rb
117
124
  - lib/ory-kratos-client/configuration.rb
118
125
  - lib/ory-kratos-client/models/complete_self_service_browser_profile_management_flow_payload.rb
126
+ - lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb
119
127
  - lib/ory-kratos-client/models/error.rb
120
128
  - lib/ory-kratos-client/models/error_container.rb
121
129
  - lib/ory-kratos-client/models/form.rb
@@ -131,10 +139,16 @@ files:
131
139
  - lib/ory-kratos-client/models/oidc_strategy_credentials_config.rb
132
140
  - lib/ory-kratos-client/models/oidc_strategy_request_method.rb
133
141
  - lib/ory-kratos-client/models/profile_management_request.rb
142
+ - lib/ory-kratos-client/models/provider_credentials_config.rb
134
143
  - lib/ory-kratos-client/models/registration_request.rb
135
144
  - lib/ory-kratos-client/models/registration_request_method.rb
136
145
  - lib/ory-kratos-client/models/registration_request_method_config.rb
146
+ - lib/ory-kratos-client/models/request_method_config.rb
137
147
  - lib/ory-kratos-client/models/session.rb
148
+ - lib/ory-kratos-client/models/settings_request.rb
149
+ - lib/ory-kratos-client/models/settings_request_method.rb
150
+ - lib/ory-kratos-client/models/verifiable_address.rb
151
+ - lib/ory-kratos-client/models/verification_request.rb
138
152
  - lib/ory-kratos-client/models/version.rb
139
153
  - lib/ory-kratos-client/version.rb
140
154
  - ory-kratos-client.gemspec
@@ -146,6 +160,7 @@ files:
146
160
  - spec/api_client_spec.rb
147
161
  - spec/configuration_spec.rb
148
162
  - spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
163
+ - spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb
149
164
  - spec/models/error_container_spec.rb
150
165
  - spec/models/error_spec.rb
151
166
  - spec/models/form_field_spec.rb
@@ -161,10 +176,16 @@ files:
161
176
  - spec/models/oidc_strategy_credentials_config_spec.rb
162
177
  - spec/models/oidc_strategy_request_method_spec.rb
163
178
  - spec/models/profile_management_request_spec.rb
179
+ - spec/models/provider_credentials_config_spec.rb
164
180
  - spec/models/registration_request_method_config_spec.rb
165
181
  - spec/models/registration_request_method_spec.rb
166
182
  - spec/models/registration_request_spec.rb
183
+ - spec/models/request_method_config_spec.rb
167
184
  - spec/models/session_spec.rb
185
+ - spec/models/settings_request_method_spec.rb
186
+ - spec/models/settings_request_spec.rb
187
+ - spec/models/verifiable_address_spec.rb
188
+ - spec/models/verification_request_spec.rb
168
189
  - spec/models/version_spec.rb
169
190
  - spec/spec_helper.rb
170
191
  homepage: https://www.ory.sh
@@ -193,31 +214,38 @@ specification_version: 4
193
214
  summary: Ory Kratos Ruby Gem
194
215
  test_files:
195
216
  - spec/api/admin_api_spec.rb
217
+ - spec/api/health_api_spec.rb
196
218
  - spec/api/common_api_spec.rb
197
219
  - spec/api/public_api_spec.rb
198
- - spec/api/health_api_spec.rb
199
220
  - spec/api/version_api_spec.rb
200
221
  - spec/api_client_spec.rb
201
222
  - spec/configuration_spec.rb
202
- - spec/models/form_field_spec.rb
223
+ - spec/models/version_spec.rb
203
224
  - spec/models/profile_management_request_spec.rb
204
225
  - 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
205
231
  - spec/models/login_request_method_spec.rb
232
+ - 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
206
236
  - spec/models/identity_spec.rb
207
237
  - spec/models/error_spec.rb
238
+ - spec/models/generic_error_spec.rb
239
+ - spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb
240
+ - spec/models/verification_request_spec.rb
241
+ - spec/models/provider_credentials_config_spec.rb
242
+ - spec/models/settings_request_spec.rb
208
243
  - spec/models/registration_request_spec.rb
209
- - spec/models/health_status_spec.rb
210
- - spec/models/health_not_ready_status_spec.rb
211
- - spec/models/login_request_method_config_spec.rb
244
+ - spec/models/settings_request_method_spec.rb
212
245
  - spec/models/form_spec.rb
213
- - spec/models/generic_error_payload_spec.rb
246
+ - spec/models/verifiable_address_spec.rb
247
+ - spec/models/form_field_spec.rb
214
248
  - spec/models/registration_request_method_spec.rb
215
- - spec/models/generic_error_spec.rb
216
- - spec/models/registration_request_method_config_spec.rb
217
- - spec/models/error_container_spec.rb
218
249
  - spec/models/oidc_strategy_request_method_spec.rb
219
- - spec/models/login_request_spec.rb
220
- - spec/models/oidc_strategy_credentials_config_spec.rb
221
- - spec/models/session_spec.rb
222
- - spec/models/version_spec.rb
250
+ - spec/models/registration_request_method_config_spec.rb
223
251
  - spec/spec_helper.rb