case class TokenReviewSpec(audiences: Optional[Vector[String]] = Optional.Absent, token: Optional[String] = Optional.Absent) extends Product with Serializable

TokenReviewSpec is a description of the token authentication request.

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.

token

Token is the opaque bearer token.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TokenReviewSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TokenReviewSpec(audiences: Optional[Vector[String]] = Optional.Absent, token: Optional[String] = Optional.Absent)

    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.

    token

    Token is the opaque bearer token.

Value Members

  1. val audiences: Optional[Vector[String]]
  2. def getAudiences: IO[K8sFailure, Vector[String]]

    Audiences is a list of the identifiers that the resource server presented with the token identifies as.

    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.

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

  3. def getToken: IO[K8sFailure, String]

    Token is the opaque bearer token.

    Token is the opaque bearer token.

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

  4. val token: Optional[String]