You should set it in your client configuration, using AccessTokenLifetime property:
AccessTokenLifetime