Structs§
- ApiKey
Config - Configuration for the API Key plugin, aligned with the TypeScript
ApiKeyOptions. - ApiKey
Endpoint - Endpoint data available to application API key callbacks.
- ApiKey
Error Details - Additional information returned when a key reaches its rate limit.
- ApiKey
Plugin - API Key management plugin.
- ApiKey
Plugin Builder - Use builder syntax to set the inputs and finish with
build(). - ApiKey
Validation Error - An API key rejection with the upstream error code and response fields.
- Create
KeyRequest - API key creation parameters for HTTP and trusted server callers.
- Create
KeyResponse - Newly issued API key. The plaintext key is only returned during creation.
- KeyExpiration
Config - Key expiration constraints.
- Rate
Limit Defaults - Global rate-limit defaults applied to newly-created keys.
- Update
KeyRequest - API key updates for HTTP and trusted server callers.
- Verify
ApiKey - Inputs for server-only API key verification. Verification consumes one use.
Enums§
- ApiKey
Error Code - Dedicated API Key error codes aligned with the TypeScript
API_KEY_ERROR_CODES. - ApiKey
Error Message - An API key rejection with the upstream error code and response fields.
- ApiKey
References - Which kind of entity a configuration’s keys belong to.
- ApiKey
Storage - Persistence used by an API Key configuration.
- ApiKey
Verification Error - Distinguishes a rejected credential from a storage or infrastructure failure.
Traits§
- ApiKey
Default Permissions - Dynamic creation permissions. Explicit permissions still cause this callback to run.
- ApiKey
Generator - Application credential generation, before hashing and starting-character storage.
- ApiKey
Getter - Synchronous key extraction used by the session hook matcher and handler.
- ApiKey
Validator - Application validation before credential state and permission checks.
Type Aliases§
- ApiKey
Permissions - Resource permissions assigned to an API key.