Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const Issuer + const IssuerClaim + const NamespaceClaim + const SecretNameClaim + const ServiceAccountNameClaim + const ServiceAccountUIDClaim + const SubjectClaim + func InternalIsServiceAccountToken(secret *api.Secret, sa *api.ServiceAccount) bool + func IsServiceAccountToken(secret *v1.Secret, sa *v1.ServiceAccount) bool + func JWTTokenAuthenticator(keys []interface{}, lookup bool, getter ServiceAccountTokenGetter) authenticator.Token + func UserInfo(namespace, name, uid string) user.Info + type ServiceAccountTokenGetter interface + GetSecret func(namespace, name string) (*v1.Secret, error) + GetServiceAccount func(namespace, name string) (*v1.ServiceAccount, error) + type TokenGenerator interface + GenerateToken func(serviceAccount v1.ServiceAccount, secret v1.Secret) (string, error) + func JWTTokenGenerator(privateKey interface{}) TokenGenerator