jwt: Add JWT support for minio server.

Please read JWT.md before using this feature.
This commit is contained in:
Harshavardhana
2016-01-21 16:28:15 -08:00
parent 9cb590d800
commit 0a9496462a
39 changed files with 3629 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
package main
// AuthToken - auth token
type AuthToken struct {
Token string `json:"token" form:"token"`
}
// User users.
type User struct {
Username string `json:"username" form:"username"`
Password string `json:"password" form:"password"`
}