package gdch
import "cloud.google.com/go/auth/credentials/internal/gdch"
Index ¶
- Constants
- func NewTokenProvider(f *credsfile.GDCHServiceAccountFile, o *Options) (auth.TokenProvider, error)
- type Options
Constants ¶
const ( // GrantType is the grant type for the token request. GrantType = "urn:ietf:params:oauth:token-type:token-exchange" )
Functions ¶
func NewTokenProvider ¶
func NewTokenProvider(f *credsfile.GDCHServiceAccountFile, o *Options) (auth.TokenProvider, error)
NewTokenProvider returns a cloud.google.com/go/auth.TokenProvider from a GDCH cred file.
Types ¶
type Options ¶
Options for NewTokenProvider.
Source Files ¶
gdch.go
- Version
- v0.16.2
- Published
- Jun 4, 2025
- Platform
- js/wasm
- Imports
- 18 packages
- Last checked
- 14 seconds ago –
Tools for package owners.