allow both expires_at and created_at to be set in the create event method