Class TokenReviewSpec

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

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

      • TokenReviewSpec

        public TokenReviewSpec()
        No args constructor for use in serialization
      • TokenReviewSpec

        public TokenReviewSpec​(List<String> audiences,
                               String token)
    • Method Detail

      • getAudiences

        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.
      • setAudiences

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

        public String getToken()
        Token is the opaque bearer token.
      • setToken

        public void setToken​(String token)
        Token is the opaque bearer token.
      • getAdditionalProperties

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

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

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