zitadel-client 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zitadel/client/version.rb +1 -1
- data/lib/zitadel_client.rb +0 -1
- metadata +2 -3
- data/lib/patch.rb +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23c0606985a770bbf6d6af0dd113153b65bf5ce2d84bd9b8f85ca984e4b652a3
|
4
|
+
data.tar.gz: 942e372960ad8be30d939fde798554d1e1244d847b49fbddfce479eb9a5a083c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36ed36ecb4f7307b40e8c057b4d726b4f592da7afa639c4ff0923f195ec0e4dc48fdfcc31b8638a91a7a5744e050a41ec94c4bffe20f87c96fedaca3d7d2c00a
|
7
|
+
data.tar.gz: 223d00a96b7a46419cb367e433f15918f9d470f95676ba6ed98c433307c2c9985b772b2a5c83038e363acbf2dfb13bef7d96fef20406e09278789a76c11eefba
|
data/lib/zitadel_client.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zitadel-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zitadel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -82,7 +82,6 @@ extra_rdoc_files: []
|
|
82
82
|
files:
|
83
83
|
- LICENSE
|
84
84
|
- README.md
|
85
|
-
- lib/patch.rb
|
86
85
|
- lib/zitadel/client/api/.openapi
|
87
86
|
- lib/zitadel/client/api/action_service_api.rb
|
88
87
|
- lib/zitadel/client/api/feature_service_api.rb
|
data/lib/patch.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'oauth2'
|
4
|
-
|
5
|
-
module OAuth2
|
6
|
-
module Strategy
|
7
|
-
# rubocop:disable Style/Documentation
|
8
|
-
module AssertionPatch
|
9
|
-
private
|
10
|
-
|
11
|
-
# noinspection RbsMissingTypeSignature
|
12
|
-
def build_assertion(claims, opts)
|
13
|
-
unless opts.is_a?(Hash) && opts.key?(:algorithm) && opts.key?(:key)
|
14
|
-
raise ArgumentError,
|
15
|
-
'encoding_opts must include :algorithm and :key'
|
16
|
-
end
|
17
|
-
|
18
|
-
headers = opts[:kid] ? { kid: opts[:kid] } : {}
|
19
|
-
JWT.encode(claims, opts[:key], opts[:algorithm], headers)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
# rubocop:enable Style/Documentation
|
23
|
-
|
24
|
-
class Assertion < Base
|
25
|
-
prepend AssertionPatch
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|