1Panel/backend/constant/session.go

14 lines
235 B
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
package constant
const (
AuthMethodSession = "session"
2022-09-08 18:47:15 +08:00
SessionName = "psession"
AuthMethodJWT = "jwt"
JWTHeaderName = "PanelAuthorization"
JWTBufferTime = 3600
2022-09-08 18:47:15 +08:00
JWTIssuer = "1Panel"
PasswordExpiredName = "expired"
2022-08-16 23:30:23 +08:00
)