Wraith. ApiKeys
(Wraith v0.1.0)
View Source
Keys for the JSON APIs. Two kinds, as in Ghost:
"content"— read-only, public content (/api/content/*), passed as?key=like Ghost's Content API key"admin"— full access (/api/admin/*), sent asAuthorization: Bearer <key>
A key is <id>:<secret>; only the SHA-256 of the secret is stored.
Summary
Functions
Create a key; the raw key is returned once.
The key record a raw <id>:<secret> identifies, if it is live and of kind.
Functions
Create a key; the raw key is returned once.
The key record a raw <id>:<secret> identifies, if it is live and of kind.