rewriting how file prio works, adding token generation to backend, minor fixes

This commit is contained in:
2018-03-19 21:22:57 -04:00
parent a56a507ca2
commit fa46ba6025
10 changed files with 194 additions and 84 deletions

View File

@@ -13,6 +13,10 @@ type AuthRequest struct {
AuthString string `json:"AuthString"`
}
type TokenReturn struct {
TokenReturn string `json:"TokenReturn"`
}
//GoTorrentClaims stores the name of the client (usually user entered) and any standard jwt claims we want to define
type GoTorrentClaims struct {
ClientName string `json:"clientName"`