List Info

Thread: Re: Google Talk accounts




Re: Google Talk accounts
country flaguser name
United Kingdom
2007-05-02 07:48:38
Matt Herron wrote:
>    //Try to login with provided username and password.
>    if
(!lm_connection_authenticate_and_block(connection, user,
password,
> resource, &error))

"user" here should just be the part before the
.

> Where server = "talk.google.com" and user is
my entire gmail account ID.

Regards,
Rob

> Thanks for the help.
> Matt
> 
> On 5/1/07, Mikael Hallendal <mickeimendio.com> wrote:
>>
>> Robert McQueen skrev:
>>
>> Hi,
>>
>> > Lm 1.3 supports SASL which means the Google
server won't mind which
>> > domain you log in as (gmail.com vs
googlemail.com), but you'll still
>> > need to set the server & port and manually
enable SSL. Loudmouth 2.0 is
>> > being worked on at the moment and should
support doing a SRV record
>> > lookup to find the server, and doing TLS
encryption.
>>
>> Yes, in Loudmouth 2.0 it will be quite easy.
>>
>> ---
>> jid = lm_jid_new ("mynamegmain.com");
>> builder = g_object_new (LM_TYPE_CLIENT_BUILDER,
>>                         "jid", jid,
"password", password, NULL);
>> g_signal_connect (builder,
"open-result",
>>                   G_CALLBACK (session_opened_cb),
>>                   NULL);
>>
>> lm_client_builder_open_session (builder);
>> ---
>> With potential of having a convenience function
doing the above.
>>
>> I plan to release 1.9.0 later today. In the
meantime it's available
>> through:
>>
>> git clone
git://git.imendio.com/micke/loudmouth-2.git
>>
>> Cheers,
>>   Mikael Hallendal
>>
>> -- 
>> Imendio AB, http://www.imendio.com/
>> _______________________________________________
>> Loudmouth mailing list
>> Loudmouthlists.imendio.com
>> h
ttp://lists.imendio.com/mailman/listinfo/loudmouth
>>
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Loudmouth mailing list
> Loudmouthlists.imendio.com
> h
ttp://lists.imendio.com/mailman/listinfo/loudmouth

_______________________________________________
Loudmouth mailing list
Loudmouthlists.imendio.com
h
ttp://lists.imendio.com/mailman/listinfo/loudmouth

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )