Class TokenRequestSpec

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