libauthcekunit 2.0.1

Super robust CSRF token extractor with configurable retry, logging, and strict validation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CsrfToken {
    pub value: String,
    pub source_url: String,
    pub extracted_at: std::time::SystemTime,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FetchOptions {
    pub timeout_secs: u64,
    pub max_retries: u32,
    pub retry_initial_interval_ms: u64,
    pub follow_redirects: bool,
    pub max_redirects: u32,
}