ory-keto-client 0.0.0.alpha41 → 0.0.0.alpha47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AddOryAccessControlPolicyRoleMembersBody.md +8 -7
- data/docs/AuthorizationResult.md +8 -7
- data/docs/EnginesApi.md +319 -129
- data/docs/HealthApi.md +50 -15
- data/docs/HealthNotReadyStatus.md +8 -7
- data/docs/HealthStatus.md +8 -7
- data/docs/InlineResponse500.md +18 -17
- data/docs/OryAccessControlPolicy.md +20 -19
- data/docs/OryAccessControlPolicyAllowedInput.md +14 -13
- data/docs/OryAccessControlPolicyRole.md +10 -9
- data/docs/Version.md +8 -7
- data/docs/VersionApi.md +26 -9
- data/lib/ory-keto-client.rb +2 -2
- data/lib/ory-keto-client/api/engines_api.rb +46 -35
- data/lib/ory-keto-client/api/health_api.rb +10 -8
- data/lib/ory-keto-client/api/version_api.rb +6 -5
- data/lib/ory-keto-client/api_client.rb +50 -48
- data/lib/ory-keto-client/api_error.rb +2 -2
- data/lib/ory-keto-client/configuration.rb +34 -7
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_body.rb +20 -8
- data/lib/ory-keto-client/models/authorization_result.rb +20 -8
- data/lib/ory-keto-client/models/health_not_ready_status.rb +20 -8
- data/lib/ory-keto-client/models/health_status.rb +20 -8
- data/lib/ory-keto-client/models/inline_response500.rb +20 -8
- data/lib/ory-keto-client/models/ory_access_control_policy.rb +20 -8
- data/lib/ory-keto-client/models/ory_access_control_policy_allowed_input.rb +20 -8
- data/lib/ory-keto-client/models/ory_access_control_policy_role.rb +20 -8
- data/lib/ory-keto-client/models/version.rb +20 -8
- data/lib/ory-keto-client/version.rb +3 -3
- data/ory-keto-client.gemspec +4 -5
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +55 -75
data/docs/HealthApi.md
CHANGED
@@ -2,35 +2,52 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**is_instance_alive**](HealthApi.md#is_instance_alive) | **GET** /health/alive | Check alive status
|
8
|
-
[**is_instance_ready**](HealthApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status
|
9
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**is_instance_alive**](HealthApi.md#is_instance_alive) | **GET** /health/alive | Check alive status |
|
8
|
+
| [**is_instance_ready**](HealthApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status |
|
10
9
|
|
11
10
|
|
12
11
|
## is_instance_alive
|
13
12
|
|
14
|
-
> HealthStatus is_instance_alive
|
13
|
+
> <HealthStatus> is_instance_alive
|
15
14
|
|
16
15
|
Check alive status
|
17
16
|
|
18
17
|
This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
19
18
|
|
20
|
-
###
|
19
|
+
### Examples
|
21
20
|
|
22
21
|
```ruby
|
23
|
-
|
22
|
+
require 'time'
|
24
23
|
require 'ory-keto-client'
|
25
24
|
|
26
25
|
api_instance = OryHydraClient::HealthApi.new
|
27
26
|
|
28
27
|
begin
|
29
|
-
#Check alive status
|
28
|
+
# Check alive status
|
30
29
|
result = api_instance.is_instance_alive
|
31
30
|
p result
|
32
31
|
rescue OryHydraClient::ApiError => e
|
33
|
-
puts "
|
32
|
+
puts "Error when calling HealthApi->is_instance_alive: #{e}"
|
33
|
+
end
|
34
|
+
```
|
35
|
+
|
36
|
+
#### Using the is_instance_alive_with_http_info variant
|
37
|
+
|
38
|
+
This returns an Array which contains the response data, status code and headers.
|
39
|
+
|
40
|
+
> <Array(<HealthStatus>, Integer, Hash)> is_instance_alive_with_http_info
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
begin
|
44
|
+
# Check alive status
|
45
|
+
data, status_code, headers = api_instance.is_instance_alive_with_http_info
|
46
|
+
p status_code # => 2xx
|
47
|
+
p headers # => { ... }
|
48
|
+
p data # => <HealthStatus>
|
49
|
+
rescue OryHydraClient::ApiError => e
|
50
|
+
puts "Error when calling HealthApi->is_instance_alive_with_http_info: #{e}"
|
34
51
|
end
|
35
52
|
```
|
36
53
|
|
@@ -54,26 +71,44 @@ No authorization required
|
|
54
71
|
|
55
72
|
## is_instance_ready
|
56
73
|
|
57
|
-
> HealthStatus is_instance_ready
|
74
|
+
> <HealthStatus> is_instance_ready
|
58
75
|
|
59
76
|
Check readiness status
|
60
77
|
|
61
78
|
This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
62
79
|
|
63
|
-
###
|
80
|
+
### Examples
|
64
81
|
|
65
82
|
```ruby
|
66
|
-
|
83
|
+
require 'time'
|
67
84
|
require 'ory-keto-client'
|
68
85
|
|
69
86
|
api_instance = OryHydraClient::HealthApi.new
|
70
87
|
|
71
88
|
begin
|
72
|
-
#Check readiness status
|
89
|
+
# Check readiness status
|
73
90
|
result = api_instance.is_instance_ready
|
74
91
|
p result
|
75
92
|
rescue OryHydraClient::ApiError => e
|
76
|
-
puts "
|
93
|
+
puts "Error when calling HealthApi->is_instance_ready: #{e}"
|
94
|
+
end
|
95
|
+
```
|
96
|
+
|
97
|
+
#### Using the is_instance_ready_with_http_info variant
|
98
|
+
|
99
|
+
This returns an Array which contains the response data, status code and headers.
|
100
|
+
|
101
|
+
> <Array(<HealthStatus>, Integer, Hash)> is_instance_ready_with_http_info
|
102
|
+
|
103
|
+
```ruby
|
104
|
+
begin
|
105
|
+
# Check readiness status
|
106
|
+
data, status_code, headers = api_instance.is_instance_ready_with_http_info
|
107
|
+
p status_code # => 2xx
|
108
|
+
p headers # => { ... }
|
109
|
+
p data # => <HealthStatus>
|
110
|
+
rescue OryHydraClient::ApiError => e
|
111
|
+
puts "Error when calling HealthApi->is_instance_ready_with_http_info: #{e}"
|
77
112
|
end
|
78
113
|
```
|
79
114
|
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**errors** | **Hash<String, String>** | Errors contains a list of errors that caused the not ready status. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | **Hash<String, String>** | Errors contains a list of errors that caused the not ready status. | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-keto-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::HealthNotReadyStatus.new(
|
14
|
+
instance = OryHydraClient::HealthNotReadyStatus.new(
|
15
|
+
errors: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/HealthStatus.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**status** | **String** | Status always contains \"ok\". | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **status** | **String** | Status always contains \"ok\". | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-keto-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::HealthStatus.new(
|
14
|
+
instance = OryHydraClient::HealthStatus.new(
|
15
|
+
status: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/InlineResponse500.md
CHANGED
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**code** | **Integer** | | [optional]
|
8
|
-
**details** | **Array<Object>** | | [optional]
|
9
|
-
**message** | **String** | | [optional]
|
10
|
-
**reason** | **String** | | [optional]
|
11
|
-
**request** | **String** | | [optional]
|
12
|
-
**status** | **String** | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **Integer** | | [optional] |
|
8
|
+
| **details** | **Array<Object>** | | [optional] |
|
9
|
+
| **message** | **String** | | [optional] |
|
10
|
+
| **reason** | **String** | | [optional] |
|
11
|
+
| **request** | **String** | | [optional] |
|
12
|
+
| **status** | **String** | | [optional] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'ory-keto-client'
|
18
18
|
|
19
|
-
instance = OryHydraClient::InlineResponse500.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = OryHydraClient::InlineResponse500.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|
@@ -2,28 +2,29 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**actions** | **Array<String>** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional]
|
8
|
-
**conditions** |
|
9
|
-
**description** | **String** | Description is an optional, human-readable description. | [optional]
|
10
|
-
**effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional]
|
11
|
-
**id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional]
|
12
|
-
**resources** | **Array<String>** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional]
|
13
|
-
**subjects** | **Array<String>** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **actions** | **Array<String>** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional] |
|
8
|
+
| **conditions** | **Object** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional] |
|
9
|
+
| **description** | **String** | Description is an optional, human-readable description. | [optional] |
|
10
|
+
| **effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional] |
|
11
|
+
| **id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional] |
|
12
|
+
| **resources** | **Array<String>** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional] |
|
13
|
+
| **subjects** | **Array<String>** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [optional] |
|
14
14
|
|
15
|
-
##
|
15
|
+
## Example
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'ory-keto-client'
|
19
19
|
|
20
|
-
instance = OryHydraClient::OryAccessControlPolicy.new(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
instance = OryHydraClient::OryAccessControlPolicy.new(
|
21
|
+
actions: null,
|
22
|
+
conditions: null,
|
23
|
+
description: null,
|
24
|
+
effect: null,
|
25
|
+
id: null,
|
26
|
+
resources: null,
|
27
|
+
subjects: null
|
28
|
+
)
|
27
29
|
```
|
28
30
|
|
29
|
-
|
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**action** | **String** | Action is the action that is requested on the resource. | [optional]
|
8
|
-
**context** |
|
9
|
-
**resource** | **String** | Resource is the resource that access is requested to. | [optional]
|
10
|
-
**subject** | **String** | Subject is the subject that is requesting access. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **action** | **String** | Action is the action that is requested on the resource. | [optional] |
|
8
|
+
| **context** | **Object** | Context is the request's environmental context. | [optional] |
|
9
|
+
| **resource** | **String** | Resource is the resource that access is requested to. | [optional] |
|
10
|
+
| **subject** | **String** | Subject is the subject that is requesting access. | [optional] |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'ory-keto-client'
|
16
16
|
|
17
|
-
instance = OryHydraClient::OryAccessControlPolicyAllowedInput.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = OryHydraClient::OryAccessControlPolicyAllowedInput.new(
|
18
|
+
action: null,
|
19
|
+
context: null,
|
20
|
+
resource: null,
|
21
|
+
subject: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|
@@ -2,18 +2,19 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**id** | **String** | ID is the role's unique id. | [optional]
|
8
|
-
**members** | **Array<String>** | Members is who belongs to the role. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | ID is the role's unique id. | [optional] |
|
8
|
+
| **members** | **Array<String>** | Members is who belongs to the role. | [optional] |
|
9
9
|
|
10
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'ory-keto-client'
|
14
14
|
|
15
|
-
instance = OryHydraClient::OryAccessControlPolicyRole.new(
|
16
|
-
|
15
|
+
instance = OryHydraClient::OryAccessControlPolicyRole.new(
|
16
|
+
id: null,
|
17
|
+
members: null
|
18
|
+
)
|
17
19
|
```
|
18
20
|
|
19
|
-
|
data/docs/Version.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**version** | **String** | Version is the service's version. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | Version is the service's version. | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-keto-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::Version.new(
|
14
|
+
instance = OryHydraClient::Version.new(
|
15
|
+
version: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/VersionApi.md
CHANGED
@@ -2,34 +2,51 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**get_version**](VersionApi.md#get_version) | **GET** /version | Get service version
|
8
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get_version**](VersionApi.md#get_version) | **GET** /version | Get service version |
|
9
8
|
|
10
9
|
|
11
10
|
## get_version
|
12
11
|
|
13
|
-
> Version get_version
|
12
|
+
> <Version> get_version
|
14
13
|
|
15
14
|
Get service version
|
16
15
|
|
17
16
|
This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
18
17
|
|
19
|
-
###
|
18
|
+
### Examples
|
20
19
|
|
21
20
|
```ruby
|
22
|
-
|
21
|
+
require 'time'
|
23
22
|
require 'ory-keto-client'
|
24
23
|
|
25
24
|
api_instance = OryHydraClient::VersionApi.new
|
26
25
|
|
27
26
|
begin
|
28
|
-
#Get service version
|
27
|
+
# Get service version
|
29
28
|
result = api_instance.get_version
|
30
29
|
p result
|
31
30
|
rescue OryHydraClient::ApiError => e
|
32
|
-
puts "
|
31
|
+
puts "Error when calling VersionApi->get_version: #{e}"
|
32
|
+
end
|
33
|
+
```
|
34
|
+
|
35
|
+
#### Using the get_version_with_http_info variant
|
36
|
+
|
37
|
+
This returns an Array which contains the response data, status code and headers.
|
38
|
+
|
39
|
+
> <Array(<Version>, Integer, Hash)> get_version_with_http_info
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
begin
|
43
|
+
# Get service version
|
44
|
+
data, status_code, headers = api_instance.get_version_with_http_info
|
45
|
+
p status_code # => 2xx
|
46
|
+
p headers # => { ... }
|
47
|
+
p data # => <Version>
|
48
|
+
rescue OryHydraClient::ApiError => e
|
49
|
+
puts "Error when calling VersionApi->get_version_with_http_info: #{e}"
|
33
50
|
end
|
34
51
|
```
|
35
52
|
|
data/lib/ory-keto-client.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.47
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.47
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -67,15 +67,16 @@ module OryHydraClient
|
|
67
67
|
form_params = opts[:form_params] || {}
|
68
68
|
|
69
69
|
# http body (model)
|
70
|
-
post_body = opts[:
|
70
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
71
71
|
|
72
72
|
# return_type
|
73
|
-
return_type = opts[:
|
73
|
+
return_type = opts[:debug_return_type] || 'OryAccessControlPolicyRole'
|
74
74
|
|
75
75
|
# auth_names
|
76
|
-
auth_names = opts[:
|
76
|
+
auth_names = opts[:debug_auth_names] || []
|
77
77
|
|
78
78
|
new_options = opts.merge(
|
79
|
+
:operation => :"EnginesApi.add_ory_access_control_policy_role_members",
|
79
80
|
:header_params => header_params,
|
80
81
|
:query_params => query_params,
|
81
82
|
:form_params => form_params,
|
@@ -133,15 +134,16 @@ module OryHydraClient
|
|
133
134
|
form_params = opts[:form_params] || {}
|
134
135
|
|
135
136
|
# http body (model)
|
136
|
-
post_body = opts[:
|
137
|
+
post_body = opts[:debug_body]
|
137
138
|
|
138
139
|
# return_type
|
139
|
-
return_type = opts[:
|
140
|
+
return_type = opts[:debug_return_type]
|
140
141
|
|
141
142
|
# auth_names
|
142
|
-
auth_names = opts[:
|
143
|
+
auth_names = opts[:debug_auth_names] || []
|
143
144
|
|
144
145
|
new_options = opts.merge(
|
146
|
+
:operation => :"EnginesApi.delete_ory_access_control_policy",
|
145
147
|
:header_params => header_params,
|
146
148
|
:query_params => query_params,
|
147
149
|
:form_params => form_params,
|
@@ -201,15 +203,16 @@ module OryHydraClient
|
|
201
203
|
form_params = opts[:form_params] || {}
|
202
204
|
|
203
205
|
# http body (model)
|
204
|
-
post_body = opts[:
|
206
|
+
post_body = opts[:debug_body]
|
205
207
|
|
206
208
|
# return_type
|
207
|
-
return_type = opts[:
|
209
|
+
return_type = opts[:debug_return_type]
|
208
210
|
|
209
211
|
# auth_names
|
210
|
-
auth_names = opts[:
|
212
|
+
auth_names = opts[:debug_auth_names] || []
|
211
213
|
|
212
214
|
new_options = opts.merge(
|
215
|
+
:operation => :"EnginesApi.delete_ory_access_control_policy_role",
|
213
216
|
:header_params => header_params,
|
214
217
|
:query_params => query_params,
|
215
218
|
:form_params => form_params,
|
@@ -267,15 +270,16 @@ module OryHydraClient
|
|
267
270
|
form_params = opts[:form_params] || {}
|
268
271
|
|
269
272
|
# http body (model)
|
270
|
-
post_body = opts[:
|
273
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
271
274
|
|
272
275
|
# return_type
|
273
|
-
return_type = opts[:
|
276
|
+
return_type = opts[:debug_return_type] || 'AuthorizationResult'
|
274
277
|
|
275
278
|
# auth_names
|
276
|
-
auth_names = opts[:
|
279
|
+
auth_names = opts[:debug_auth_names] || []
|
277
280
|
|
278
281
|
new_options = opts.merge(
|
282
|
+
:operation => :"EnginesApi.do_ory_access_control_policies_allow",
|
279
283
|
:header_params => header_params,
|
280
284
|
:query_params => query_params,
|
281
285
|
:form_params => form_params,
|
@@ -333,15 +337,16 @@ module OryHydraClient
|
|
333
337
|
form_params = opts[:form_params] || {}
|
334
338
|
|
335
339
|
# http body (model)
|
336
|
-
post_body = opts[:
|
340
|
+
post_body = opts[:debug_body]
|
337
341
|
|
338
342
|
# return_type
|
339
|
-
return_type = opts[:
|
343
|
+
return_type = opts[:debug_return_type] || 'OryAccessControlPolicy'
|
340
344
|
|
341
345
|
# auth_names
|
342
|
-
auth_names = opts[:
|
346
|
+
auth_names = opts[:debug_auth_names] || []
|
343
347
|
|
344
348
|
new_options = opts.merge(
|
349
|
+
:operation => :"EnginesApi.get_ory_access_control_policy",
|
345
350
|
:header_params => header_params,
|
346
351
|
:query_params => query_params,
|
347
352
|
:form_params => form_params,
|
@@ -401,15 +406,16 @@ module OryHydraClient
|
|
401
406
|
form_params = opts[:form_params] || {}
|
402
407
|
|
403
408
|
# http body (model)
|
404
|
-
post_body = opts[:
|
409
|
+
post_body = opts[:debug_body]
|
405
410
|
|
406
411
|
# return_type
|
407
|
-
return_type = opts[:
|
412
|
+
return_type = opts[:debug_return_type] || 'OryAccessControlPolicyRole'
|
408
413
|
|
409
414
|
# auth_names
|
410
|
-
auth_names = opts[:
|
415
|
+
auth_names = opts[:debug_auth_names] || []
|
411
416
|
|
412
417
|
new_options = opts.merge(
|
418
|
+
:operation => :"EnginesApi.get_ory_access_control_policy_role",
|
413
419
|
:header_params => header_params,
|
414
420
|
:query_params => query_params,
|
415
421
|
:form_params => form_params,
|
@@ -476,15 +482,16 @@ module OryHydraClient
|
|
476
482
|
form_params = opts[:form_params] || {}
|
477
483
|
|
478
484
|
# http body (model)
|
479
|
-
post_body = opts[:
|
485
|
+
post_body = opts[:debug_body]
|
480
486
|
|
481
487
|
# return_type
|
482
|
-
return_type = opts[:
|
488
|
+
return_type = opts[:debug_return_type] || 'Array<OryAccessControlPolicy>'
|
483
489
|
|
484
490
|
# auth_names
|
485
|
-
auth_names = opts[:
|
491
|
+
auth_names = opts[:debug_auth_names] || []
|
486
492
|
|
487
493
|
new_options = opts.merge(
|
494
|
+
:operation => :"EnginesApi.list_ory_access_control_policies",
|
488
495
|
:header_params => header_params,
|
489
496
|
:query_params => query_params,
|
490
497
|
:form_params => form_params,
|
@@ -547,15 +554,16 @@ module OryHydraClient
|
|
547
554
|
form_params = opts[:form_params] || {}
|
548
555
|
|
549
556
|
# http body (model)
|
550
|
-
post_body = opts[:
|
557
|
+
post_body = opts[:debug_body]
|
551
558
|
|
552
559
|
# return_type
|
553
|
-
return_type = opts[:
|
560
|
+
return_type = opts[:debug_return_type] || 'Array<OryAccessControlPolicyRole>'
|
554
561
|
|
555
562
|
# auth_names
|
556
|
-
auth_names = opts[:
|
563
|
+
auth_names = opts[:debug_auth_names] || []
|
557
564
|
|
558
565
|
new_options = opts.merge(
|
566
|
+
:operation => :"EnginesApi.list_ory_access_control_policy_roles",
|
559
567
|
:header_params => header_params,
|
560
568
|
:query_params => query_params,
|
561
569
|
:form_params => form_params,
|
@@ -621,15 +629,16 @@ module OryHydraClient
|
|
621
629
|
form_params = opts[:form_params] || {}
|
622
630
|
|
623
631
|
# http body (model)
|
624
|
-
post_body = opts[:
|
632
|
+
post_body = opts[:debug_body]
|
625
633
|
|
626
634
|
# return_type
|
627
|
-
return_type = opts[:
|
635
|
+
return_type = opts[:debug_return_type]
|
628
636
|
|
629
637
|
# auth_names
|
630
|
-
auth_names = opts[:
|
638
|
+
auth_names = opts[:debug_auth_names] || []
|
631
639
|
|
632
640
|
new_options = opts.merge(
|
641
|
+
:operation => :"EnginesApi.remove_ory_access_control_policy_role_members",
|
633
642
|
:header_params => header_params,
|
634
643
|
:query_params => query_params,
|
635
644
|
:form_params => form_params,
|
@@ -685,15 +694,16 @@ module OryHydraClient
|
|
685
694
|
form_params = opts[:form_params] || {}
|
686
695
|
|
687
696
|
# http body (model)
|
688
|
-
post_body = opts[:
|
697
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
689
698
|
|
690
699
|
# return_type
|
691
|
-
return_type = opts[:
|
700
|
+
return_type = opts[:debug_return_type] || 'OryAccessControlPolicy'
|
692
701
|
|
693
702
|
# auth_names
|
694
|
-
auth_names = opts[:
|
703
|
+
auth_names = opts[:debug_auth_names] || []
|
695
704
|
|
696
705
|
new_options = opts.merge(
|
706
|
+
:operation => :"EnginesApi.upsert_ory_access_control_policy",
|
697
707
|
:header_params => header_params,
|
698
708
|
:query_params => query_params,
|
699
709
|
:form_params => form_params,
|
@@ -751,15 +761,16 @@ module OryHydraClient
|
|
751
761
|
form_params = opts[:form_params] || {}
|
752
762
|
|
753
763
|
# http body (model)
|
754
|
-
post_body = opts[:
|
764
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
755
765
|
|
756
766
|
# return_type
|
757
|
-
return_type = opts[:
|
767
|
+
return_type = opts[:debug_return_type] || 'OryAccessControlPolicyRole'
|
758
768
|
|
759
769
|
# auth_names
|
760
|
-
auth_names = opts[:
|
770
|
+
auth_names = opts[:debug_auth_names] || []
|
761
771
|
|
762
772
|
new_options = opts.merge(
|
773
|
+
:operation => :"EnginesApi.upsert_ory_access_control_policy_role",
|
763
774
|
:header_params => header_params,
|
764
775
|
:query_params => query_params,
|
765
776
|
:form_params => form_params,
|