Package net.stickycode.kuuty.model.v18
Class IoK8sApiAuthenticationV1TokenReviewSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAuthenticationV1TokenReviewSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAuthenticationV1TokenReviewSpec extends Object
TokenReviewSpec is a description of the token authentication request.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUDIENCESstatic StringJSON_PROPERTY_TOKEN
-
Constructor Summary
Constructors Constructor Description IoK8sApiAuthenticationV1TokenReviewSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAuthenticationV1TokenReviewSpecaddAudiencesItem(String audiencesItem)IoK8sApiAuthenticationV1TokenReviewSpecaudiences(List<String> audiences)booleanequals(Object o)List<String>getAudiences()Audiences is a list of the identifiers that the resource server presented with the token identifies as.StringgetToken()Token is the opaque bearer token.inthashCode()voidsetAudiences(List<String> audiences)voidsetToken(String token)IoK8sApiAuthenticationV1TokenReviewSpectoken(String token)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_AUDIENCES
public static final String JSON_PROPERTY_AUDIENCES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN
public static final String JSON_PROPERTY_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
audiences
public IoK8sApiAuthenticationV1TokenReviewSpec audiences(List<String> audiences)
-
addAudiencesItem
public IoK8sApiAuthenticationV1TokenReviewSpec addAudiencesItem(String audiencesItem)
-
getAudiences
@Nullable public List<String> 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:
- audiences
-
token
public IoK8sApiAuthenticationV1TokenReviewSpec token(String token)
-
getToken
@Nullable public String getToken()
Token is the opaque bearer token.- Returns:
- token
-
setToken
public void setToken(String token)
-
-