mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Fix typo in function name
This commit is contained in:
parent
4a464dd336
commit
592dd2f433
@ -293,7 +293,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
|
|||||||
if ($codeChallenge !== null) {
|
if ($codeChallenge !== null) {
|
||||||
$codeChallengeMethod = $this->getQueryStringParameter('code_challenge_method', $request, 'plain');
|
$codeChallengeMethod = $this->getQueryStringParameter('code_challenge_method', $request, 'plain');
|
||||||
|
|
||||||
if (array_key_exitst($codeChallengeMethod, $this->codeChallengeVerifiers) === false) {
|
if (array_key_exists($codeChallengeMethod, $this->codeChallengeVerifiers) === false) {
|
||||||
throw OAuthServerException::invalidRequest(
|
throw OAuthServerException::invalidRequest(
|
||||||
'code_challenge_method',
|
'code_challenge_method',
|
||||||
'Code challenge method must be one of ' . implode(', ', array_map(
|
'Code challenge method must be one of ' . implode(', ', array_map(
|
||||||
|
Loading…
Reference in New Issue
Block a user