{
  "category": "Mediation",
  "name": "revokeOneTimeToken",
  "version": "v1",
  "displayName": "Revoke One Time Token",
  "description": "This policy is used to revoke one time tokens. Attach the policy to the required resource and add the 'scope' defined in the policy to the JWT token to identify the token as a one time token ",
  "policyAttributes": [
    {
      "name": "scope",
      "displayName": "Scope",
      "description": "The designated scope name for the JWT token in order to identify the token as a One Time Token",
      "validationRegex": "^([a-zA-Z_][a-zA-Z\\d_\\-\\ ]*)$",
      "type": "String",
      "defaultValue": "OTT",
      "required": true
    }
  ],
  "applicableFlows": [
    "request"
  ],
  "supportedGateways": [
    "Synapse"
  ],
  "supportedApiTypes": [
    "HTTP"
  ]
}
