04.05.2012 09:39 AM
But in order to do this I need auth code (which I do not have at that point):
Does it mean that using NET SDK there is NO way to get new access token if I have a refresh token? Every time application needs to get explicit user's persmission (with redirect to auth.api.att.com and PIN in SMS message) if its more than 2 hourse since last permission request?
04.05.2012 11:55 AM
The RequestFactory uses the code to retrieve the access_token, expires_in, and refresh_token. Every time a method is called the RequestFactory checks to see if the access_token is still valid. If it isn’t then it uses the refresh_token to get a new access_token.