|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?><api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMRevokeAPI_" context="/revoke">
|
|
|
|
|
<resource methods="POST" url-mapping="/*" faultSequence="_token_fault_">
|
|
|
|
|
<inSequence>
|
|
|
|
|
<property name="uri.var.portnum" expression="get-property('keyManager.port')"/>
|
|
|
|
|
<property name="uri.var.hostname" expression="get-property('keyManager.hostname')"/>
|
|
|
|
|
<property name="uri.var.portnum" expression="get-property('system','iot.keymanager.https.port')"/>
|
|
|
|
|
<property name="uri.var.hostname" expression="get-property('system','iot.keymanager.host')"/>
|
|
|
|
|
<send>
|
|
|
|
|
<endpoint>
|
|
|
|
|
<http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/oauth2/revoke">
|
|
|
|
|