@classmethod
    def socket_auth(cls, password=None):

        if password is None:
            password = cls.password

        packet = SteamPacket.pack(password, 3)

        cls.socket_send(packet)  # Important to use _socket_send_packet. Do not want this queued or you might end up with endless reconnects
        result = cls._socket_read(True)

        if result is None:
            return False, 'No reply'

        for response in cls.incoming_packets:
            if response.packet_id == packet.packet_id:
                cls.incoming_packets.remove(response)
                cls.is_connected = True
                return True, None
            if response.packet_id == -1:
                return False, 'Failed. Wrong password?'

        return False, 'No response to auth packet'
Iterate on all :class:`Page` objects.
dataset/ETHPy150Open f4ble/pyarc/ark/steam/steam_socket_core.py/SteamSocketCore.socket_auth--crossover with--dataset/ETHPy150Open SimonSapin/Flask-FlatPages/flask_flatpages/flatpages.py/FlatPages.__iter__