方法列表
创建策略
admin
RPC
createHTTPAuthPolicy (CreateHTTPAuthPolicyRequest) returns (CreateHTTPAuthPolicyResponse)
HTTP
POST /HTTPAuthPolicyService/createHTTPAuthPolicy
输入对象:CreateHTTPAuthPolicyRequest:
输出对象:CreateHTTPAuthPolicyResponse:
修改策略
admin
RPC
updateHTTPAuthPolicy (UpdateHTTPAuthPolicyRequest) returns (RPCSuccess)
HTTP
POST /HTTPAuthPolicyService/updateHTTPAuthPolicy
输入对象:UpdateHTTPAuthPolicyRequest:
{ int64 httpAuthPolicyId; // 名称 string name; bytes paramsJSON; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
查找策略信息
admin
RPC
findEnabledHTTPAuthPolicy (FindEnabledHTTPAuthPolicyRequest) returns (FindEnabledHTTPAuthPolicyResponse)
HTTP
POST /HTTPAuthPolicyService/findEnabledHTTPAuthPolicy
输入对象:FindEnabledHTTPAuthPolicyRequest:
输出对象:FindEnabledHTTPAuthPolicyResponse: