v1

latestOpenAPI 3.0.0Apache 2.02026-07-1410280162.7 KB
jwt-verifiers

Create one global JWT verifiers

Create one global JWT verifiers

post/api/verifiers

Request body

descstring required

Verifier description

enabledboolean required

Is it enabled

idstring required

Verifier id

namestring required

Verifier name

strictboolean required

Does it fail if JWT not found

Example request

{
  "algoSettings": {
    "secret": "a string value",
    "size": 123123,
    "type": "a string value"
  },
  "desc": "a string value",
  "enabled": true,
  "id": "a string value",
  "name": "a string value",
  "source": {
    "name": "a string value",
    "type": "a string value"
  },
  "strategy": {
    "type": "a string value",
    "verificationSettings": {
      "fields": {
        "key": "value"
      },
      "mappingSettings": {
        "map": {
          "key": "value"
        },
        "remove": [
          "a string value"
        ],
        "values": {
          "key": "value"
        }
      }
    }
  },
  "strict": true
}

Response

Successful operation

descstring required

Verifier description

enabledboolean required

Is it enabled

idstring required

Verifier id

namestring required

Verifier name

strictboolean required

Does it fail if JWT not found

Example response

{
  "algoSettings": {
    "secret": "a string value",
    "size": 123123,
    "type": "a string value"
  },
  "desc": "a string value",
  "enabled": true,
  "id": "a string value",
  "name": "a string value",
  "source": {
    "name": "a string value",
    "type": "a string value"
  },
  "strategy": {
    "type": "a string value",
    "verificationSettings": {
      "fields": {
        "key": "value"
      },
      "mappingSettings": {
        "map": {
          "key": "value"
        },
        "remove": [
          "a string value"
        ],
        "values": {
          "key": "value"
        }
      }
    }
  },
  "strict": true
}