Class TokenRequestSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TokenRequestSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TokenRequestSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    TokenRequestSpec contains client provided parameters of a token request.
    See Also:
    Serialized Form
    • Constructor Detail

      • TokenRequestSpec

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

      • 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)