![]() |
MantisBase v0.4.9
|
Programmatic and REST-backed API key management. More...


Go to the source code of this file.
Classes | |
| struct | mb::ApiKeyResult |
| class | mb::MbApiKeyMgr |
| Create, list, revoke, and resolve API keys for entity users and admins. More... | |
Namespaces | |
| namespace | mb |
Typedefs | |
| using | mb::json = nlohmann::json |
| Shorten JSON namespace. | |
Programmatic and REST-backed API key management.
API keys are long-lived credentials prefixed with mb_sk_. They authenticate via Authorization: Bearer mb_sk_... and are validated by the getAuthToken() middleware. Keys are stored hashed; the raw secret is returned only once at creation.
Access from C++ through MbAuth::apiKey() on your owned MantisBase instance.