reclaim-oidc 0.0.6 → 0.0.7
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/reclaim_oidc.rb +10 -4
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cba3f05a249dd9120160ad582c9d5fa257ee11983517159cd2528cf36fc8cc19
|
|
4
|
+
data.tar.gz: 678239df41432010614a9cbd771212b5e557ebbc6ff1c3e224fc78ee4e5fdd34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db2123585c8000c90d859ac29f1f8f5fbbf2f4fdb02fbe4d048d2577ef724fd5ded1ae8ad9d28193ec6ce31d8c059e28076aa3546cf1e420e5f3275ffc3c2f32
|
|
7
|
+
data.tar.gz: dbabb3e6428a7ece79ced4d392b99d91bad2dc38bf5247424adbaf4fe584105522608ed3beae734b4b795a914ed3085197eb4689764786da4f41bbcdb0d08bf2
|
data/lib/reclaim_oidc.rb
CHANGED
|
@@ -3,7 +3,7 @@ require 'json'
|
|
|
3
3
|
|
|
4
4
|
$VERSION_MAJOR = 0
|
|
5
5
|
$VERSION_MINOR = 0
|
|
6
|
-
$VERSION_MICRO =
|
|
6
|
+
$VERSION_MICRO = 7
|
|
7
7
|
|
|
8
8
|
class ReclaimOidc
|
|
9
9
|
def initialize(verbose=false, url='http://localhost:7776')
|
|
@@ -62,11 +62,17 @@ class ReclaimOidc
|
|
|
62
62
|
records["data"] << {'record_type' => "RECLAIM_OIDC_CLIENT",
|
|
63
63
|
'value' => description,
|
|
64
64
|
'expiration_time' => "1h",
|
|
65
|
-
'
|
|
65
|
+
'private' => false,
|
|
66
|
+
'relative_expiration' => true,
|
|
67
|
+
'supplemental' => false,
|
|
68
|
+
'shadow' => false}
|
|
66
69
|
records["data"] << {'record_type' => "RECLAIM_OIDC_REDIRECT",
|
|
67
70
|
'value' => redirect_uri,
|
|
68
71
|
'expiration_time' => "1h",
|
|
69
|
-
'
|
|
72
|
+
'private' => false,
|
|
73
|
+
'relative_expiration' => true,
|
|
74
|
+
'supplemental' => false,
|
|
75
|
+
'shadow' => false}
|
|
70
76
|
Net::HTTP.start(uri.host, uri.port) do |http|
|
|
71
77
|
resp = http.post(uri.path,records.to_json)
|
|
72
78
|
end
|
|
@@ -90,7 +96,7 @@ class ReclaimOidc
|
|
|
90
96
|
op['token_endpoint'] = host + '/openid/token'
|
|
91
97
|
op['userinfo_endpoint'] = host + '/openid/userinfo'
|
|
92
98
|
op
|
|
93
|
-
end
|
|
99
|
+
end
|
|
94
100
|
def set_jwt_secret(jwt_secret)
|
|
95
101
|
uri = URI(@url + '/config/reclaim-rest-plugin')
|
|
96
102
|
request = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reclaim-oidc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Schanzenbach
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Used to manage re:claimID OpenID Connect clients and OpenID Connect Provider
|
|
14
14
|
configuration(s)
|
|
@@ -24,7 +24,7 @@ homepage: https://gitlab.com/reclaimid/reclaim-oidc
|
|
|
24
24
|
licenses:
|
|
25
25
|
- AGPL-3.0
|
|
26
26
|
metadata: {}
|
|
27
|
-
post_install_message:
|
|
27
|
+
post_install_message:
|
|
28
28
|
rdoc_options: []
|
|
29
29
|
require_paths:
|
|
30
30
|
- lib
|
|
@@ -39,8 +39,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
requirements: []
|
|
42
|
-
rubygems_version: 3.
|
|
43
|
-
signing_key:
|
|
42
|
+
rubygems_version: 3.1.2
|
|
43
|
+
signing_key:
|
|
44
44
|
specification_version: 4
|
|
45
45
|
summary: re:claimID OpenID Connect CLI
|
|
46
46
|
test_files: []
|