Skip to main content

set_token

Function set_token 

Source
pub fn set_token(host: &str, token: &str) -> Result<(), GorError>
Expand description

Store an OAuth token for the given host.

§Errors

Returns GorError::Keyring if the file cannot be written.