mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 08:53:29 +05:30
Merge pull request #429 from Bobselp/master
Add MAC Authentication to OAuthException->getHttpHeaders
This commit is contained in:
commit
abaf399f5f
@ -132,6 +132,8 @@ class OAuthException extends \Exception
|
|||||||
$authScheme = 'Bearer';
|
$authScheme = 'Bearer';
|
||||||
} elseif (strpos($authHeader, 'Basic') === 0) {
|
} elseif (strpos($authHeader, 'Basic') === 0) {
|
||||||
$authScheme = 'Basic';
|
$authScheme = 'Basic';
|
||||||
|
} elseif (strpos($authHeader, 'MAC') === 0) {
|
||||||
|
$authScheme = 'MAC';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user