hydra-keycloak-client 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hydra/keycloak/client.rb +12 -11
- data/lib/hydra/keycloak/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c2501b9655a228734d10a9d4c1faad122811861727dc8aa66e10b4219e9a12
|
4
|
+
data.tar.gz: 3c86bc796eb4377e4a5defcfb75b908ada14386f10386abe745c2472959137c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1200c121405ff86550a47bbf646b15f658e9a95125ad54317768f58b2d05604a97d6c24939d5817fed75c7551fac59f47b1934a7d579092f99cdb8cac6fdde
|
7
|
+
data.tar.gz: 02ec5a5fc49112fb2f2dc9e09b8828e47cf69e9d23628d3dacae0ea0dfbfcd284be162a42e86bd3cecb5290c42241df616a88607d05c86afbcf1ce7886e0d118
|
data/Gemfile.lock
CHANGED
@@ -16,6 +16,17 @@ module Hydra
|
|
16
16
|
extend ::Hydra::Keycloak::Mixin
|
17
17
|
|
18
18
|
def self.call(config:)
|
19
|
+
memcached_schema = Dry::Schema.JSON do
|
20
|
+
required(:memcached_host).filled(:string)
|
21
|
+
required(:memcached_port).filled(:string)
|
22
|
+
required(:memcached_namespace).filled(:string)
|
23
|
+
end
|
24
|
+
|
25
|
+
redis_schema = Dry::Schema.JSON do
|
26
|
+
required(:redis_host).filled(:string)
|
27
|
+
required(:redis_port).filled(:string)
|
28
|
+
end
|
29
|
+
|
19
30
|
config_schema = Dry::Schema.JSON do
|
20
31
|
required(:auth_server_url).filled(:string)
|
21
32
|
required(:realm).filled(:string)
|
@@ -24,17 +35,7 @@ module Hydra
|
|
24
35
|
required(:secret).filled(:string)
|
25
36
|
required(:logout_redirect).filled(:string)
|
26
37
|
required(:store_client).value(included_in?: ['redis', 'memcached'])
|
27
|
-
|
28
|
-
optional(:memcached).hash do
|
29
|
-
required(:memcached_host).filled(:string)
|
30
|
-
required(:memcached_port).filled(:string)
|
31
|
-
required(:memcached_namespace).filled(:string)
|
32
|
-
end
|
33
|
-
|
34
|
-
optional(:redis).hash do
|
35
|
-
required(:redis_host).filled(:string)
|
36
|
-
required(:redis_port).filled(:string)
|
37
|
-
end
|
38
|
+
required(:store_client_options).hash(memcached_schema | redis_schema)
|
38
39
|
end
|
39
40
|
|
40
41
|
validated_config = config_schema.call(config)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-keycloak-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fedor Kosolapov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Keycloak client for SSO
|
14
14
|
email:
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
|
-
rubygems_version: 3.
|
63
|
+
rubygems_version: 3.1.6
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Keycloak client for SSO
|