1Panel/core/constant/session.go

14 lines
235 B
Go
Raw Normal View History

2024-07-19 19:04:11 +08:00
package constant
const (
AuthMethodSession = "session"
SessionName = "psession"
AuthMethodJWT = "jwt"
JWTHeaderName = "PanelAuthorization"
JWTBufferTime = 3600
JWTIssuer = "1Panel"
PasswordExpiredName = "expired"
)