ory-kratos-client 0.1.0.alpha6 → 0.4.6.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +31 -15
- data/docs/AdminApi.md +111 -16
- data/docs/CommonApi.md +111 -16
- data/docs/CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload.md +19 -0
- data/docs/Form.md +3 -3
- data/docs/FormField.md +8 -8
- data/docs/GenericErrorPayload.md +1 -1
- data/docs/Identity.md +9 -7
- data/docs/LoginRequest.md +4 -0
- data/docs/LoginRequestMethodConfig.md +3 -3
- data/docs/Message.md +23 -0
- data/docs/ProviderCredentialsConfig.md +19 -0
- data/docs/PublicApi.md +327 -50
- data/docs/RecoveryAddress.md +21 -0
- data/docs/RecoveryRequest.md +31 -0
- data/docs/RecoveryRequestMethod.md +19 -0
- data/docs/RegistrationRequest.md +3 -1
- data/docs/RegistrationRequestMethodConfig.md +3 -3
- data/docs/RequestMethodConfig.md +23 -0
- data/docs/SettingsRequest.md +33 -0
- data/docs/SettingsRequestMethod.md +19 -0
- data/docs/VerifiableAddress.md +1 -1
- data/docs/VerificationRequest.md +3 -1
- data/lib/ory-kratos-client.rb +11 -5
- data/lib/ory-kratos-client/api/admin_api.rb +150 -27
- data/lib/ory-kratos-client/api/common_api.rb +150 -27
- data/lib/ory-kratos-client/api/health_api.rb +2 -2
- data/lib/ory-kratos-client/api/public_api.rb +433 -71
- data/lib/ory-kratos-client/api/version_api.rb +2 -2
- data/lib/ory-kratos-client/api_client.rb +9 -7
- data/lib/ory-kratos-client/api_error.rb +2 -2
- data/lib/ory-kratos-client/configuration.rb +2 -2
- data/lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb +222 -0
- data/lib/ory-kratos-client/models/error_container.rb +2 -2
- data/lib/ory-kratos-client/models/form.rb +15 -16
- data/lib/ory-kratos-client/models/form_field.rb +16 -22
- data/lib/ory-kratos-client/models/generic_error.rb +2 -2
- data/lib/ory-kratos-client/models/generic_error_payload.rb +4 -7
- data/lib/ory-kratos-client/models/health_not_ready_status.rb +2 -2
- data/lib/ory-kratos-client/models/health_status.rb +2 -2
- data/lib/ory-kratos-client/models/identity.rb +48 -35
- data/lib/ory-kratos-client/models/login_request.rb +24 -3
- data/lib/ory-kratos-client/models/login_request_method.rb +2 -2
- data/lib/ory-kratos-client/models/login_request_method_config.rb +15 -16
- data/lib/ory-kratos-client/models/message.rb +233 -0
- data/lib/ory-kratos-client/models/provider_credentials_config.rb +215 -0
- data/lib/ory-kratos-client/models/recovery_address.rb +239 -0
- data/lib/ory-kratos-client/models/recovery_request.rb +309 -0
- data/lib/ory-kratos-client/models/recovery_request_method.rb +216 -0
- data/lib/ory-kratos-client/models/registration_request.rb +14 -8
- data/lib/ory-kratos-client/models/registration_request_method.rb +2 -2
- data/lib/ory-kratos-client/models/registration_request_method_config.rb +15 -16
- data/lib/ory-kratos-client/models/request_method_config.rb +255 -0
- data/lib/ory-kratos-client/models/session.rb +2 -2
- data/lib/ory-kratos-client/models/settings_request.rb +323 -0
- data/lib/ory-kratos-client/models/settings_request_method.rb +216 -0
- data/lib/ory-kratos-client/models/verifiable_address.rb +2 -7
- data/lib/ory-kratos-client/models/verification_request.rb +15 -4
- data/lib/ory-kratos-client/models/version.rb +2 -2
- data/lib/ory-kratos-client/version.rb +3 -3
- data/ory-kratos-client.gemspec +2 -2
- data/spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb +47 -0
- data/spec/models/message_spec.rb +59 -0
- data/spec/models/provider_credentials_config_spec.rb +47 -0
- data/spec/models/recovery_address_spec.rb +53 -0
- data/spec/models/recovery_request_method_spec.rb +47 -0
- data/spec/models/recovery_request_spec.rb +83 -0
- data/spec/models/request_method_config_spec.rb +59 -0
- data/spec/models/settings_request_method_spec.rb +47 -0
- data/spec/models/settings_request_spec.rb +83 -0
- metadata +55 -19
@@ -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: latest
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OryHydraClient::RequestMethodConfig
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'RequestMethodConfig' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OryHydraClient::RequestMethodConfig.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of RequestMethodConfig' do
|
31
|
+
it 'should create an instance of RequestMethodConfig' do
|
32
|
+
expect(@instance).to be_instance_of(OryHydraClient::RequestMethodConfig)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "action"' 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 "errors"' 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 "fields"' 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 "method"' 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,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Ory Kratos
|
3
|
+
|
4
|
+
#Welcome to the ORY Kratos HTTP API documentation!
|
5
|
+
|
6
|
+
The version of the OpenAPI document: latest
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OryHydraClient::SettingsRequestMethod
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SettingsRequestMethod' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OryHydraClient::SettingsRequestMethod.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SettingsRequestMethod' do
|
31
|
+
it 'should create an instance of SettingsRequestMethod' do
|
32
|
+
expect(@instance).to be_instance_of(OryHydraClient::SettingsRequestMethod)
|
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: latest
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OryHydraClient::SettingsRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SettingsRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OryHydraClient::SettingsRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SettingsRequest' do
|
31
|
+
it 'should create an instance of SettingsRequest' do
|
32
|
+
expect(@instance).to be_instance_of(OryHydraClient::SettingsRequest)
|
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 "identity"' 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 "issued_at"' 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 "update_successful"' 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.
|
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-
|
11
|
+
date: 2020-07-13 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
|
@@ -96,14 +97,22 @@ files:
|
|
96
97
|
- docs/LoginRequest.md
|
97
98
|
- docs/LoginRequestMethod.md
|
98
99
|
- docs/LoginRequestMethodConfig.md
|
100
|
+
- docs/Message.md
|
99
101
|
- docs/OidcStrategyCredentialsConfig.md
|
100
102
|
- docs/OidcStrategyRequestMethod.md
|
101
103
|
- docs/ProfileManagementRequest.md
|
104
|
+
- docs/ProviderCredentialsConfig.md
|
102
105
|
- docs/PublicApi.md
|
106
|
+
- docs/RecoveryAddress.md
|
107
|
+
- docs/RecoveryRequest.md
|
108
|
+
- docs/RecoveryRequestMethod.md
|
103
109
|
- docs/RegistrationRequest.md
|
104
110
|
- docs/RegistrationRequestMethod.md
|
105
111
|
- docs/RegistrationRequestMethodConfig.md
|
112
|
+
- docs/RequestMethodConfig.md
|
106
113
|
- docs/Session.md
|
114
|
+
- docs/SettingsRequest.md
|
115
|
+
- docs/SettingsRequestMethod.md
|
107
116
|
- docs/VerifiableAddress.md
|
108
117
|
- docs/VerificationRequest.md
|
109
118
|
- docs/Version.md
|
@@ -118,6 +127,7 @@ files:
|
|
118
127
|
- lib/ory-kratos-client/api_error.rb
|
119
128
|
- lib/ory-kratos-client/configuration.rb
|
120
129
|
- lib/ory-kratos-client/models/complete_self_service_browser_profile_management_flow_payload.rb
|
130
|
+
- lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb
|
121
131
|
- lib/ory-kratos-client/models/error.rb
|
122
132
|
- lib/ory-kratos-client/models/error_container.rb
|
123
133
|
- lib/ory-kratos-client/models/form.rb
|
@@ -130,13 +140,21 @@ files:
|
|
130
140
|
- lib/ory-kratos-client/models/login_request.rb
|
131
141
|
- lib/ory-kratos-client/models/login_request_method.rb
|
132
142
|
- lib/ory-kratos-client/models/login_request_method_config.rb
|
143
|
+
- lib/ory-kratos-client/models/message.rb
|
133
144
|
- lib/ory-kratos-client/models/oidc_strategy_credentials_config.rb
|
134
145
|
- lib/ory-kratos-client/models/oidc_strategy_request_method.rb
|
135
146
|
- lib/ory-kratos-client/models/profile_management_request.rb
|
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
|
136
151
|
- lib/ory-kratos-client/models/registration_request.rb
|
137
152
|
- lib/ory-kratos-client/models/registration_request_method.rb
|
138
153
|
- lib/ory-kratos-client/models/registration_request_method_config.rb
|
154
|
+
- lib/ory-kratos-client/models/request_method_config.rb
|
139
155
|
- lib/ory-kratos-client/models/session.rb
|
156
|
+
- lib/ory-kratos-client/models/settings_request.rb
|
157
|
+
- lib/ory-kratos-client/models/settings_request_method.rb
|
140
158
|
- lib/ory-kratos-client/models/verifiable_address.rb
|
141
159
|
- lib/ory-kratos-client/models/verification_request.rb
|
142
160
|
- lib/ory-kratos-client/models/version.rb
|
@@ -150,6 +168,7 @@ files:
|
|
150
168
|
- spec/api_client_spec.rb
|
151
169
|
- spec/configuration_spec.rb
|
152
170
|
- spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
|
171
|
+
- spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb
|
153
172
|
- spec/models/error_container_spec.rb
|
154
173
|
- spec/models/error_spec.rb
|
155
174
|
- spec/models/form_field_spec.rb
|
@@ -162,13 +181,21 @@ files:
|
|
162
181
|
- spec/models/login_request_method_config_spec.rb
|
163
182
|
- spec/models/login_request_method_spec.rb
|
164
183
|
- spec/models/login_request_spec.rb
|
184
|
+
- spec/models/message_spec.rb
|
165
185
|
- spec/models/oidc_strategy_credentials_config_spec.rb
|
166
186
|
- spec/models/oidc_strategy_request_method_spec.rb
|
167
187
|
- spec/models/profile_management_request_spec.rb
|
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
|
168
192
|
- spec/models/registration_request_method_config_spec.rb
|
169
193
|
- spec/models/registration_request_method_spec.rb
|
170
194
|
- spec/models/registration_request_spec.rb
|
195
|
+
- spec/models/request_method_config_spec.rb
|
171
196
|
- spec/models/session_spec.rb
|
197
|
+
- spec/models/settings_request_method_spec.rb
|
198
|
+
- spec/models/settings_request_spec.rb
|
172
199
|
- spec/models/verifiable_address_spec.rb
|
173
200
|
- spec/models/verification_request_spec.rb
|
174
201
|
- spec/models/version_spec.rb
|
@@ -199,33 +226,42 @@ specification_version: 4
|
|
199
226
|
summary: Ory Kratos Ruby Gem
|
200
227
|
test_files:
|
201
228
|
- spec/api/version_api_spec.rb
|
229
|
+
- spec/api/public_api_spec.rb
|
202
230
|
- spec/api/common_api_spec.rb
|
203
|
-
- spec/api/admin_api_spec.rb
|
204
231
|
- spec/api/health_api_spec.rb
|
205
|
-
- spec/api/
|
232
|
+
- spec/api/admin_api_spec.rb
|
206
233
|
- spec/api_client_spec.rb
|
207
234
|
- spec/configuration_spec.rb
|
208
|
-
- spec/models/
|
209
|
-
- spec/models/
|
210
|
-
- spec/models/verification_request_spec.rb
|
235
|
+
- spec/models/recovery_address_spec.rb
|
236
|
+
- spec/models/login_request_spec.rb
|
211
237
|
- spec/models/registration_request_method_config_spec.rb
|
238
|
+
- spec/models/version_spec.rb
|
239
|
+
- spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
|
240
|
+
- spec/models/error_container_spec.rb
|
241
|
+
- spec/models/profile_management_request_spec.rb
|
242
|
+
- spec/models/settings_request_spec.rb
|
212
243
|
- spec/models/error_spec.rb
|
244
|
+
- spec/models/login_request_method_spec.rb
|
245
|
+
- spec/models/recovery_request_method_spec.rb
|
246
|
+
- spec/models/generic_error_spec.rb
|
247
|
+
- spec/models/session_spec.rb
|
213
248
|
- spec/models/login_request_method_config_spec.rb
|
214
|
-
- spec/models/health_not_ready_status_spec.rb
|
215
|
-
- spec/models/version_spec.rb
|
216
|
-
- spec/models/login_request_spec.rb
|
217
|
-
- spec/models/oidc_strategy_request_method_spec.rb
|
218
249
|
- spec/models/identity_spec.rb
|
250
|
+
- spec/models/verification_request_spec.rb
|
219
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
|
256
|
+
- spec/models/verifiable_address_spec.rb
|
220
257
|
- spec/models/registration_request_spec.rb
|
221
|
-
- spec/models/
|
222
|
-
- spec/models/session_spec.rb
|
258
|
+
- spec/models/generic_error_payload_spec.rb
|
223
259
|
- spec/models/form_field_spec.rb
|
224
260
|
- spec/models/oidc_strategy_credentials_config_spec.rb
|
225
|
-
- spec/models/
|
226
|
-
- spec/models/
|
227
|
-
- spec/models/
|
228
|
-
- spec/models/
|
229
|
-
- spec/models/
|
230
|
-
- spec/models/
|
261
|
+
- spec/models/oidc_strategy_request_method_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
|
231
267
|
- spec/spec_helper.rb
|