ability to refresh tokens

This commit is contained in:
Brad Rydzewski
2015-10-04 19:39:44 -07:00
parent dc821b8d12
commit 93c78150b6
5 changed files with 10 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ type User struct {
Login string `json:"login" meddler:"user_login"`
Token string `json:"-" meddler:"user_token"`
Secret string `json:"-" meddler:"user_secret"`
Expiry int64 `json:"-" meddler:"-"`
Expiry int64 `json:"-" meddler:"user_expiry"`
Email string `json:"email" meddler:"user_email"`
Avatar string `json:"avatar_url" meddler:"user_avatar"`
Active bool `json:"active," meddler:"user_active"`