module DOAuth { @Description("针对某一DO,添加用户的访问权限") @ArgSchema({ "doId" : "string", "publicKey" : "string" }) export function addAuthedUser(arg) { return { "code" : 0 }; } @Description("针对某一DO,删除用户的访问权限") @ArgSchema({ "doId" : "string", "publicKey" : "string" }) export function deleteAuthedUser(arg) { return { "code" : 0 }; } @Description("针对某一DO,添加节点的访问权限,所有调用进带该节点授权的用户均可访问") @ArgSchema({ "doId" : "string", "publicKey" : "string" }) export function addAuthedNode(arg) { return { "code" : 0 }; } @Description("针对某一DO,删除节点的访问权限") @ArgSchema({ "doId" : "string", "publicKey" : "string" }) export function deleteAuthedNode(arg) { return { "code" : 0 }; } }