From 55c8df831267225dfbee05334ec7cb20babcd701 Mon Sep 17 00:00:00 2001 From: Bobselp Date: Sun, 17 Jan 2016 15:50:34 +0100 Subject: [PATCH] fix for thephpleague/oauth2-server#389 --- src/Exception/OAuthException.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Exception/OAuthException.php b/src/Exception/OAuthException.php index 2560d0eb..dd9ad62d 100644 --- a/src/Exception/OAuthException.php +++ b/src/Exception/OAuthException.php @@ -132,6 +132,8 @@ class OAuthException extends \Exception $authScheme = 'Bearer'; } elseif (strpos($authHeader, 'Basic') === 0) { $authScheme = 'Basic'; + } elseif (strpos($authHeader, 'MAC') === 0) { + $authScheme = 'MAC'; } } }