gdch

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GrantType is the grant type for the token request.
	GrantType = "urn:ietf:params:oauth:token-type:token-exchange"
)

Variables

This section is empty.

Functions

func NewTokenProvider

NewTokenProvider returns a cloud.google.com/go/auth.TokenProvider from a GDCH cred file.

Types

type Options

type Options struct {
	STSAudience string
	Client      *http.Client
}

Options for NewTokenProvider.

Jump to

Keyboard shortcuts

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