mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-02 00:19:09 +08:00
14 lines
231 B
Go
14 lines
231 B
Go
package constant
|
|
|
|
const (
|
|
AuthMethodSession = "session"
|
|
SessionName = "psession"
|
|
|
|
AuthMethodJWT = "jwt"
|
|
JWTHeaderName = "Authorization"
|
|
JWTBufferTime = 86400
|
|
JWTIssuer = "1Panel"
|
|
|
|
PasswordExpiredName = "expired"
|
|
)
|