1Panel/backend/constant/session.go

14 lines
230 B
Go

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