pub async fn access_token(
state: Option<&Path>,
repo: Option<&Path>,
) -> Result<Token, TokenError>Expand description
A usable token: from the read-only auth file when one is set, else artifactize’s own, refreshed under a cross-process lock when it is about to expire.