Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication and token resolution.

Handles resolving API tokens from environment variables and configuration files, wrapping them in secrecy::SecretString to prevent accidental logging.

Functionsยง

resolve_token
Resolves an API token from environment or configuration.
validate_token
Verify that a secret string is non-empty (without exposing it).