code: def finalize(self, activation_code):
          
          resp = self._send_request('FinalizeAddAuthenticator', {
              'steamid': self.backend.steam_id,
              'authenticator_time': int(time()),
              'authenticator_code': self.get_code(),
              'activation_code': activation_code,
          })
  
          if resp['status'] != EResult.TwoFactorActivationCodeMismatch and resp.get('want_more', False) and self._finalize_attempts:
              self.steam_time_offset += 30
              self._finalize_attempts -= 1
              self.finalize(activation_code)
              return
          elif not resp['success']:
              self._finalize_attempts = 5
              raise SteamAuthenticatorError("Failed to finalize authenticator. Error: %s" % repr(EResult(resp['status'])))
  
          self.steam_time_offset = int(resp['server_time']) - time()
docs: Finalize authenticator with received SMS code
  
          :param activation_code: SMS code
          :type activation_code: str
          :raises: :class:`SteamAuthenticatorError`