aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-30 11:34:12 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-30 11:34:12 +0200
commitfd00c5098df78de4166745432c776d773c7c174b (patch)
tree137dfc2cd55413ab51fac70602fe76c834a29c30
parent1a4b7178b9d62ab33b91819ea0de9a90f4781750 (diff)
downloadreclaim-oidc-fd00c5098df78de4166745432c776d773c7c174b.tar.gz
reclaim-oidc-fd00c5098df78de4166745432c776d773c7c174b.zip
reduce expiration times for client info
-rw-r--r--lib/reclaim_oidc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reclaim_oidc.rb b/lib/reclaim_oidc.rb
index c28eeea..2f5151b 100644
--- a/lib/reclaim_oidc.rb
+++ b/lib/reclaim_oidc.rb
@@ -51,7 +51,7 @@ class ReclaimOidc
51 record = {'record_type' => "RECLAIM_OIDC_CLIENT", 51 record = {'record_type' => "RECLAIM_OIDC_CLIENT",
52 'value' => description, 52 'value' => description,
53 'record_name' => "@", 53 'record_name' => "@",
54 'expiration_time' => "1d", 54 'expiration_time' => "1h",
55 'flag' => 8} 55 'flag' => 8}
56 #resp = Net::HTTP.post(uri,record.to_json) 56 #resp = Net::HTTP.post(uri,record.to_json)
57 #req = Net::HTTP::Post.new(uri, record) 57 #req = Net::HTTP::Post.new(uri, record)
@@ -61,7 +61,7 @@ class ReclaimOidc
61 record = {'record_type' => "RECLAIM_OIDC_REDIRECT", 61 record = {'record_type' => "RECLAIM_OIDC_REDIRECT",
62 'value' => redirect_uri, 62 'value' => redirect_uri,
63 'record_name' => "@", 63 'record_name' => "@",
64 'expiration_time' => "1d", 64 'expiration_time' => "1h",
65 'flag' => 8} 65 'flag' => 8}
66 #req = Net::HTTP::Post.new(uri, record) 66 #req = Net::HTTP::Post.new(uri, record)
67 #resp = Net::HTTP.post(uri,record.to_json) 67 #resp = Net::HTTP.post(uri,record.to_json)