mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
jwt: Add JWT support for minio server.
Please read JWT.md before using this feature.
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user