[identity] Move token definitions out of token cache to generify token cache interface

This refactors the token cache interface to separate token definitions
and cache logic.
Token and key definitions are pulled out of the token cache and moved
to token manager.
The cache provides traits that should be implemented by anything
stored in the cache.
This also adds test configuration to token manager to support tests
migrated from token cache.

Next changes: Enforce maximum cache size.

Change-Id: I63b403a2192e1cdd6b8f1f36d7cb8b334f9a9829
7 files changed
tree: f407583b18d1cfd9eb5f71ad7a00bb486a222920
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .dir-locals.el
  18. .gitattributes
  19. .gitignore
  20. .gn
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.