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