Ask a question to get started
Enter to send•Shift+Enter new line
get_tokens_with_expiry( self, ) -> tuple[OAuthToken | None, float | None]
Return tokens and their absolute expiry from one file snapshot.
Reading both fields together prevents a concurrent token rotation from pairing one token generation with another generation's expiry.