TokenReviewStatus

com.coralogix.zio.k8s.model.authentication.v1.TokenReviewStatus
See theTokenReviewStatus companion object
case class TokenReviewStatus(audiences: Optional[Vector[String]], authenticated: Optional[Boolean], error: Optional[String], user: Optional[UserInfo])

TokenReviewStatus is the result of the token authentication request.

Value parameters

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.

authenticated

Authenticated indicates that the token was associated with a known user.

error

Error indicates that the token couldn't be checked

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Authenticated indicates that the token was associated with a known user.

Authenticated indicates that the token was associated with a known user.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Error indicates that the token couldn't be checked

Error indicates that the token couldn't be checked

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets user.

Gets user.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product