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

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

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

Package auth imports 7 packages (graph) and is imported by 1 packages. Updated 5 days ago. Refresh now. Tools for package owners.