Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to check if auth is working #36

Open
longears opened this issue Oct 5, 2012 · 0 comments
Open

Add method to check if auth is working #36

longears opened this issue Oct 5, 2012 · 0 comments

Comments

@longears
Copy link
Owner

longears commented Oct 5, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant