Files
servicebase/pkg/secure/auth.go
2025-11-18 17:48:20 +08:00

12 lines
250 B
Go

package secure
const (
HeaderScopeCode = "X-SCOPE"
HeaderNonce = "X-NONCE"
HeaderSign = "X-S-SIGN"
TypeResource = "RESOURCE" // 资源权限
TypeInterface = "INTERFACE" // 接口权限
TypeData = "DATA" // 数据权限
)