Skip to main content

gitv_tui/auth/
mod.rs

1use crate::errors::AppError;
2
3pub trait AuthProvider {
4    fn get_token(&self) -> Result<String, AppError>;
5    fn set_token(&self, token: &str) -> Result<(), AppError>;
6}
7
8pub mod keyring;
9pub mod token;