We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a4a47 commit f97706dCopy full SHA for f97706d
1 file changed
samples/server/petstore/php-slim4/lib/App/RegisterRoutes.php
@@ -914,19 +914,19 @@ public function __invoke(\Slim\App $app): void
914
'header' => $authMethod['keyParamName'],
915
'parameter' => null,
916
'cookie' => null,
917
- ]
+ ];
918
} else if ($authMethod['isKeyInQuery']) {
919
$authenticatorConfig = [
920
'header' => null,
921
'parameter' => $authMethod['keyParamName'],
922
923
924
} else if ($authMethod['isKeyInCookie']) {
925
926
927
928
'cookie' => $authMethod['keyParamName'],
929
930
}
931
$route->add(new TokenAuthentication($authenticatorConfig));
932
0 commit comments