Open mtastafford opened 6 years ago
Good issue, I will try to add it tomorrow, but until you can use this code for update and get access_token
from steemconnect_auth.models import SteemConnectUser
steem_connect_user = SteemConnectUser.objects.filter(user="username")
new_access_token = steem_connect_user.update_access_token("your app secret")
Need to check for expired token to validate refresh token request.
Add expiry_date datetime field to model?
7-days (606024*7 seconds) after access_token issue...