Skip to main content

token_bearer

Function token_bearer 

Source
pub fn token_bearer<S: BuildHasher>(
    env: &HashMap<String, String, S>,
) -> Option<&str>
Expand description

The setup token env carries, when non-empty. An empty value stays None: whitespace is the config loader’s to strip (once, at load), and this reads the credential as the child gets it.