mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-05 13:29:11 +08:00
14 lines
235 B
Go
14 lines
235 B
Go
package constant
|
|
|
|
const (
|
|
AuthMethodSession = "session"
|
|
SessionName = "psession"
|
|
|
|
AuthMethodJWT = "jwt"
|
|
JWTHeaderName = "PanelAuthorization"
|
|
JWTBufferTime = 3600
|
|
JWTIssuer = "1Panel"
|
|
|
|
PasswordExpiredName = "expired"
|
|
)
|