Skip to main content

read_token

Function read_token 

Source
pub fn read_token(working_dir: &Path) -> Result<Option<AuthToken>>
Expand description

Read the token from <working_dir>/.dora-token.

Returns None if the file does not exist.