From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: OAuth2 implementation in Elisp Date: Mon, 26 Sep 2011 22:29:58 +0200 Message-ID: <87ehz3hws9.fsf@thinkpad.tsdh.de> References: <87sjnojl7j.fsf@keller.adm.naquadah.org> <4E7BAFA4.8090800@dogan.se> <4E7BAFE2.2090102@dogan.se> <87k490jkaw.fsf@keller.adm.naquadah.org> <87d3eo984j.fsf@lifelogs.com> <87mxdsbx1n.fsf@keller.adm.naquadah.org> <87litc695c.fsf@lifelogs.com> <87vcsfmxzd.fsf@keller.adm.naquadah.org> <87y5xb4bgj.fsf@lifelogs.com> <87ehz32vm5.fsf@keller.adm.naquadah.org> <8762kf2uzg.fsf@keller.adm.naquadah.org> <87zkhr15pi.fsf@lifelogs.com> <87vcsfhydf.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317069017 12972 80.91.229.12 (26 Sep 2011 20:30:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 20:30:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 26 22:30:13 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8HoZ-0000T2-Rk for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 22:30:11 +0200 Original-Received: from localhost ([::1]:39713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8HoZ-0006RP-6Z for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 16:30:11 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8HoU-0006O4-DD for emacs-devel@gnu.org; Mon, 26 Sep 2011 16:30:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8HoQ-0003hN-Cg for emacs-devel@gnu.org; Mon, 26 Sep 2011 16:30:06 -0400 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]:60434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8HoQ-0003h1-8b for emacs-devel@gnu.org; Mon, 26 Sep 2011 16:30:02 -0400 Original-Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 844912AB97; Mon, 26 Sep 2011 16:30:01 -0400 (EDT) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 26 Sep 2011 16:30:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=E36NkvUlDqsGtGBwg1B4pzfS3+s=; b=j1qhgiCjf8fVrvAymjUrFDhHnSEH TrwqibV+LxBcnUH+F6PKbZGU4y0qF4/IBwoBsjSfixsaBEeCmsGN9XpylXf3x6LQ qQYbbjvVOeBTEEHNef7dt3zselGbDAWFW+0OFi0qGRhec0QwrUX4s8pdJkwYAuFW CpHum24ReZenjNw= X-Sasl-enc: /2TkMzmpK/gmAxZ1D1OfuvO1xK+isldcclic6H1MlOEH 1317069001 Original-Received: from thinkpad.tsdh.de (91-67-169-145-dynip.superkabel.de [91.67.169.145]) by mail.messagingengine.com (Postfix) with ESMTPSA id A9C04680188; Mon, 26 Sep 2011 16:30:00 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 26 Sep 2011 21:59:15 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144351 Archived-At: Lars Magne Ingebrigtsen writes: >> But I understand Julien so that this is really arbitrary: some >> JavaScript that has to be interpreted, an image, a video (with 30 >> seconds beer ad before), or even some flash stuff. > > If it's JS or Flash, then Emacs can't do it. (Yet. :-) > But is that common? Not sure. I've just test-driven Julien's google-contacts.el which uses oauth2.el, and the google page showing the auth code constists of first a large part of JavaScript and CSS stuff and then plain but complex HTML where the auth code is inside a . Possibly, one could rip out the code of the page with some heuristics, but that doesn't look very promising in the general case... Bye, Tassilo