You are here

public function RedirectDebug::token in Simple OAuth (OAuth2) & OpenID Connect 8.2

Same name and namespace in other branches
  1. 8.3 simple_oauth_extras/tests/simple_oauth_extras_test/src/Controller/RedirectDebug.php \Drupal\simple_oauth_extras_test\Controller\RedirectDebug::token()

Debug the token response for the implicit grant.

1 string reference to 'RedirectDebug::token'
simple_oauth_extras_test.routing.yml in simple_oauth_extras/tests/simple_oauth_extras_test/simple_oauth_extras_test.routing.yml
simple_oauth_extras/tests/simple_oauth_extras_test/simple_oauth_extras_test.routing.yml

File

simple_oauth_extras/tests/simple_oauth_extras_test/src/Controller/RedirectDebug.php, line 14

Class

RedirectDebug

Namespace

Drupal\simple_oauth_extras_test\Controller

Code

public function token(Request $request) {
  return new JsonResponse($request
    ->getRequestUri());
}