build: Index | Files

package auth

import ""

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


Package Files


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 2 packages. Updated 2018-08-14. Refresh now. Tools for package owners.