Skip to content

Commit

Permalink
policy/token_introspection: add min/max for tokens and tlls in json s…
Browse files Browse the repository at this point in the history
…chema
  • Loading branch information
davidor committed Jun 4, 2018
1 parent 4551143 commit 393fc62
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@
},
"max_ttl_tokens": {
"description": "Max TTL for cached tokens",
"type": "integer"
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"max_cached_tokens": {
"description": "Max number of tokens to cache",
"type": "integer"
"type": "integer",
"minimum": 0,
"maximum": 10000
}
}
}
Expand Down

0 comments on commit 393fc62

Please sign in to comment.