1Panel/backend/constant/session.go

14 lines
235 B
Go
Raw Normal View History

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