Skip to content

authentication.v1.tokenReviewSpec

"TokenReviewSpec is a description of the token authentication request."

Index

Fields

fn withAudiences

withAudiences(audiences)

"Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."

fn withAudiencesMixin

withAudiencesMixin(audiences)

"Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."

Note: This function appends passed data to existing values

fn withToken

withToken(token)

"Token is the opaque bearer token."