APICache represents an API cache.
NewAPICache creates a new API cache
Find finds a URI in the cache and returns true and the data if found. If not found it returns false.
FindAndMatchScope finds the rule and returns true only if the scope matches as well. It also returns true of this was a public rule, allowing the callers to decide how to present the data or potentially what to do if authorization fails.
FindRule finds a rule in the APICache without validating scopes
MatchClaims receives a set of claim matchibg rules and a set of claims and returns true of the claims match the rules.