TokenReviewStatus

io.k8s.api.authentication.v1.TokenReviewStatus source ↗

TokenReviewStatus is the result of the token authentication request.

audiences[]stringaudiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
authenticatedbooleanauthenticated indicates that the token was associated with a known user.
errorstringerror indicates that the token couldn't be checked
userUserInfouser is the UserInfo associated with the provided token.
extramap[string][]stringextra is any additional information provided by the authenticator.
groups[]stringgroups is the names of groups this user is a part of.
uidstringuid is a unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
usernamestringusername is the name that uniquely identifies this user among all active users.