auth

package
v0.0.0-...-9f8a61a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2017 License: BSD-3-Clause Imports: 8 Imported by: 0

README

GoDoc

golang.org/x/build/auth

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectTokenSource

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL