Persist OAuth tokens with encryption.
(tokens: dict[str, Any])
| 232 | |
| 233 | |
| 234 | def save_tokens(tokens: dict[str, Any]) -> None: |
| 235 | """Persist OAuth tokens with encryption.""" |
| 236 | _write_encrypted(_base_dir() / "auth.json", tokens) |
| 237 | |
| 238 | |
| 239 | def clear_tokens() -> bool: |