pub const TOKEN_DAYS: i64 = 30;Expand description
The personal access token of a desktop sign-in expires after this many days without use; every use renews it (a sliding lifetime). It keeps the full scope: the app reads, uploads, checks in and reviews like the web UI. A copy left on an unused computer dies within a month, an app in daily use never has to sign in again.