我想在验证 apikey 时在 apigee 边缘提出错误。这是正确的方法吗?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GetOAuthV1Info enabled="true" continueOnError="false" async="false" name="ValidateAPIKey">
<DisplayName>Validate API Key Policy</DisplayName>
<FaultRules>
<FaultRule>
<Description>InvalidApiKey</Description>
<Condition>(flow.param.apikey)=NULL</Condition>
</FaultRule>
</FaultRules>
<Properties/>
<AppKey ref="flow.param.apikey"/>
</GetOAuthV1Info>