You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn/ipnauth
Nick Khyl e9e2bc5bd7 ipn/ipn{auth,server}: update ipnauth.Actor to carry a context
The context carries additional information about the actor, such as the
request reason, and is canceled when the actor is done.

Additionally, we implement three new ipn.Actor types that wrap other actors
to modify their behavior:
 - WithRequestReason, which adds a request reason to the actor;
 - WithoutClose, which narrows the actor's interface to prevent it from being
   closed;
 - WithPolicyChecks, which adds policy checks to the actor's CheckProfileAccess
   method.

Updates #14823

Signed-off-by: Nick Khyl <nickk@tailscale.com>
10 months ago
..
access.go ipn/ipnauth,util/syspolicy: improve comments 10 months ago
actor.go ipn/ipn{auth,server}: update ipnauth.Actor to carry a context 10 months ago
ipnauth.go go.mod, all: move away from inet.af domain seized by Taliban 2 years ago
ipnauth_notwindows.go ipn/{ipnauth,ipnlocal,ipnserver}: send the auth URL to the user who started interactive login 1 year ago
ipnauth_windows.go ipn/ipnserver: always allow Windows SYSTEM user to connect 2 years ago
policy.go ipn/ipn{auth,server}: update ipnauth.Actor to carry a context 10 months ago
self.go ipn/ipn{auth,server}: update ipnauth.Actor to carry a context 10 months ago
test_actor.go ipn/ipn{auth,server}: update ipnauth.Actor to carry a context 10 months ago