[x] Added tests for code changes or test/build only changes
[x] Updated the change log file (CHANGES.md|CHANGELOG.md) or test/build only changes
[x] Completed the PR template below:
Description
Add CookieTokenManager class for managing cookie session renewals.
Approach
The cookie renewal logic has been centralised into a token manager class. Once implemented fully, the cookie authentication plugin will make .renew() requests against the token manager class. The token manager class is designed to avoid unnecessary renewals and operate without needing the lockfile dependancy (to be removed in a later PR).
Schema & API Changes
No change.
Security and Privacy
No change.
Testing
Includes additional unit tests. Existing cookie authentication tests will be used to test CookieTokenManager logic.
Checklist
CHANGES.md
|CHANGELOG.md
) or test/build only changesDescription
Add
CookieTokenManager
class for managing cookie session renewals.Approach
The cookie renewal logic has been centralised into a token manager class. Once implemented fully, the cookie authentication plugin will make
.renew()
requests against the token manager class. The token manager class is designed to avoid unnecessary renewals and operate without needing thelockfile
dependancy (to be removed in a later PR).Schema & API Changes
No change.
Security and Privacy
No change.
Testing
Includes additional unit tests. Existing cookie authentication tests will be used to test
CookieTokenManager
logic.Monitoring and Logging
No change.