MCPcopy
hub / github.com/openai/openai-go / SubjectTokenProvider

Interface SubjectTokenProvider

auth/types.go:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type SubjectTokenProvider interface {
20 TokenType() SubjectTokenType
21 GetToken(ctx context.Context, httpClient HTTPDoer) (string, error)
22}
23
24type WorkloadIdentity struct {
25 ClientID string

Implementers 5

k8sServiceAccountTokenProviderauth/subjecttokenprovider.go
azureManagedIdentityTokenProviderauth/subjecttokenprovider.go
gcpIDTokenProviderauth/subjecttokenprovider.go
mockProviderauth/workloadidentity_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…