ory-kratos-client 0.0.3.alpha10 → 0.0.3.alpha11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FormField.md +5 -1
- data/lib/ory-kratos-client/models/form_field.rb +21 -1
- data/lib/ory-kratos-client/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 988f4ed65fcd1e86e89103144dd44ecb978111b075bc33d630a93b28c6ad921e
|
4
|
+
data.tar.gz: 79a3ae08cc9aa5c4cf3ce8158818b2d183b8bd5a9d05dc160e7cef746f5688bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 318c73c673adede73a8948a880ab8a76c902f5e7395d0c067abcdb8a5f3c47f5a5bc011d0c5268781a3c70eed92d09cceda8c92475efe95e910e593666d17050
|
7
|
+
data.tar.gz: e3e0f99c7d25f9043128d5d2e7b0cf75fb0222e230602944a1fe4af2cf70ef78e4b1679551379e0088d05582341cc91405293f60112216c916ac138723433c2e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Welcome to the ORY Kratos HTTP API documentation!
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: latest
|
10
|
-
- Package version: v0.0.3-alpha.
|
10
|
+
- Package version: v0.0.3-alpha.11
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build ory-kratos-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./ory-kratos-client-v0.0.3-alpha.
|
26
|
+
gem install ./ory-kratos-client-v0.0.3-alpha.11.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./ory-kratos-client-v0.0.3-alpha.
|
29
|
+
(for development, run `gem install --dev ./ory-kratos-client-v0.0.3-alpha.11.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ory-kratos-client', '~> v0.0.3-alpha.
|
35
|
+
gem 'ory-kratos-client', '~> v0.0.3-alpha.11'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/FormField.md
CHANGED
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**disabled** | **String** | Disabled is the equivalent of <input disabled=\"{{.Disabled}}\"> | [optional]
|
7
8
|
**errors** | [**Array<Error>**](Error.md) | Errors contains all validation errors this particular field has caused. | [optional]
|
8
9
|
**name** | **String** | Name is the equivalent of <input name=\"{{.Name}}\"> | [optional]
|
10
|
+
**pattern** | **String** | Pattern is the equivalent of <input pattern=\"{{.Pattern}}\"> | [optional]
|
9
11
|
**required** | **Boolean** | Required is the equivalent of <input required=\"{{.Required}}\"> | [optional]
|
10
12
|
**type** | **String** | Type is the equivalent of <input type=\"{{.Type}}\"> | [optional]
|
11
13
|
**value** | [**Object**](.md) | Value is the equivalent of <input value=\"{{.Value}}\"> | [optional]
|
@@ -15,8 +17,10 @@ Name | Type | Description | Notes
|
|
15
17
|
```ruby
|
16
18
|
require 'OryHydraClient'
|
17
19
|
|
18
|
-
instance = OryHydraClient::FormField.new(
|
20
|
+
instance = OryHydraClient::FormField.new(disabled: null,
|
21
|
+
errors: null,
|
19
22
|
name: null,
|
23
|
+
pattern: null,
|
20
24
|
required: null,
|
21
25
|
type: null,
|
22
26
|
value: null)
|
@@ -15,12 +15,18 @@ require 'date'
|
|
15
15
|
module OryHydraClient
|
16
16
|
# Field represents a HTML Form Field
|
17
17
|
class FormField
|
18
|
+
# Disabled is the equivalent of <input disabled=\"{{.Disabled}}\">
|
19
|
+
attr_accessor :disabled
|
20
|
+
|
18
21
|
# Errors contains all validation errors this particular field has caused.
|
19
22
|
attr_accessor :errors
|
20
23
|
|
21
24
|
# Name is the equivalent of <input name=\"{{.Name}}\">
|
22
25
|
attr_accessor :name
|
23
26
|
|
27
|
+
# Pattern is the equivalent of <input pattern=\"{{.Pattern}}\">
|
28
|
+
attr_accessor :pattern
|
29
|
+
|
24
30
|
# Required is the equivalent of <input required=\"{{.Required}}\">
|
25
31
|
attr_accessor :required
|
26
32
|
|
@@ -33,8 +39,10 @@ module OryHydraClient
|
|
33
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
40
|
def self.attribute_map
|
35
41
|
{
|
42
|
+
:'disabled' => :'disabled',
|
36
43
|
:'errors' => :'errors',
|
37
44
|
:'name' => :'name',
|
45
|
+
:'pattern' => :'pattern',
|
38
46
|
:'required' => :'required',
|
39
47
|
:'type' => :'type',
|
40
48
|
:'value' => :'value'
|
@@ -44,8 +52,10 @@ module OryHydraClient
|
|
44
52
|
# Attribute type mapping.
|
45
53
|
def self.openapi_types
|
46
54
|
{
|
55
|
+
:'disabled' => :'String',
|
47
56
|
:'errors' => :'Array<Error>',
|
48
57
|
:'name' => :'String',
|
58
|
+
:'pattern' => :'String',
|
49
59
|
:'required' => :'Boolean',
|
50
60
|
:'type' => :'String',
|
51
61
|
:'value' => :'Object'
|
@@ -73,6 +83,10 @@ module OryHydraClient
|
|
73
83
|
h[k.to_sym] = v
|
74
84
|
}
|
75
85
|
|
86
|
+
if attributes.key?(:'disabled')
|
87
|
+
self.disabled = attributes[:'disabled']
|
88
|
+
end
|
89
|
+
|
76
90
|
if attributes.key?(:'errors')
|
77
91
|
if (value = attributes[:'errors']).is_a?(Array)
|
78
92
|
self.errors = value
|
@@ -83,6 +97,10 @@ module OryHydraClient
|
|
83
97
|
self.name = attributes[:'name']
|
84
98
|
end
|
85
99
|
|
100
|
+
if attributes.key?(:'pattern')
|
101
|
+
self.pattern = attributes[:'pattern']
|
102
|
+
end
|
103
|
+
|
86
104
|
if attributes.key?(:'required')
|
87
105
|
self.required = attributes[:'required']
|
88
106
|
end
|
@@ -114,8 +132,10 @@ module OryHydraClient
|
|
114
132
|
def ==(o)
|
115
133
|
return true if self.equal?(o)
|
116
134
|
self.class == o.class &&
|
135
|
+
disabled == o.disabled &&
|
117
136
|
errors == o.errors &&
|
118
137
|
name == o.name &&
|
138
|
+
pattern == o.pattern &&
|
119
139
|
required == o.required &&
|
120
140
|
type == o.type &&
|
121
141
|
value == o.value
|
@@ -130,7 +150,7 @@ module OryHydraClient
|
|
130
150
|
# Calculates hash code according to all attributes.
|
131
151
|
# @return [Integer] Hash code
|
132
152
|
def hash
|
133
|
-
[errors, name, required, type, value].hash
|
153
|
+
[disabled, errors, name, pattern, required, type, value].hash
|
134
154
|
end
|
135
155
|
|
136
156
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ory-kratos-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3.
|
4
|
+
version: 0.0.3.alpha11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ORY GmbH
|
@@ -190,30 +190,30 @@ specification_version: 4
|
|
190
190
|
summary: Ory Kratos Ruby Gem
|
191
191
|
test_files:
|
192
192
|
- spec/api/health_api_spec.rb
|
193
|
-
- spec/api/public_api_spec.rb
|
194
193
|
- spec/api/admin_api_spec.rb
|
195
|
-
- spec/api/version_api_spec.rb
|
196
194
|
- spec/api/common_api_spec.rb
|
195
|
+
- spec/api/version_api_spec.rb
|
196
|
+
- spec/api/public_api_spec.rb
|
197
197
|
- spec/api_client_spec.rb
|
198
198
|
- spec/configuration_spec.rb
|
199
199
|
- spec/models/generic_error_payload_spec.rb
|
200
|
-
- spec/models/
|
201
|
-
- spec/models/
|
202
|
-
- spec/models/
|
200
|
+
- spec/models/session_spec.rb
|
201
|
+
- spec/models/oidc_strategy_request_method_spec.rb
|
202
|
+
- spec/models/login_request_method_spec.rb
|
203
|
+
- spec/models/identity_spec.rb
|
203
204
|
- spec/models/version_spec.rb
|
204
205
|
- spec/models/oidc_strategy_credentials_config_spec.rb
|
205
206
|
- spec/models/error_spec.rb
|
206
|
-
- spec/models/
|
207
|
+
- spec/models/registration_request_method_config_spec.rb
|
208
|
+
- spec/models/registration_request_spec.rb
|
209
|
+
- spec/models/profile_management_request_spec.rb
|
207
210
|
- spec/models/login_request_method_config_spec.rb
|
208
|
-
- spec/models/login_request_method_spec.rb
|
209
|
-
- spec/models/generic_error_spec.rb
|
210
211
|
- spec/models/health_not_ready_status_spec.rb
|
211
|
-
- spec/models/
|
212
|
+
- spec/models/generic_error_spec.rb
|
212
213
|
- spec/models/registration_request_method_spec.rb
|
213
|
-
- spec/models/health_status_spec.rb
|
214
214
|
- spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
|
215
|
-
- spec/models/
|
216
|
-
- spec/models/registration_request_spec.rb
|
215
|
+
- spec/models/login_request_spec.rb
|
217
216
|
- spec/models/form_spec.rb
|
218
|
-
- spec/models/
|
217
|
+
- spec/models/health_status_spec.rb
|
218
|
+
- spec/models/form_field_spec.rb
|
219
219
|
- spec/spec_helper.rb
|