@@ -2021,7 +2021,7 @@ $apiKey = $result->getApiKey();
20212021$application = \Stormpath\Resource\Application::get("https://api.stormpath.com/v1/applications/24mp4us71ntza6lBwlu");
20222022
20232023$request = \Stormpath\Authc\Api\Request::createFromGlobals();
2024- $result = (new BasicRequestAuthenticator($application))->authenticate($request);
2024+ $result = (new \Stormpath\Authc\Api\ BasicRequestAuthenticator($application))->authenticate($request);
20252025
20262026$account = $result->getApiKey()->account;
20272027$apiKey = $result->getApiKey();
@@ -2047,7 +2047,7 @@ The `Authorization` header contains a base64 encoding of the API Key and Secret.
20472047$application = \Stormpath\Resource\Application::get("https://api.stormpath.com/v1/applications/24mp4us71ntza6lBwlu");
20482048
20492049$request = \Stormpath\Authc\Api\Request::createFromGlobals();
2050- $result = new ApiRequestAuthenticator($application)->authenticate($request);
2050+ $result = ( new \Stormpath\Authc\Api\ ApiRequestAuthenticator($application) )->authenticate($request);
20512051
20522052$tokenResponse = $result->tokenResponse;
20532053$token = $tokenResponse->accessToken;
@@ -2083,7 +2083,7 @@ Host: api.trooperapp.com
20832083$application = \Stormpath\Resource\Application::get("https://api.stormpath.com/v1/applications/24mp4us71ntza6lBwlu");
20842084
20852085$request = \Stormpath\Authc\Api\Request::createFromGlobals();
2086- $result = (new OAuthRequestAuthenticator($application))->authenticate($request);
2086+ $result = (new \Stormpath\Authc\Api\ OAuthRequestAuthenticator($application))->authenticate($request);
20872087
20882088$account = $result->getApiKey()->account;
20892089$apiKey = $result->getApiKey();
0 commit comments