Hi supun, On Wed, Jul 17, 2013 at 4:18 PM, Supun Malinga <[email protected]> wrote:
> 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?. > We used this code to indicate that access token is inactive state(It can be revoked or expired). You can use generally this code to detect token is in invalid state. Thanks, Sanjeewa. > > 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 > > -- * * *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 <http://sanjeewamalalgoda.blogspot.com/>blog :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
