From 797ebbcb35e49b48b9eaf38e613d4e9ec9792019 Mon Sep 17 00:00:00 2001 From: Dan Jones <dan.jones@noc.ac.uk> Date: Mon, 23 Jan 2023 16:28:31 +0000 Subject: [PATCH] docs: explain expected behaviour of tokenValid --- features/adapter_token-valid.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/adapter_token-valid.feature b/features/adapter_token-valid.feature index e0e105b..c7290a7 100644 --- a/features/adapter_token-valid.feature +++ b/features/adapter_token-valid.feature @@ -1,3 +1,9 @@ +# tokenValid returns true if there is a token and the expiry is in the future +# tokenValid returns false if the token expiry is in the past +# or if there is no token +# In the case where invalid credentials are supplied +# the auth will fail so there will be no token available + Feature: Is the token valid? The adapter tokenValid method works as expected -- GitLab