Expand description
Authentication module for API key management
This module provides authentication functionality for the Rain SDK.
It supports API key authentication via the Api-Key header.
§Authentication Methods
§API Key Authentication
Simple authentication using an API key:
use rain_sdk::AuthConfig;
let auth = AuthConfig::with_api_key("your-api-key".to_string());Structs§
- Auth
Config - Authentication configuration
Functions§
- add_
auth_ headers_ async - Add authentication headers to a request builder