Skip to main content

access_token

Function access_token 

Source
pub fn access_token(login: &str, fresh: bool) -> Result<String, SyncError>
Expand description

An access token for a login’s mail (IMAP and SMTP alike): the one in memory while it lasts, else a new one from the refresh token, whose successor is kept. fresh asks a new one (after a refusal).