package auth

import "cmd/go/internal/auth"

Package auth provides access to user-provided authentication credentials.

Index

Functions

func AddCredentials

func AddCredentials(req *http.Request) (added bool)

AddCredentials fills in the user's credentials for req, if any. The return value reports whether any matching credentials were found.

Source Files

auth.go netrc.go

Version
v1.23.0-rc.2
Published
Jul 16, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
2 minutes ago

Tools for package owners.