package
0.0.0-20250306120524-11777db3047b
Repository: https://github.com/cloudflare/cloudflared.git
Documentation: pkg.go.dev
# Functions
FetchToken will either load a stored token or generate a new one it appends the host of the appURL as the redirect URL to the access cli request if opening the browser.
FetchTokenWithRedirect will either load a stored token or generate a new one it appends the full url as the redirect URL to the access cli request if opening the browser.
GenerateAppTokenFilePathFromURL will return a filepath for given Access org token.
GenerateSSHCertFilePathFromURL will return a file path for creating short lived certificates.
GetAppInfo makes a request to the appURL and stops at the first redirect.
No description provided by the author
No description provided by the author
No description provided by the author
NewEncrypter returns a new encrypter with initialized keypair.
OpenBrowser opens the specified URL in the default browser of the user.
RemoveTokenIfExists removes the a token from local storage if it exists.
RunTransfer does the transfer "dance" with the end result downloading the supported resource.
# Constants
No description provided by the author
No description provided by the author