const ( // GrantType is the grant type for the token request. GrantType = "urn:ietf:params:oauth:token-type:token-exchange" )
func NewTokenProvider(f *credsfile.GDCHServiceAccountFile, o *Options) (auth.TokenProvider, error)
NewTokenProvider returns a cloud.google.com/go/auth.TokenProvider from a GDCH cred file.
Options for NewTokenProvider.
type Options struct { STSAudience string Client *http.Client }