token_​authorization

Version: v2025-02-18Includes use: Yes

Criterion name: Token Verification Result

Match on Auth Token 2.0 verification results.

Default criterion

These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.

data "akamai_property_rules_builder" "token_authorization" {
  rules_v2025_02_18 {
    name     = "Token Verification Result"
    comments = "Matches on Auth Token 2.0 verification results."
    criterion {
      token_authorization {
        match_operator = "IS_ANY_FAILURE"
      }
    }
  }
}
"criterion": [
  {
    "name": "tokenAuthorization",
    "options": {
      "matchOperator": "IS_ANY_FAILURE"
    }
  }
]

Options

Option Description
match_operator
Error match scope. Value is one of:
  • IS_SUCCESS. No errors occurred.
  • IS_CUSTOM_FAILURE. Match any error in statusList.
  • IS_ANY_FAILURE. Any error occurred.