Files
tailscale/ipn/doc.go
T
Kabir Sikand 148a187d3c ipn: add FunnelAuth config to HTTPHandler for authenticated funnel
Add an optional Auth field to HTTPHandler so a Funnel HTTP handler can
require visitors to authenticate with Login With Tailscale before being
proxied. FunnelAuth carries the identity provider (v1: "tailscale"), an
optional allowlist of emails/email-domains/tailnets, and a session TTL.

The field is JSON omitempty, so existing serve configs are unchanged on
the wire and old nodes simply ignore it. This change is inert: nothing
reads the field yet. The gate itself lands separately in ipn/ipnlocal.

Updates tailscale/corp#38806

Change-Id: I83f47b65e4c625e3034bc41a62c747194efdff59
Signed-off-by: Kabir Sikand <[email protected]>
2026-07-27 18:09:18 +00:00

13 lines
573 B
Go

// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:generate go run tailscale.com/cmd/viewer -type=LoginProfile,Prefs,ServeConfig,ServiceConfig,TCPPortHandler,HTTPHandler,FunnelAuth,WebServerConfig
// Package ipn implements the interactions between the Tailscale cloud
// control plane and the local network stack.
//
// IPN is the abbreviated name for a Tailscale network. What's less
// clear is what it's an abbreviation for: Identified Private Network?
// IP Network? Internet Private Network? I Privately Network?
package ipn