LinkedIn offers programmatic refresh tokens that are valid for a fixed length of time. Once expired the account owner must reconnect.