ory-keto-client 0.0.0.alpha40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +115 -0
- data/Rakefile +10 -0
- data/docs/AddOryAccessControlPolicyRoleMembers.md +21 -0
- data/docs/AddOryAccessControlPolicyRoleMembersBody.md +17 -0
- data/docs/AddOryAccessControlPolicyRoleMembersInternalServerError.md +17 -0
- data/docs/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +27 -0
- data/docs/AddOryAccessControlPolicyRoleMembersOK.md +17 -0
- data/docs/AuthorizationResult.md +17 -0
- data/docs/DeleteOryAccessControlPolicy.md +19 -0
- data/docs/DeleteOryAccessControlPolicyInternalServerError.md +17 -0
- data/docs/DeleteOryAccessControlPolicyInternalServerErrorBody.md +27 -0
- data/docs/DeleteOryAccessControlPolicyRole.md +19 -0
- data/docs/DeleteOryAccessControlPolicyRoleInternalServerError.md +17 -0
- data/docs/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md +27 -0
- data/docs/DoOryAccessControlPoliciesAllow.md +19 -0
- data/docs/DoOryAccessControlPoliciesAllowForbidden.md +17 -0
- data/docs/DoOryAccessControlPoliciesAllowInternalServerError.md +17 -0
- data/docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md +27 -0
- data/docs/DoOryAccessControlPoliciesAllowOK.md +17 -0
- data/docs/EnginesApi.md +579 -0
- data/docs/GetOryAccessControlPolicy.md +19 -0
- data/docs/GetOryAccessControlPolicyInternalServerError.md +17 -0
- data/docs/GetOryAccessControlPolicyInternalServerErrorBody.md +27 -0
- data/docs/GetOryAccessControlPolicyNotFound.md +17 -0
- data/docs/GetOryAccessControlPolicyNotFoundBody.md +27 -0
- data/docs/GetOryAccessControlPolicyOK.md +17 -0
- data/docs/GetOryAccessControlPolicyRole.md +19 -0
- data/docs/GetOryAccessControlPolicyRoleInternalServerError.md +17 -0
- data/docs/GetOryAccessControlPolicyRoleInternalServerErrorBody.md +27 -0
- data/docs/GetOryAccessControlPolicyRoleNotFound.md +17 -0
- data/docs/GetOryAccessControlPolicyRoleNotFoundBody.md +27 -0
- data/docs/GetOryAccessControlPolicyRoleOK.md +17 -0
- data/docs/HealthApi.md +96 -0
- data/docs/HealthNotReadyStatus.md +17 -0
- data/docs/HealthStatus.md +17 -0
- data/docs/InlineResponse500.md +27 -0
- data/docs/Input.md +23 -0
- data/docs/IsInstanceAliveInternalServerError.md +17 -0
- data/docs/IsInstanceAliveInternalServerErrorBody.md +27 -0
- data/docs/IsInstanceAliveOK.md +17 -0
- data/docs/ListOryAccessControlPolicies.md +21 -0
- data/docs/ListOryAccessControlPoliciesInternalServerError.md +17 -0
- data/docs/ListOryAccessControlPoliciesInternalServerErrorBody.md +27 -0
- data/docs/ListOryAccessControlPoliciesOK.md +17 -0
- data/docs/ListOryAccessControlPolicyRoles.md +21 -0
- data/docs/ListOryAccessControlPolicyRolesInternalServerError.md +17 -0
- data/docs/ListOryAccessControlPolicyRolesInternalServerErrorBody.md +27 -0
- data/docs/ListOryAccessControlPolicyRolesOK.md +17 -0
- data/docs/OryAccessControlPolicies.md +17 -0
- data/docs/OryAccessControlPolicy.md +29 -0
- data/docs/OryAccessControlPolicyAllowedInput.md +23 -0
- data/docs/OryAccessControlPolicyRole.md +19 -0
- data/docs/OryAccessControlPolicyRoles.md +17 -0
- data/docs/Policy.md +29 -0
- data/docs/RemoveOryAccessControlPolicyRoleMembers.md +21 -0
- data/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md +17 -0
- data/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +27 -0
- data/docs/Role.md +19 -0
- data/docs/SwaggerHealthStatus.md +17 -0
- data/docs/SwaggerNotReadyStatus.md +17 -0
- data/docs/SwaggerVersion.md +17 -0
- data/docs/UpsertOryAccessControlPolicy.md +19 -0
- data/docs/UpsertOryAccessControlPolicyInternalServerError.md +17 -0
- data/docs/UpsertOryAccessControlPolicyInternalServerErrorBody.md +27 -0
- data/docs/UpsertOryAccessControlPolicyOK.md +17 -0
- data/docs/UpsertOryAccessControlPolicyRole.md +19 -0
- data/docs/UpsertOryAccessControlPolicyRoleInternalServerError.md +17 -0
- data/docs/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md +27 -0
- data/docs/UpsertOryAccessControlPolicyRoleOK.md +17 -0
- data/docs/Version.md +17 -0
- data/docs/VersionApi.md +52 -0
- data/lib/ory-keto-client.rb +51 -0
- data/lib/ory-keto-client/api/engines_api.rb +778 -0
- data/lib/ory-keto-client/api/health_api.rb +134 -0
- data/lib/ory-keto-client/api/version_api.rb +78 -0
- data/lib/ory-keto-client/api_client.rb +387 -0
- data/lib/ory-keto-client/api_error.rb +57 -0
- data/lib/ory-keto-client/configuration.rb +241 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members.rb +237 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_body.rb +209 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_ok.rb +207 -0
- data/lib/ory-keto-client/models/authorization_result.rb +212 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy.rb +228 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_role.rb +228 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_role_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_role_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow.rb +222 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_forbidden.rb +207 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_ok.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy.rb +228 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_not_found.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_not_found_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_ok.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role.rb +228 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_not_found.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_not_found_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_ok.rb +207 -0
- data/lib/ory-keto-client/models/health_not_ready_status.rb +209 -0
- data/lib/ory-keto-client/models/health_status.rb +207 -0
- data/lib/ory-keto-client/models/inline_response500.rb +253 -0
- data/lib/ory-keto-client/models/input.rb +239 -0
- data/lib/ory-keto-client/models/is_instance_alive_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/is_instance_alive_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/is_instance_alive_ok.rb +207 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies.rb +233 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies_ok.rb +210 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles.rb +233 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles_ok.rb +210 -0
- data/lib/ory-keto-client/models/ory_access_control_policies.rb +209 -0
- data/lib/ory-keto-client/models/ory_access_control_policy.rb +273 -0
- data/lib/ory-keto-client/models/ory_access_control_policy_allowed_input.rb +237 -0
- data/lib/ory-keto-client/models/ory_access_control_policy_role.rb +220 -0
- data/lib/ory-keto-client/models/ory_access_control_policy_roles.rb +209 -0
- data/lib/ory-keto-client/models/policy.rb +275 -0
- data/lib/ory-keto-client/models/remove_ory_access_control_policy_role_members.rb +243 -0
- data/lib/ory-keto-client/models/remove_ory_access_control_policy_role_members_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/remove_ory_access_control_policy_role_members_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/role.rb +220 -0
- data/lib/ory-keto-client/models/swagger_health_status.rb +208 -0
- data/lib/ory-keto-client/models/swagger_not_ready_status.rb +210 -0
- data/lib/ory-keto-client/models/swagger_version.rb +208 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy.rb +222 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_ok.rb +207 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role.rb +222 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role_ok.rb +207 -0
- data/lib/ory-keto-client/models/version.rb +207 -0
- data/lib/ory-keto-client/version.rb +15 -0
- data/ory-keto-client.gemspec +39 -0
- data/spec/api/engines_api_spec.rb +182 -0
- data/spec/api/health_api_spec.rb +57 -0
- data/spec/api/version_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_ory_access_control_policy_role_members_body_spec.rb +41 -0
- data/spec/models/add_ory_access_control_policy_role_members_internal_server_error_body_spec.rb +71 -0
- data/spec/models/add_ory_access_control_policy_role_members_internal_server_error_spec.rb +41 -0
- data/spec/models/add_ory_access_control_policy_role_members_ok_spec.rb +41 -0
- data/spec/models/add_ory_access_control_policy_role_members_spec.rb +53 -0
- data/spec/models/authorization_result_spec.rb +41 -0
- data/spec/models/delete_ory_access_control_policy_internal_server_error_body_spec.rb +71 -0
- data/spec/models/delete_ory_access_control_policy_internal_server_error_spec.rb +41 -0
- data/spec/models/delete_ory_access_control_policy_role_internal_server_error_body_spec.rb +71 -0
- data/spec/models/delete_ory_access_control_policy_role_internal_server_error_spec.rb +41 -0
- data/spec/models/delete_ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/delete_ory_access_control_policy_spec.rb +47 -0
- data/spec/models/do_ory_access_control_policies_allow_forbidden_spec.rb +41 -0
- data/spec/models/do_ory_access_control_policies_allow_internal_server_error_body_spec.rb +71 -0
- data/spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb +41 -0
- data/spec/models/do_ory_access_control_policies_allow_ok_spec.rb +41 -0
- data/spec/models/do_ory_access_control_policies_allow_spec.rb +47 -0
- data/spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_internal_server_error_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_not_found_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_not_found_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_ok_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_internal_server_error_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_role_internal_server_error_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_not_found_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_role_not_found_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_ok_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/get_ory_access_control_policy_spec.rb +47 -0
- data/spec/models/health_not_ready_status_spec.rb +41 -0
- data/spec/models/health_status_spec.rb +41 -0
- data/spec/models/inline_response500_spec.rb +71 -0
- data/spec/models/input_spec.rb +59 -0
- data/spec/models/is_instance_alive_internal_server_error_body_spec.rb +71 -0
- data/spec/models/is_instance_alive_internal_server_error_spec.rb +41 -0
- data/spec/models/is_instance_alive_ok_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policies_internal_server_error_body_spec.rb +71 -0
- data/spec/models/list_ory_access_control_policies_internal_server_error_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policies_ok_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policies_spec.rb +53 -0
- data/spec/models/list_ory_access_control_policy_roles_internal_server_error_body_spec.rb +71 -0
- data/spec/models/list_ory_access_control_policy_roles_internal_server_error_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policy_roles_ok_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policy_roles_spec.rb +53 -0
- data/spec/models/ory_access_control_policies_spec.rb +41 -0
- data/spec/models/ory_access_control_policy_allowed_input_spec.rb +59 -0
- data/spec/models/ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/ory_access_control_policy_roles_spec.rb +41 -0
- data/spec/models/ory_access_control_policy_spec.rb +77 -0
- data/spec/models/policy_spec.rb +77 -0
- data/spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb +71 -0
- data/spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb +41 -0
- data/spec/models/remove_ory_access_control_policy_role_members_spec.rb +53 -0
- data/spec/models/role_spec.rb +47 -0
- data/spec/models/swagger_health_status_spec.rb +41 -0
- data/spec/models/swagger_not_ready_status_spec.rb +41 -0
- data/spec/models/swagger_version_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_internal_server_error_body_spec.rb +71 -0
- data/spec/models/upsert_ory_access_control_policy_internal_server_error_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_ok_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb +71 -0
- data/spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_role_ok_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/upsert_ory_access_control_policy_spec.rb +47 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +396 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::IsInstanceAliveInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**IsInstanceAliveInternalServerErrorBody**](IsInstanceAliveInternalServerErrorBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::IsInstanceAliveInternalServerError.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::IsInstanceAliveInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::IsInstanceAliveInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::IsInstanceAliveOK
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**SwaggerHealthStatus**](SwaggerHealthStatus.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::IsInstanceAliveOK.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPolicies
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path |
|
8
|
+
**limit** | **Integer** | The maximum amount of policies returned. in: query | [optional]
|
9
|
+
**offset** | **Integer** | The offset from where to start looking. in: query | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'OryHydraClient'
|
15
|
+
|
16
|
+
instance = OryHydraClient::ListOryAccessControlPolicies.new(flavor: null,
|
17
|
+
limit: null,
|
18
|
+
offset: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPoliciesInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**ListOryAccessControlPoliciesInternalServerErrorBody**](ListOryAccessControlPoliciesInternalServerErrorBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::ListOryAccessControlPoliciesInternalServerError.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPoliciesInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::ListOryAccessControlPoliciesInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPoliciesOK
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**Array<OryAccessControlPolicy>**](OryAccessControlPolicy.md) | payload | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::ListOryAccessControlPoliciesOK.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPolicyRoles
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path |
|
8
|
+
**limit** | **Integer** | The maximum amount of policies returned. in: query | [optional]
|
9
|
+
**offset** | **Integer** | The offset from where to start looking. in: query | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'OryHydraClient'
|
15
|
+
|
16
|
+
instance = OryHydraClient::ListOryAccessControlPolicyRoles.new(flavor: null,
|
17
|
+
limit: null,
|
18
|
+
offset: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPolicyRolesInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**ListOryAccessControlPolicyRolesInternalServerErrorBody**](ListOryAccessControlPolicyRolesInternalServerErrorBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::ListOryAccessControlPolicyRolesInternalServerError.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPolicyRolesInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::ListOryAccessControlPolicyRolesInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::ListOryAccessControlPolicyRolesOK
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**Array<OryAccessControlPolicyRole>**](OryAccessControlPolicyRole.md) | payload | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::ListOryAccessControlPolicyRolesOK.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::OryAccessControlPolicies
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**body** | [**Array<OryAccessControlPolicy>**](OryAccessControlPolicy.md) | The request body. in: body type: array | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::OryAccessControlPolicies.new(body: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# OryHydraClient::OryAccessControlPolicy
|
2
|
+
|
3
|
+
## Properties
|
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** | [**Object**](.md) | 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
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'OryHydraClient'
|
19
|
+
|
20
|
+
instance = OryHydraClient::OryAccessControlPolicy.new(actions: null,
|
21
|
+
conditions: null,
|
22
|
+
description: null,
|
23
|
+
effect: null,
|
24
|
+
id: null,
|
25
|
+
resources: null,
|
26
|
+
subjects: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# OryHydraClient::OryAccessControlPolicyAllowedInput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action** | **String** | Action is the action that is requested on the resource. | [optional]
|
8
|
+
**context** | [**Object**](.md) | 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
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'OryHydraClient'
|
16
|
+
|
17
|
+
instance = OryHydraClient::OryAccessControlPolicyAllowedInput.new(action: null,
|
18
|
+
context: null,
|
19
|
+
resource: null,
|
20
|
+
subject: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::OryAccessControlPolicyRole
|
2
|
+
|
3
|
+
## Properties
|
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]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::OryAccessControlPolicyRole.new(id: null,
|
16
|
+
members: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::OryAccessControlPolicyRoles
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**body** | [**Array<OryAccessControlPolicyRole>**](OryAccessControlPolicyRole.md) | The request body. in: body type: array | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::OryAccessControlPolicyRoles.new(body: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Policy.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# OryHydraClient::Policy
|
2
|
+
|
3
|
+
## Properties
|
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** | **Hash<String, 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
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'OryHydraClient'
|
19
|
+
|
20
|
+
instance = OryHydraClient::Policy.new(actions: null,
|
21
|
+
conditions: null,
|
22
|
+
description: null,
|
23
|
+
effect: null,
|
24
|
+
id: null,
|
25
|
+
resources: null,
|
26
|
+
subjects: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# OryHydraClient::RemoveOryAccessControlPolicyRoleMembers
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path |
|
8
|
+
**id** | **String** | The ID of the ORY Access Control Policy Role. in: path |
|
9
|
+
**member** | **String** | The member to be removed. in: path |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'OryHydraClient'
|
15
|
+
|
16
|
+
instance = OryHydraClient::RemoveOryAccessControlPolicyRoleMembers.new(flavor: null,
|
17
|
+
id: null,
|
18
|
+
member: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::RemoveOryAccessControlPolicyRoleMembersInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody**](RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::RemoveOryAccessControlPolicyRoleMembersInternalServerError.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|