ory-keto-client 0.6.0.alpha1 → 0.6.0.alpha3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e3a0a51effba5aa8677d5c39669fc337e05e916987d4063c36a31f293070317
4
- data.tar.gz: c19bf04c5646d064e5b19974850b36416520b129972044d37d90e694446522fe
3
+ metadata.gz: f497432a9a0d3433a8f20fed0b2727a09ff6957ea99adc5139ec856d1b78e61c
4
+ data.tar.gz: d04ffa0333ba5ab7c0f0fb5ee18051b81e5f9c381db9e57c048dc5f8c07bbef1
5
5
  SHA512:
6
- metadata.gz: d6238ffefcf953a8f2aca5ec1b3a1e9ba39335c1b7a7a7cc4ffb886173b616a1d27a4b9833b023cce67c1d83212f11152549943f5cc147b95c54965606fac682
7
- data.tar.gz: dfd059f448951a617bfe13f21935e5ceebb71ccf69323aa2af20f361d2c9b5a0720f693b2f2d7e3bb237f209f3a33b59d23cadfdc1c67f50342048dba6d01f63
6
+ metadata.gz: 4f89c6c43843cb1a1e9cc97bd2ecef7e5983412e299844b1bd572bf521dc58dd03d54b9be65cf5828786685cb8f438a7f082c37c2abf138c703dff5f6cd3a7c5
7
+ data.tar.gz: 94547215329c9e3f4fbde852223efc90541977062ccbd621f32cbbbdfa0f988ae9515df09aeb48e8d9cab6b7df76246f7ccf1f3920b1d79bd0ba0d60c1c83310
data/README.md CHANGED
@@ -6,8 +6,8 @@ Ory Keto is a cloud native access control server providing best-practice pattern
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: v0.6.0-alpha.1
10
- - Package version: v0.6.0-alpha.1
9
+ - API version: v0.6.0-alpha.3
10
+ - Package version: v0.6.0-alpha.3
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.ory.sh](https://www.ory.sh)
13
13
 
@@ -24,16 +24,16 @@ gem build ory-keto-client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ory-keto-client-v0.6.0-alpha.1.gem
27
+ gem install ./ory-keto-client-v0.6.0-alpha.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ory-keto-client-v0.6.0-alpha.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ory-keto-client-v0.6.0-alpha.3.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ory-keto-client', '~> v0.6.0-alpha.1'
36
+ gem 'ory-keto-client', '~> v0.6.0-alpha.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.0
10
10
 
11
11
  =end
12
12
 
@@ -307,7 +307,7 @@ module OryHydraClient
307
307
  case auth_setting[:in]
308
308
  when 'header' then header_params[auth_setting[:key]] = auth_setting[:value]
309
309
  when 'query' then query_params[auth_setting[:key]] = auth_setting[:value]
310
- else fail ArgumentError, 'Authentication token must be in `query` of `header`'
310
+ else fail ArgumentError, 'Authentication token must be in `query` or `header`'
311
311
  end
312
312
  end
313
313
  end
@@ -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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.0
10
10
 
11
11
  =end
12
12
 
@@ -197,11 +197,13 @@ module OryHydraClient
197
197
 
198
198
  # Gets API key (with prefix if set).
199
199
  # @param [String] param_name the parameter name of API key auth
200
- def api_key_with_prefix(param_name)
200
+ def api_key_with_prefix(param_name, param_alias = nil)
201
+ key = @api_key[param_name]
202
+ key = @api_key.fetch(param_alias, key) unless param_alias.nil?
201
203
  if @api_key_prefix[param_name]
202
- "#{@api_key_prefix[param_name]} #{@api_key[param_name]}"
204
+ "#{@api_key_prefix[param_name]} #{key}"
203
205
  else
204
- @api_key[param_name]
206
+ key
205
207
  end
206
208
  end
207
209
 
@@ -220,7 +222,7 @@ module OryHydraClient
220
222
  def server_settings
221
223
  [
222
224
  {
223
- url: "/",
225
+ url: "",
224
226
  description: "No description provided",
225
227
  }
226
228
  ]
@@ -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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.0
10
10
 
11
11
  =end
12
12
 
@@ -3,13 +3,13 @@
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: 0.6.0.alpha1
6
+ The version of the OpenAPI document: 0.6.0.alpha3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.0
10
10
 
11
11
  =end
12
12
 
13
13
  module OryHydraClient
14
- VERSION = '0.6.0.alpha1'
14
+ VERSION = '0.6.0.alpha3'
15
15
  end
@@ -5,10 +5,10 @@
5
5
 
6
6
  #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
7
7
 
8
- The version of the OpenAPI document: v0.6.0-alpha.1
8
+ The version of the OpenAPI document: v0.6.0-alpha.3
9
9
  Contact: hi@ory.sh
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 5.0.0
11
+ OpenAPI Generator version: 5.1.0
12
12
 
13
13
  =end
14
14
 
@@ -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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.0
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.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.6.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.0
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ory-keto-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.alpha1
4
+ version: 0.6.0.alpha3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ORY GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-07 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -328,8 +328,8 @@ summary: ORY Keto Ruby Gem
328
328
  test_files:
329
329
  - spec/api/engines_api_spec.rb
330
330
  - spec/api/health_api_spec.rb
331
- - spec/api/version_api_spec.rb
332
331
  - spec/api/read_api_spec.rb
332
+ - spec/api/version_api_spec.rb
333
333
  - spec/api/write_api_spec.rb
334
334
  - spec/api_client_spec.rb
335
335
  - spec/configuration_spec.rb
@@ -350,6 +350,8 @@ test_files:
350
350
  - spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb
351
351
  - spec/models/do_ory_access_control_policies_allow_ok_spec.rb
352
352
  - spec/models/do_ory_access_control_policies_allow_spec.rb
353
+ - spec/models/expand_tree_spec.rb
354
+ - spec/models/get_check_response_spec.rb
353
355
  - spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb
354
356
  - spec/models/get_ory_access_control_policy_internal_server_error_spec.rb
355
357
  - spec/models/get_ory_access_control_policy_not_found_body_spec.rb
@@ -362,10 +364,13 @@ test_files:
362
364
  - spec/models/get_ory_access_control_policy_role_ok_spec.rb
363
365
  - spec/models/get_ory_access_control_policy_role_spec.rb
364
366
  - spec/models/get_ory_access_control_policy_spec.rb
367
+ - spec/models/get_relation_tuples_response_spec.rb
365
368
  - spec/models/health_not_ready_status_spec.rb
366
369
  - spec/models/health_status_spec.rb
370
+ - spec/models/inline_response400_spec.rb
367
371
  - spec/models/inline_response500_spec.rb
368
372
  - spec/models/input_spec.rb
373
+ - spec/models/internal_relation_tuple_spec.rb
369
374
  - spec/models/is_instance_alive_internal_server_error_body_spec.rb
370
375
  - spec/models/is_instance_alive_internal_server_error_spec.rb
371
376
  - spec/models/is_instance_alive_ok_spec.rb
@@ -382,6 +387,7 @@ test_files:
382
387
  - spec/models/ory_access_control_policy_role_spec.rb
383
388
  - spec/models/ory_access_control_policy_roles_spec.rb
384
389
  - spec/models/ory_access_control_policy_spec.rb
390
+ - spec/models/patch_delta_spec.rb
385
391
  - spec/models/policy_spec.rb
386
392
  - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
387
393
  - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb
@@ -394,15 +400,9 @@ test_files:
394
400
  - spec/models/upsert_ory_access_control_policy_internal_server_error_spec.rb
395
401
  - spec/models/upsert_ory_access_control_policy_ok_spec.rb
396
402
  - spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb
397
- - spec/models/version_spec.rb
398
403
  - spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb
399
404
  - spec/models/upsert_ory_access_control_policy_role_ok_spec.rb
400
405
  - spec/models/upsert_ory_access_control_policy_role_spec.rb
401
406
  - spec/models/upsert_ory_access_control_policy_spec.rb
402
- - spec/models/expand_tree_spec.rb
403
- - spec/models/get_check_response_spec.rb
404
- - spec/models/get_relation_tuples_response_spec.rb
405
- - spec/models/inline_response400_spec.rb
406
- - spec/models/internal_relation_tuple_spec.rb
407
- - spec/models/patch_delta_spec.rb
407
+ - spec/models/version_spec.rb
408
408
  - spec/spec_helper.rb