1Panel/backend/constant/session.go
2022-10-06 15:41:57 +08:00

15 lines
260 B
Go

package constant
const (
AuthMethodSession = "session"
SessionName = "psession"
AuthMethodJWT = "jwt"
JWTHeaderName = "Authorization"
JWTSigningKey = "1panelKey"
JWTBufferTime = 86400
JWTIssuer = "1Panel"
PasswordExpiredName = "expired"
)