Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tailscale/tailscale
/ getClientID
Method
getClientID
tsnet/tsnet.go:745–750 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
743
}
744
745
func
(s *Server) getClientID() string {
746
if
v := s.ClientID; v !=
""
{
747
return
v
748
}
749
return
os.Getenv(
"TS_CLIENT_ID"
)
750
}
751
752
func
(s *Server) getIDToken() string {
753
if
v := s.IDToken; v !=
""
{
Callers
1
resolveAuthKey
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected