Class TokenRequestSpec

    • Constructor Detail

      • TokenRequestSpec

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

      • getAttestations

        public Map<String,​List<String>> getAttestations()
        attestations is a map of well-known keys to string-slice values. The values for each key have a specific semantic meaning, which is documented on the key definition. Requesters of tokens may ask the Kubernetes API Server to attest to certain claims. The API Server may perform authorization checks depending on the key of this map.
      • setAttestations

        public void setAttestations​(Map<String,​List<String>> attestations)
        attestations is a map of well-known keys to string-slice values. The values for each key have a specific semantic meaning, which is documented on the key definition. Requesters of tokens may ask the Kubernetes API Server to attest to certain claims. The API Server may perform authorization checks depending on the key of this map.
      • getAudiences

        public List<String> getAudiences()
        audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
      • setAudiences

        public void setAudiences​(List<String> audiences)
        audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
      • getBoundObjectRef

        public BoundObjectReference getBoundObjectRef()
        TokenRequestSpec contains client provided parameters of a token request.
      • setBoundObjectRef

        public void setBoundObjectRef​(BoundObjectReference boundObjectRef)
        TokenRequestSpec contains client provided parameters of a token request.
      • getExpirationSeconds

        public Long getExpirationSeconds()
        expirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
      • setExpirationSeconds

        public void setExpirationSeconds​(Long expirationSeconds)
        expirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
      • getAdditionalProperties

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

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

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