Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95866 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60001 invoked from network); 9 Sep 2016 14:30:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2016 14:30:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=marijic.silvio@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=marijic.silvio@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.52 as permitted sender) X-PHP-List-Original-Sender: marijic.silvio@gmail.com X-Host-Fingerprint: 74.125.82.52 mail-wm0-f52.google.com Received: from [74.125.82.52] ([74.125.82.52:38815] helo=mail-wm0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/B2-46544-E87C2D75 for ; Fri, 09 Sep 2016 10:30:39 -0400 Received: by mail-wm0-f52.google.com with SMTP id 1so36386266wmz.1 for ; Fri, 09 Sep 2016 07:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ws/KZwQQFZx5Htjlu11cNxeMbo2qbfrIA1VBRwCBNBY=; b=u+b+hW5apRxW2LiuXS4GwHy580lwvsKkEEq43OcMQH+IU8pbRXt491ldtBffZfz0yv CmB0QW7J1+6Fz1ucUR+4yvEG0XB0XoBnIQfa1VwBWDm1pWwHRtf2UVUGCpaSHJkaOu33 I6nRtHdweF+ikZ+LnZRe/Vn3X2MqAC3IQmq0qcXYLJjU83Ee6Bw9DY9ZurJ3TtMjviuD QxCARSekg2zf7LuaVsYelGos5Z8iUYBwkbG8MQ3x77V2zHX84UdbRma0B5PC9FA54Ik4 nTATAoqTahXOgqyhSWw0hpDd3j8QyBime9cPRvdxdeuEudOnnlDIjaYtW5NcfUOJUnDt QknQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ws/KZwQQFZx5Htjlu11cNxeMbo2qbfrIA1VBRwCBNBY=; b=a3saTtIZKvAv25E5aVFBe/6gEusU/krGf6ynMO28Z+IvovsdPd3BD9Z6lX8g1k/Hvx hAPDfSLOQj6gfqxqK6JoFQql1qybk4bHHe4Kh1VzDTI1xU3smlC5VroCIr/dW3QlD+cv iPsDx1m8TeBsR9oDVoCPlUFEy6owHm6RIc47bpS+HCRYBf6fOP/uHUy+CH32WHmJjno3 rCH8zwupVfHTbYjFiJMqg7mms1z3vHCd6P6IpZ8W9IFqeRCq4VXLd/FlJcK0nTF2Cztq sJku0VZ8ac+jVVF9XqAO4MD2NbapJRxoIxErwQDlS0WFOme5iXwWLBzFU0QuORi/t27X IHZg== X-Gm-Message-State: AE9vXwOzTS27Z2r9RB3cH3vBoYZa8NFkU1Ge36bCaGnunqaEgTuDOcBNhwGfonWxvPcXItCwPQzZJ3LqbXcujw== X-Received: by 10.194.103.106 with SMTP id fv10mr3232122wjb.77.1473431436060; Fri, 09 Sep 2016 07:30:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.141.71 with HTTP; Fri, 9 Sep 2016 07:30:35 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Sep 2016 16:30:35 +0200 Message-ID: To: Niklas Keller Cc: PHP Internals List Content-Type: multipart/alternative; boundary=089e010d871458efe4053c13fd0d Subject: Re: [PHP-DEV] [PHPDEV] Bearer Auth From: marijic.silvio@gmail.com (=?UTF-8?Q?Silvio_Mariji=C4=87?=) --089e010d871458efe4053c13fd0d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable @Niklas We are already supporting Basic and Digest and Bearer and MAC are used widely as a form of token authorization. 2016-09-09 14:37 GMT+02:00 Niklas Keller : > 2016-09-09 14:17 GMT+02:00 Silvio Mariji=C4=87 = : > >> Came across this issue https://bugs.php.net/bug.php?id=3D72915 and got a= n >> idea. I've added PHP_AUTH_BEARER to $_SERVER when Bearer auth token is >> used >> as Authorization method. >> >> Does this kind of change requires RFC ? Would this kind of change be >> usefull enough to go into the codebase ? >> >> Here are the changes I made: >> https://github.com/php/php-src/compare/master...smarijic:php_auth_bearer >> >> Cheers, >> Silvio. >> -- >> Silvio Mariji=C4=87 >> Software Engineer >> 2e Systems >> > > I don't see why we should special case Bearer tokens. > > Regards, Niklas > --=20 Silvio Mariji=C4=87 Software Engineer 2e Systems --089e010d871458efe4053c13fd0d--