Build a TokenValidator that resolves a presented bearer token against a
fixed in-memory table. A token present in tokens returns its associated
TokenInfo (with valid forced true so callers cannot accidentally register
a "valid" entry that fails authorization); any unknown token returns
TokenInfo.invalid().
Build a TokenValidator that resolves a presented bearer token against a fixed in-memory table. A token present in tokens returns its associated TokenInfo (with valid forced true so callers cannot accidentally register a "valid" entry that fails authorization); any unknown token returns TokenInfo.invalid().
NOT for production — see the module docs.