Module auth

Module auth 

Source
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§

AuthConfig
Authentication configuration

Functions§

add_auth_headers_async
Add authentication headers to a request builder