Expand description
Content API authentication using API keys.
The Ghost Content API uses a simple API key passed as a query parameter. This module provides a type-safe wrapper for Content API keys with validation and query parameter generation.
§Example
use ghost_io_api::auth::content::ContentApiKey;
let key = ContentApiKey::new("22444f78447824223cefc48062").unwrap();
let query_param = key.as_query_param();
assert_eq!(query_param, "key=22444f78447824223cefc48062");Structs§
- Content
ApiKey - Content API key for authentication.