internal
v1.85.0
google.golang.org/grpc/credentials/google/internal
Documentation
pkg.go.dev ↗Package internal contains functionality internal to the google package.
Variables
BackoffStrategy (2 declarations)
var ( // BackoffStrategy is the backoff strategy to use when token fetch fails. BackoffStrategy backoff.Strategy // IDTokenFetcher returns a function used to fetch an ID token for the // given audience. It takes a ctx and audience string as parameter and // returns the raw JWT token string, token's expiration timestamp and // error if encountered. IDTokenFetcher func() func(context.Context, string) (string, time.Time, error) )
The following variables are overridden in tests.