Loading

  1. Configuration

Token Management extension

Token Management function are available when you execute WarpScript with io.warp10.worf.TokenGen class. This extension expose Token Management within WarpScript on the standard api/v0/exec endpoint. It enable really easy token management, as long as you know the secret.

This extension add the following functions to WarpScript:

Configuration

Your custom configurations can be stored in a new etc/conf.d/99-myWarp10.conf file. Your custom configurations will override all the predefined Warp 10 configuration.

// TOKENDUMP, TOKENGEN, TOKENSECRET
warpscript.extension.token = io.warp10.script.ext.token.TokenWarpScriptExtension
#token.secret = fillYOURsecretHERE

You MUST define a strong secret and remove the # before token.secret key.