Closed dbrgn closed 6 years ago
No, the signature is automatically renewed. Apple tells one hour, we do 45 minutes to be on the safe side.
It is all automatic and thread-safe, I should probably rethink the README.
Ah, I misread the readme. It says "the connection should handle". That was a statement, not a requirement towards the user :smile: Sorry.
The documentation can always be better. I'm not a native English speaker, so corrections are appreciated.
In the README you write:
Is the lifetime of the JWT token tracked somehow? Is it the responsibility of the user to renew the signature? If yes, is there a way to renew the signature without recreating a client instance?
If this isn't being done yet, could this crate register a timer to auto-renew the signature, so that the user doesn't have to deal with it anymore?