MintTokenRequest

  • Your end user's id. Becomes the JWT sub.

  • A map of channel id to a list of granted capabilities (for example ["connect", "publish"]). Omit on a token to allow whatever the channel config permits.

    Properties: 1
  • Opaque claims bag; travels with the token and is visible to your config's authorization logic.

    Properties: 1
  • Token lifetime. Accepts 1h, 30m, 45s, 2d, or a bare number of seconds. Defaults to one hour.