package auth

Import Path
	golang.org/x/pkgsite/internal/auth (on go.dev)

Dependency Relation
	imports 5 packages, and imported by one package

Involved Source Files Package auth authorizes programs to make HTTP requests to the discovery site.
Package-Level Functions (total 3, in which 2 are exported)
Header returns a header value (typically a Bearer token) to be used in the HTTP 'Authorization' header.
NewClient creates an http.Client for accessing go-discovery services. Its first argument is the JSON contents of a service account credentials file. If nil, default credentials are used. Its second argument determines which client ID to use.
Package-Level Constants (total 2, neither is exported)