Class V1TokenReviewSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TokenReviewSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1TokenReviewSpec
extends Object
TokenReviewSpec is a description of the token authentication request.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddaudiencesItem
(String audiencesItem) Add an item to the audiences property in a chainable fashion.Set audiences in a chainable fashion.boolean
Audiences is a list of the identifiers that the resource server presented with the token identifies as.getToken()
Token is the opaque bearer token.int
hashCode()
void
setAudiences
(List<@NotNull String> audiences) Set the audiences property valuevoid
Set the token property valueSet token in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_AUDIENCES
- See Also:
-
JSON_PROPERTY_TOKEN
- See Also:
-
-
Constructor Details
-
V1TokenReviewSpec
public V1TokenReviewSpec()
-
-
Method Details
-
getAudiences
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.- Returns:
- the audiences property value
-
setAudiences
Set the audiences property value- Parameters:
audiences
- property value to set
-
audiences
Set audiences in a chainable fashion.- Returns:
- The same instance of V1TokenReviewSpec for chaining.
-
addaudiencesItem
Add an item to the audiences property in a chainable fashion.- Returns:
- The same instance of V1TokenReviewSpec for chaining.
-
getToken
Token is the opaque bearer token.- Returns:
- the token property value
-
setToken
Set the token property value- Parameters:
token
- property value to set
-
token
Set token in a chainable fashion.- Returns:
- The same instance of V1TokenReviewSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-