public function RedirectDebug::token in Simple OAuth (OAuth2) & OpenID Connect 5.x
Same name and namespace in other branches
- 8.4 tests/simple_oauth_test/src/Controller/RedirectDebug.php \Drupal\simple_oauth_test\Controller\RedirectDebug::token()
Debug the token response for the implicit grant.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The request.
Return value
\Symfony\Component\HttpFoundation\JsonResponse The response.
1 string reference to 'RedirectDebug::token'
- simple_oauth_test.routing.yml in tests/
simple_oauth_test/ simple_oauth_test.routing.yml - tests/simple_oauth_test/simple_oauth_test.routing.yml
File
- tests/
simple_oauth_test/ src/ Controller/ RedirectDebug.php, line 23
Class
- RedirectDebug
- Debug route for the implicit grant.
Namespace
Drupal\simple_oauth_test\ControllerCode
public function token(Request $request) {
return new JsonResponse($request
->getRequestUri());
}