Slide 24
Slide 24 text
AUTHENTICATION
ref.authWithOAuthToken("google", "", new Firebase.
AuthResultHandler() { @Override
public void onAuthenticated(AuthData authData) {
// the Google user is now authenticated with your Firebase app
}
@Override public void onAuthenticationError(FirebaseError firebaseError) {
// there was an error
}
});