package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
GetURLFromMetaRedirect parses an HTML redirect response written by [MetaRedirect] and returns the redirect URL.
HasClientCert checks if the request has a client certificate.
HasFragment checks if the request is coming to the fragment authentication endpoint.
HasName checks if the client is attempting to connect to a host that is different than the public address of the proxy.
HasSessionCookie checks if an application specific cookie exists.
Match will match a list of applications with the passed in matcher function.
MatchAll matches if all the Matcher functions return true.
MatchHealthy tries to establish a connection with the server using the `dialAppServer` function.
MatchName matches on the name of an application.
MatchOne will match a single AppServer with the provided matcher function.
MatchPublicAddr matches on the public address of an application.
MetaRedirect issues a "meta refresh" redirect.
NewHandler returns a new application handler.
ResolveFQDN makes a best effort attempt to resolve FQDN to an application running a root or leaf cluster.
No description provided by the author
# Constants
AuthStateCookieName is the name of the state cookie used during the initial authentication flow.
CookieName is the name of the application session cookie.
SubjectCookieName is the name of the application session subject cookie.
TeleportNextAppRedirectUrlHeader is used to tell the browser which URL to navigate to next in the chain of required app authentication redirects.
# Structs
Handler is an application handler.
HandlerConfig is the configuration for an application handler.
# Interfaces
Getter returns a list of registered apps and the local cluster name.
ServerHandler implements an interface which can handle a connection (perform a handshake then process).
# Type aliases
Matcher allows matching on different properties of an application.