authentication.v1.tokenReviewStatus
"TokenReviewStatus is the result of the token authentication request."
Index
fn withAudiences(audiences)
fn withAudiencesMixin(audiences)
fn withAuthenticated(authenticated)
fn withError(err)
obj user
Fields
fn withAudiences
withAudiences(audiences)
"Audiences 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."
fn withAudiencesMixin
withAudiencesMixin(audiences)
"Audiences 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."
Note: This function appends passed data to existing values
fn withAuthenticated
withAuthenticated(authenticated)
"Authenticated indicates that the token was associated with a known user."
fn withError
withError(err)
"Error indicates that the token couldn't be checked"
obj user
"UserInfo holds the information about the user needed to implement the user.Info interface."
fn user.withExtra
withExtra(extra)
"Any additional information provided by the authenticator."
fn user.withExtraMixin
withExtraMixin(extra)
"Any additional information provided by the authenticator."
Note: This function appends passed data to existing values
fn user.withGroups
withGroups(groups)
"The names of groups this user is a part of."
fn user.withGroupsMixin
withGroupsMixin(groups)
"The names of groups this user is a part of."
Note: This function appends passed data to existing values
fn user.withUid
withUid(uid)
"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."
fn user.withUsername
withUsername(username)
"The name that uniquely identifies this user among all active users."