first commit
This commit is contained in:
11
pkg/secure/auth.go
Normal file
11
pkg/secure/auth.go
Normal file
@ -0,0 +1,11 @@
|
||||
package secure
|
||||
|
||||
const (
|
||||
HeaderScopeCode = "X-SCOPE"
|
||||
HeaderNonce = "X-NONCE"
|
||||
HeaderSign = "X-S-SIGN"
|
||||
|
||||
TypeResource = "RESOURCE" // 资源权限
|
||||
TypeInterface = "INTERFACE" // 接口权限
|
||||
TypeData = "DATA" // 数据权限
|
||||
)
|
||||
Reference in New Issue
Block a user