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.
- Alphabetic
- By Inheritance
- TokenReviewSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
- val audiences: Optional[Vector[String]]
-
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.
-
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.
- val token: Optional[String]