Path

ez.no / documentation / ez publish / technical manual / 4.6 / features / rest api / authentication / oauth 2.0 / configuring the token expir...


This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

Configuring the token expiry time

When you first identify your client (let us say a mobile app) on OAUTH, you're given an authorization code. This code is for a one-use-only purpose. This code has then to be traded against an access token which will be used.

As a default this token is set to 1 hour (3600sec) before expiry. The expiry time is configurable in "rest.ini".

Geir Arne Waaler (10/03/2011 9:50 am)

Xiongjie Chen (12/05/2011 1:12 pm)


Comments

There are no comments.