Refresh tokens before any requests to remote

This commit is contained in:
Kirill Zaitsev
2015-01-27 02:32:42 +03:00
parent 9aa6c92e90
commit d225181a0f
11 changed files with 112 additions and 11 deletions

11
shared/model/token.go Normal file
View File

@@ -0,0 +1,11 @@
package model
import (
"time"
)
type Token struct {
AccessToken string
RefreshToken string
Expiry time.Time
}