You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewAccessDeniedException('The access token must have a valid token.');
83
+
}
84
+
85
+
if (!in_array($callerToken->getClientId(), $this->allowedIntrospectionClients)) {
86
+
thrownewAccessDeniedException('This access token is not autorised to do introspection.');
87
+
}
56
88
57
89
$token = $this->getToken($request);
58
90
@@ -79,8 +111,9 @@ public function introspectAction(Request $request): JsonResponse
79
111
*/
80
112
privatefunctiongetToken(Request$request)
81
113
{
82
-
$tokenTypeHint = $request->request->get('token_type_hint'); // TODO move in a form type ? can be `access_token`, `refresh_token` See https://tools.ietf.org/html/rfc7009#section-4.1.2
83
-
$tokenString = $request->request->get('token'); // TODO move in a form type ?
0 commit comments