1Panel/backend/constant/session.go

15 lines
260 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 = "Authorization"
JWTSigningKey = "1panelKey"
JWTBufferTime = 86400
JWTIssuer = "1Panel"
PasswordExpiredName = "expired"
2022-08-16 23:30:23 +08:00
)