Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tailscale/tailscale
/ getClientSecret
Method
getClientSecret
tsnet/tsnet.go:738–743 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
736
}
737
738
func
(s *Server) getClientSecret() string {
739
if
v := s.ClientSecret; v !=
""
{
740
return
v
741
}
742
return
os.Getenv(
"TS_CLIENT_SECRET"
)
743
}
744
745
func
(s *Server) getClientID() string {
746
if
v := s.ClientID; v !=
""
{
Callers
1
resolveAuthKey
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected