cloudflared-mirror/token
Devin Carr 8184bc457d TUN-8427: Fix BackoffHandler's internally shared clock structure
A clock structure was used to help support unit testing timetravel
but it is a globally shared object and is likely unsafe to share
across tests. Reordering of the tests seemed to have intermittent
failures for the TestWaitForBackoffFallback specifically on windows
builds.

Adjusting this to be a shim inside the BackoffHandler struct should
resolve shared object overrides in unit testing.

Additionally, added the reset retries functionality to be inline with
the ResetNow function of the BackoffHandler to align better with
expected functionality of the method.

Removes unused reconnectCredentialManager.
2024-05-23 09:48:34 -07:00
..
encrypt.go TUN-6917: Bump go to 1.19.3 2022-11-07 09:19:19 -08:00
launch_browser_darwin.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
launch_browser_other.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
launch_browser_unix.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
launch_browser_windows.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
path.go AUTH-3455: Generate short-lived ssh cert per hostname 2021-03-25 10:38:43 -05:00
shell.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
signal_test.go AUTH-5682 Org token flow in Access logins should pass CF_AppSession cookie 2023-12-18 09:42:33 -06:00
token.go TUN-8427: Fix BackoffHandler's internally shared clock structure 2024-05-23 09:48:34 -07:00
token_test.go AUTH-5682 Org token flow in Access logins should pass CF_AppSession cookie 2023-12-18 09:42:33 -06:00
transfer.go AUTH-4887 Add aud parameter to token transfer url 2023-04-19 21:01:24 +00:00