From 20264a99d8715cd36e043afa7f4f15616b92d869 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 6 May 2026 08:03:49 +0300 Subject: [PATCH] dspace_rest_client/client.py: update comment Update comment about short-lived token length. It's actually only two seconds by default, not two minutes. See: dspace/config/modules/authentication.cfg --- dspace_rest_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dspace_rest_client/client.py b/dspace_rest_client/client.py index 3f8a643..d405910 100644 --- a/dspace_rest_client/client.py +++ b/dspace_rest_client/client.py @@ -1514,7 +1514,7 @@ def update_token(self, r): def get_short_lived_token(self): """ - Get a short-lived (2 min) token in order to request restricted bitstream downloads + Get a short-lived (2 sec) token in order to request restricted bitstream downloads @return: short lived Authorization token """ if not self.session: