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

Error handling in getAccessToken() #49

Open
simonwelsh opened this issue Feb 5, 2014 · 1 comment
Open

Error handling in getAccessToken() #49

simonwelsh opened this issue Feb 5, 2014 · 1 comment

Comments

@simonwelsh
Copy link

Currently, getAccessToken() assumes that the call to access_token always returns a valid token. However, if the code has expired, has been used before, is incorrect or in a range of other cases, an error is returned instead.

@simonwelsh
Copy link
Author

So, I was wrong. It does already throw an AppDotNetException. However, it contains the entire response now just the error message (HTTP code's 400).

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

No branches or pull requests

1 participant