Versions in this module Expand all Collapse all v0 v0.1.0 Sep 9, 2026 Changes in this version + func NewHTTPClient(issuer, certificateAuthorityFile, discoveryTokenFile string) (*http.Client, error) + type Claims struct + Audiences []string + Expiration time.Time + IssuedAt time.Time + Issuer string + JTI string + NotBefore time.Time + Subject string + type KeyAndID struct + KeyID string + PublicKey crypto.PublicKey + type KubernetesClaims struct + Namespace string + NodeName string + NodeUID string + PodName string + PodUID string + SecretName string + SecretUID string + ServiceAccountName string + ServiceAccountUID string + WarnAfter time.Time + type Verifier struct + func NewVerifier(issuer string, audiences []string, httpClient *http.Client) *Verifier + func (v *Verifier) Verify(ctx context.Context, jwt string, now time.Time) (*Claims, error)