support setting expires_in per API