Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit fabd12b

Browse files
author
Brian Retterer
committed
updated other references
1 parent 9aa382d commit fabd12b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)