)]}'
{
  "commit": "98ed5015f137d1c0920f5652c325db065d58cf9f",
  "tree": "fcd1577b0ee3aef86c8593011787eb3c7d77ba92",
  "parents": [
    "1ada734c98ebee109b29587808e4b2b8ed5bac7d"
  ],
  "author": {
    "name": "Frank Schroeder",
    "email": "frschroeder@ebay.com",
    "time": "Sat Apr 02 12:25:02 2016 +0200"
  },
  "committer": {
    "name": "Frank Schroeder",
    "email": "frschroeder@ebay.com",
    "time": "Sun Apr 03 22:59:52 2016 +0200"
  },
  "message": "Fix Claims.Validate\n\nThe `within()` function is wrong since it is supposed to check\n`max-delta \u003c val \u003c max+delta` but not `val \u003d\u003d max`. It also does not\nwork for the `nbf` check since that needs to verify that `nbf-leeway \u003c\nnow`\n\nAlso, if I read RFC 7519 correctly then the token should not be used\nafter `exp` and not before `nbf`. So `Validate` should check for `nbf \u003c\nnow \u003c\u003d exp` or more generally `nbf-x \u003c now \u003c\u003d exp+y`\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cc135d8a1a4a52fd6a99e48833da1b56a8639802",
      "old_mode": 33188,
      "old_path": "jwt/claims.go",
      "new_id": "51b491b3396aea88bdb23c3e3b48670a0cd9fe07",
      "new_mode": 33188,
      "new_path": "jwt/claims.go"
    },
    {
      "type": "modify",
      "old_id": "c5edd70a8a6b8b9694c396873dea33f0194d2789",
      "old_mode": 33188,
      "old_path": "jwt/claims_test.go",
      "new_id": "b27464718a58f101e4863cfca7f916514436f2f3",
      "new_mode": 33188,
      "new_path": "jwt/claims_test.go"
    }
  ]
}
