Codebase list empathy / 46aaeb6
Implement Google OAUTH2 authentication for GOA accounts GOA recently switched to OAuth2 for Google accounts, so we can use its credentials to access Google Talk without a password. https://bugzilla.gnome.org/show_bug.cgi?id=652546 Giovanni Campagna authored 11 years ago Debarshi Ray committed 11 years ago
1 changed file(s) with 9 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
181181 auth_cb, data);
182182 break;
183183
184 case EMPATHY_SASL_MECHANISM_GOOGLE:
185 empathy_sasl_auth_google_async (data->channel,
186 goa_account_get_identity (goa_object_peek_account (data->goa_object)),
187 access_token, auth_cb, data);
188 break;
189
184190 default:
185191 g_assert_not_reached ();
186192 }
350356
351357 mech = empathy_sasl_channel_select_mechanism (channel);
352358 return mech == EMPATHY_SASL_MECHANISM_FACEBOOK ||
353 mech == EMPATHY_SASL_MECHANISM_WLM;
354 }
359 mech == EMPATHY_SASL_MECHANISM_WLM ||
360 mech == EMPATHY_SASL_MECHANISM_GOOGLE;
361 }