Logout - delete stored tokens
()
| 277 | |
| 278 | /// Logout - delete stored tokens |
| 279 | pub fn logout() -> io::Result<()> { |
| 280 | AuthTokens::delete()?; |
| 281 | eprintln!("Logged out successfully."); |
| 282 | Ok(()) |
| 283 | } |
| 284 | |
| 285 | /// Show current auth status |
| 286 | pub fn whoami() { |
no outgoing calls
no test coverage detected