python-tent-client icon indicating copy to clipboard operation
python-tent-client copied to clipboard

Add method to check if auth is working

Open longears opened this issue 13 years ago • 0 comments

We have hasRegistrationKeys() and hasPermanentKeys() which just check if the TentApp object has keys at all. Should have another method which checks if the keys work.

Call it verifyAuthKeys()

For example, this could be done by doing a getFollowers() and checking if the auth fails in the process. This will be easier once there is better error handling throughout python-tent-client.

longears avatar Oct 05 '12 19:10 longears