Closed hackergrrl closed 6 years ago
If I correctly grok how authorization works, this should just be a matter of iterating over _writers
and checking for that key.
db.feeds contain all authorized keys. there is an api called .authorized(key) -> bool as well. we prob need docs for both
+1 for docs!
AFAICT this is done. authorize
and authorized
are documented in the readme.
hyperdb#authorize
makes it possible to authorize new keys, but there's no API for querying this information. The only way I can think of right now is running ahyperdb#createHistoryStream
over all historic data (and perhaps indexing that locally).