Skip to main content

load_api_token

Function load_api_token 

Source
pub fn load_api_token(
    config_path: impl AsRef<Path>,
    configured_path: Option<&str>,
) -> Result<LoadedApiToken, ApiSecurityError>
Expand description

Resolve and load the configured API token without creating a missing file.