keycloak-ruby-client 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/keycloak-ruby-client.gemspec +2 -0
- data/lib/keycloak/api/user_resources.rb +5 -0
- data/lib/keycloak/realm.rb +3 -0
- data/lib/keycloak/version.rb +1 -1
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '086dfbaf42ef3339dd5860e717be6490f625baa3'
|
4
|
+
data.tar.gz: c32725910ba174a2722839bf913b4c2d69f9785d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff0f354f26cbfce2d3ef617abe6d56e0a62c5acc99d5a254a52a95cd70ad72e64de0c34fd82fc236863bb1c0ea3732ed979d9cd8b4a2ab7e690cc6c12c5cfe06
|
7
|
+
data.tar.gz: 373f5165819f01ae672d30e87e378f3dacdc98bdfe2db63c814885b3f6ede60d6778ecfd3dad75405fe648de1dbde94e360912780914b4da2b39a0cf92c43e4d
|
@@ -39,6 +39,8 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_dependency "rails", ">= 4.0"
|
40
40
|
spec.add_dependency "rest-client", "~> 2.0"
|
41
41
|
spec.add_dependency "concurrent-ruby", "~> 1.0"
|
42
|
+
spec.add_dependency "jwt"
|
43
|
+
spec.add_dependency "json-jwt"
|
42
44
|
|
43
45
|
spec.add_development_dependency "bundler", "~> 2.0"
|
44
46
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -69,6 +69,11 @@ module Keycloak
|
|
69
69
|
JSON.parse(get(url, params: params)).map { |user| Model::UserRepresentation.new(user) }
|
70
70
|
end
|
71
71
|
end
|
72
|
+
|
73
|
+
# @param id [String] user id
|
74
|
+
def delete_user(id)
|
75
|
+
delete("#{user_resources_url}/#{id}", headers: {content_type: :json})
|
76
|
+
end
|
72
77
|
end
|
73
78
|
end
|
74
79
|
end
|
data/lib/keycloak/realm.rb
CHANGED
data/lib/keycloak/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keycloak-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fuxin Hao
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -52,6 +52,34 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jwt
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: json-jwt
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: bundler
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
219
|
version: '0'
|
192
220
|
requirements: []
|
193
221
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.6.
|
222
|
+
rubygems_version: 2.6.14.3
|
195
223
|
signing_key:
|
196
224
|
specification_version: 4
|
197
225
|
summary: Keycloak ruby client
|