build: golang.org/x/build/auth Index | Files

package auth

import "golang.org/x/build/auth"

Package auth contains shared code related to OAuth2 and obtaining tokens for a project.

Index

Package Files

auth.go

func ProjectTokenSource Uses

func ProjectTokenSource(proj string, scopes ...string) (oauth2.TokenSource, error)

ProjectTokenSource returns an OAuth2 TokenSource for the given Google Project ID.

Package auth imports 8 packages (graph) and is imported by 1 packages. Updated 2017-11-18. Refresh now. Tools for package owners.