Commit 3709158d authored by liugaoling's avatar liugaoling

authorization

parent 5c9ac63b
...@@ -8,13 +8,13 @@ import ( ...@@ -8,13 +8,13 @@ import (
func main() { func main() {
// utils.HttpLogin("lglhope", "123456789") // utils.HttpLogin("lglhope", "123456789")
authRequestInfo := &authz.AuthRequestInfo { authRequestInfo := &authz.AuthRequestInfo {
Account: "wln" Account: "wln",
Type: "" Type: "",
Name: "wln/apple" Name: "wln/apple",
Service: "CE-Z1" Service: "CE-Z1",
IP: nil IP: nil,
Actions: [] Actions: [],
Labels: nil Labels: nil,
} }
utils.HttpAuth(authRequestInfo) utils.HttpAuth(authRequestInfo)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment