MCPcopy 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
738func (s *Server) getClientSecret() string {
739 if v := s.ClientSecret; v != "" {
740 return v
741 }
742 return os.Getenv("TS_CLIENT_SECRET")
743}
744
745func (s *Server) getClientID() string {
746 if v := s.ClientID; v != "" {

Callers 1

resolveAuthKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected