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
APIStore is a database of API rules.
NewAPIStore creates a database of API rules based on the provided list.
Find finds an API call in the database.