Hi,

I can see the response for API invocation with an expired token is,
<ams:fault 
xmlns:ams="http://wso2.org/apimanager/security";><ams:code>900904</ams:code><ams:message>Access
Token Inactive</ams:message><ams:description>Access failure for API: /test,
version: 1.0.0 with key:
2974848455beee48d9012df0bb9a72</ams:description></ams:fault>

So can I user the given error code (900904) specifically detect a token
expiry scenario?.

If not what is the correct way to do this?.

thanks,
-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to