Path

7x / documentation / ez publish / technical manual / 4.5 / features / rest api / authentication / oauth 2.0 / configuring the token expir...


Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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 8:50 am)

Xiongjie Chen (12/05/2011 11:12 am)

Geir Arne Waaler, Xiongjie Chen


Comments

There are no comments.