Protecting Routes: Passing The Access Token

$response = $client->request('GET', '/api/user', [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => 'Bearer '.$accessToken,
    ],
]);

Protecting Routes: Passing The Access Token — Structure map

Clickable & Draggable!

Protecting Routes: Passing The Access Token — Related pages: