MCPcopy
hub / github.com/istio/istio / KubeJWTAuthenticator

Struct KubeJWTAuthenticator

security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go:44–57  ·  view source on GitHub ↗

KubeJWTAuthenticator authenticates K8s JWTs.

Source from the content-addressed store, hash-verified

42
43// KubeJWTAuthenticator authenticates K8s JWTs.
44type KubeJWTAuthenticator struct {
45 // holder of a mesh configuration for dynamically updating trust domain
46 meshHolder mesh.Holder
47
48 // Primary cluster kube client
49 kubeClient kubernetes.Interface
50 // Primary cluster ID
51 clusterID cluster.ID
52 // Primary cluster aliases
53 clusterAliases map[cluster.ID]cluster.ID
54
55 // remote cluster kubeClient getter
56 remoteKubeClientGetter RemoteKubeClientGetter
57}
58
59var _ security.Authenticator = &KubeJWTAuthenticator{}
60

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected