Class V1TokenReviewStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TokenReviewStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) Add an item to the audiences property in a chainable fashion.Set audiences in a chainable fashion.authenticated
(Boolean authenticated) Set authenticated in a chainable fashion.boolean
Set error in a chainable fashion.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()
int
hashCode()
void
setAudiences
(List<String> audiences) Set the audiences property valuevoid
setAuthenticated
(Boolean authenticated) Set the authenticated property valuevoid
Set the error property valuevoid
setUser
(V1UserInfo user) Set the user property valuetoString()
user
(V1UserInfo user) Set user in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_AUDIENCES
- See Also:
-
JSON_PROPERTY_AUTHENTICATED
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
-
Constructor Details
-
V1TokenReviewStatus
public V1TokenReviewStatus()
-
-
Method Details
-
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:
- the audiences property value
-
setAudiences
Set the audiences property value -
audiences
Set audiences in a chainable fashion.- Returns:
- The same instance of V1TokenReviewStatus for chaining.
-
addaudiencesItem
Add an item to the audiences property in a chainable fashion.- Returns:
- The same instance of V1TokenReviewStatus for chaining.
-
getAuthenticated
Authenticated indicates that the token was associated with a known user.- Returns:
- the authenticated property value
-
setAuthenticated
Set the authenticated property value -
authenticated
Set authenticated in a chainable fashion.- Returns:
- The same instance of V1TokenReviewStatus for chaining.
-
getError
Error indicates that the token couldn't be checked- Returns:
- the error property value
-
setError
Set the error property value -
error
Set error in a chainable fashion.- Returns:
- The same instance of V1TokenReviewStatus for chaining.
-
getUser
- Returns:
- the user property value
-
setUser
Set the user property value -
user
Set user in a chainable fashion.- Returns:
- The same instance of V1TokenReviewStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-