summaryrefslogtreecommitdiffstats
path: root/model/token.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/token.go')
-rw-r--r--model/token.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/token.go b/model/token.go
index 6666e112b..a4d10c7f8 100644
--- a/model/token.go
+++ b/model/token.go
@@ -8,6 +8,7 @@ import "net/http"
const (
TOKEN_SIZE = 64
MAX_TOKEN_EXIPRY_TIME = 1000 * 60 * 60 * 24 // 24 hour
+ TOKEN_TYPE_OAUTH = "oauth"
)
type Token struct {