Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + const AuthStateCookieName + const CookieName + func HasClientCert(r *http.Request) bool + func HasFragment(r *http.Request) bool + func HasName(r *http.Request, proxyPublicAddrs []utils.NetAddr) (string, bool) + func HasSession(r *http.Request) bool + func Match(ctx context.Context, authClient Getter, fn Matcher) ([]types.AppServer, error) + func ResolveFQDN(ctx context.Context, clt Getter, tunnel reversetunnel.Tunnel, ...) (types.AppServer, string, error) + func SetRedirectPageHeaders(h http.Header, nonce string) + type Getter interface + GetApplicationServers func(context.Context, string) ([]types.AppServer, error) + GetClusterName func(opts ...services.MarshalOption) (types.ClusterName, error) + type Handler struct + func NewHandler(ctx context.Context, c *HandlerConfig) (*Handler, error) + func (h *Handler) HandleConnection(ctx context.Context, clientConn net.Conn) error + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type HandlerConfig struct + AccessPoint auth.ProxyAccessPoint + AuthClient auth.ClientI + CipherSuites []uint16 + Clock clockwork.Clock + ProxyClient reversetunnel.Tunnel + WebPublicAddr string + func (c *HandlerConfig) CheckAndSetDefaults() error + type Matcher func(types.AppServer) bool + func MatchAll(matchers ...Matcher) Matcher + func MatchHealthy(proxyClient reversetunnel.Tunnel, identity *tlsca.Identity) Matcher + func MatchName(name string) Matcher + func MatchPublicAddr(publicAddr string) Matcher