Class V1TokenReviewStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1TokenReviewStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1TokenReviewStatus
extends Object
TokenReviewStatus is the result of the token authentication request.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAudiencesItem
(String audiencesItem) authenticated
(Boolean authenticated) boolean
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token.Authenticated indicates that the token was associated with a known user.getError()
Error indicates that the token couldn't be checkedgetUser()
Get userint
hashCode()
void
setAudiences
(List<String> audiences) void
setAuthenticated
(Boolean authenticated) void
void
setUser
(V1UserInfo user) toString()
user
(V1UserInfo user)
-
Field Details
-
SERIALIZED_NAME_AUDIENCES
- See Also:
-
SERIALIZED_NAME_AUTHENTICATED
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
-
Constructor Details
-
V1TokenReviewStatus
public V1TokenReviewStatus()
-
-
Method Details
-
audiences
-
addAudiencesItem
-
getAudiences
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.- Returns:
- audiences
-
setAudiences
-
authenticated
-
getAuthenticated
Authenticated indicates that the token was associated with a known user.- Returns:
- authenticated
-
setAuthenticated
-
error
-
getError
Error indicates that the token couldn't be checked- Returns:
- error
-
setError
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-