cloudflared-mirror/cmd/cloudflared
James Royal 171d4ac77c AUTH-3122 Verify that Access tokens are still valid in curl command
Before this change, the only sure fire way to make sure you had a valid
Access token was to run `cloudflared access login <your domain>`. That
was because that command would actually make a preflight request to ensure
that the edge considered that token valid. The most common reasons a token
was no longer valid was expiration and revocation. Expiration is easy to
check client side, but revocation can only be checked at the edge.

This change adds the same flow that cfd access login did to the curl command.
It will preflight the request with the token and ensure that the edge thinks
its valid before making the real request.
2023-04-18 13:38:50 +00:00
..
access AUTH-3122 Verify that Access tokens are still valid in curl command 2023-04-18 13:38:50 +00:00
cliutil TUN-7134: Acquire token for cloudflared tail 2023-04-12 09:43:38 -07:00
proxydns TUN-6963: Refactor Metrics service setup 2022-11-22 11:35:48 +00:00
tail TUN-7360: Add Get Host Details handler in management service 2023-04-18 09:54:54 +00:00
tunnel TUN-7360: Add Get Host Details handler in management service 2023-04-18 09:54:54 +00:00
updater TUN-7335: Fix cloudflared update not working in windows 2023-04-11 08:54:38 +00:00
app_forward_service.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
app_resolver_service.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
app_service.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
common_service.go TUN-5679: Add support for service install using Tunnel Token 2022-03-03 18:59:03 +00:00
generic_service.go TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
linux_service.go TUN-5954: Start cloudflared service in Linux too similarly to other OSs 2022-03-25 13:57:47 +00:00
macos_service.go TUN-5881: Clarify success (or lack thereof) of (un)installing cloudflared service 2022-03-18 18:10:02 +00:00
main.go TUN-7134: Acquire token for cloudflared tail 2023-04-12 09:43:38 -07:00
service_template.go Ensure service install directories are created before writing file 2022-06-28 12:31:18 -05:00
windows_service.go TUN-5933: Better messaging to help user when installing service if it is already installed 2022-03-24 17:19:23 +00:00