{
  "iface": "futoin.defense",
  "version": "0.4",
  "ftn3rev": "1.9",
  "imports": [
    "futoin.ping:1.0",
    "futoin.auth.types:0.4"
  ],
  "funcs": {
    "onCall": {
      "params": {
        "user": "AuthInfo",
        "client": "ClientFingerprints",
        "request": "FTNRequest"
      },
      "result": {
        "refid": "UUIDB64"
      },
      "desc": "Call before processing each client's call"
    },
    "onResult": {
      "params": {
        "refid": "UUIDB64",
        "response": "FTNResponse"
      },
      "desc": "Call after processing each client's call"
    },
    "onFail": {
      "params": {
        "refid": "UUIDB64",
        "error": {
          "type": "string",
          "desc": "Generated error"
        },
        "error_info": {
          "type": "string",
          "desc": "Generated error info"
        }
      },
      "desc": "Call before processing each client's call"
    }
  },
  "requires": [
    "SecureChannel"
  ],
  "desc": "AuthService Backend Provider interface"
}