Skip to main content

Credentials

Type Alias Credentials 

Source
pub type Credentials = HashMap<String, String>;
Expand description

Fields vary by scheme (e.g. authorization_header for Basic/PAT/OAuth2, consumer_key/private_key for OAuth1, api_key for API-key auth) — kept as a flexible string map rather than a per-scheme type, since exactly one strategy is active per deployment (REQ-1.2.3) and callers already know which shape to expect from the strategy they’re using.

Aliased Type§

pub struct Credentials { /* private fields */ }