MCPcopy Create free account
hub / github.com/prometheus/common / TokenSource

Method TokenSource

config/http_config.go:979–979  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

977
978type oauth2TokenSourceConfig interface {
979 TokenSource(ctx context.Context) oauth2.TokenSource
980}
981
982func (rt *oauth2RoundTripper) newOauth2TokenSource(req *http.Request, clientCredential string) (client *http.Client, source oauth2.TokenSource, err error) {

Callers 1

newOauth2TokenSourceMethod · 0.95

Implementers 1

JwtGrantTypeConfigconfig/oauth_assertion.go

Calls

no outgoing calls

Tested by

no test coverage detected