Class TokenReviewStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<TokenReviewStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TokenReviewStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TokenReviewStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    TokenReviewStatus is the result of the token authentication request.
    See Also:
    Serialized Form
    • Constructor Detail

      • TokenReviewStatus

        public TokenReviewStatus()
        No args constructor for use in serialization
    • Method Detail

      • getAudiences

        public List<String> 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.
      • setAudiences

        public void setAudiences​(List<String> audiences)
        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.
      • getAuthenticated

        public Boolean getAuthenticated()
        Authenticated indicates that the token was associated with a known user.
      • setAuthenticated

        public void setAuthenticated​(Boolean authenticated)
        Authenticated indicates that the token was associated with a known user.
      • getError

        public String getError()
        Error indicates that the token couldn't be checked
      • setError

        public void setError​(String error)
        Error indicates that the token couldn't be checked
      • getUser

        public UserInfo getUser()
        TokenReviewStatus is the result of the token authentication request.
      • setUser

        public void setUser​(UserInfo user)
        TokenReviewStatus is the result of the token authentication request.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)