Adding a Multi-Value Claim

The Add Multi-Value Claim dialog, shown in the following image, enables you to add a required multi‑value claim to the REST service method. Any REST request accessing the REST service method must provide a JSON Web Token (JWT) containing a claim with the specified key and any one of the specified values in its authorization header.

To add a multi‑value claim

  1. In the Location combo box, which contains the following values, select the location of the JWT in which the claim must be found.

    • Body will match only claims found in the body (payload), which is the location of claims about the identity of the bearer.

    • Either will match claims found in either the body or the header.

    • Header will match only claims found in the header, which is the location of claims about the token itself (for example, the type of token and the algorithm that was used to sign it).

  2. Enter the key of the claim in the Key text box and the required value in the Value text box.

  3. When you have entered a key and value, click the Add Value button to add the required value to the Values list box.

    These values represent the allowed values for the claim in the JWT so that the required value specified in the JWT must match any one of the values added to this list box.

  4. To remove a value, select it in the Values list box and then click the Remove Value button.

  5. When you have entered a key and one or more values, click the Add button to add the required claim to the REST service method.

    Alternatively, click the Cancel button to return to the Add JSON Web Token Claims dialog without adding a claim.

2020.0.01 and higher