Merge pull request #718 from stratoss/patch-1

Changing the variable name to match the usage
This commit is contained in:
Alex Bilbie 2017-03-19 15:39:51 +00:00 committed by GitHub
commit 9bf070472b

View File

@ -17,7 +17,7 @@ Wherever you intialize your objects, initialize a new instance of the resource s
$accessTokenRepository = new AccessTokenRepository(); // instance of AccessTokenRepositoryInterface $accessTokenRepository = new AccessTokenRepository(); // instance of AccessTokenRepositoryInterface
// Path to authorization server's public key // Path to authorization server's public key
$publicKey = 'file://path/to/public.key'; $publicKeyPath = 'file://path/to/public.key';
// Setup the authorization server // Setup the authorization server
$server = new \League\OAuth2\Server\ResourceServer( $server = new \League\OAuth2\Server\ResourceServer(