mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-29 05:49:07 +08:00
15 lines
260 B
Go
15 lines
260 B
Go
package constant
|
|
|
|
const (
|
|
AuthMethodSession = "session"
|
|
SessionName = "psession"
|
|
|
|
AuthMethodJWT = "jwt"
|
|
JWTHeaderName = "Authorization"
|
|
JWTSigningKey = "1panelKey"
|
|
JWTBufferTime = 86400
|
|
JWTIssuer = "1Panel"
|
|
|
|
PasswordExpiredName = "expired"
|
|
)
|