diffusion_rs_common

Function get_token

source
pub fn get_token(source: &TokenSource) -> Result<Option<String>>
Expand description

This reads a token from a specified source. If the token cannot be read, a warning is logged with tracing and no token is used.