From dd968eae44f7339bd13e2942801b12afa7afba5e Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 21 Jul 2024 01:38:47 +0000 Subject: [PATCH] Corrected method name. --- src/OAuth2/OAuth2Routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/OAuth2Routes.php b/src/OAuth2/OAuth2Routes.php index dce7567..62c6ddc 100644 --- a/src/OAuth2/OAuth2Routes.php +++ b/src/OAuth2/OAuth2Routes.php @@ -756,7 +756,7 @@ final class OAuth2Routes extends RouteHandler { // this is a temporary endpoint so i can actually use access tokens for something already #[HttpGet('/oauth2/check_token_do_not_rely_on_this_existing_in_a_year')] - public function postIntrospect($response, $request) { + public function getCheckTokenDoNotRelyOnThisExistingInAYear($response, $request) { $authzHeader = explode(' ', (string)$request->getHeaderLine('Authorization')); if(strcasecmp($authzHeader[0], 'Bearer') !== 0 || count($authzHeader) < 2) { $response->setStatusCode(401);