mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-24 14:09:49 +05:30
Changing the variable name to match the usage
This commit is contained in:
parent
e6e6f75b56
commit
80deeaaec3
@ -17,7 +17,7 @@ Wherever you intialize your objects, initialize a new instance of the resource s
|
||||
$accessTokenRepository = new AccessTokenRepository(); // instance of AccessTokenRepositoryInterface
|
||||
|
||||
// Path to authorization server's public key
|
||||
$publicKey = 'file://path/to/public.key';
|
||||
$publicKeyPath = 'file://path/to/public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new \League\OAuth2\Server\ResourceServer(
|
||||
@ -43,4 +43,4 @@ If the access token is valid the following attributes will be set on the ServerR
|
||||
* `oauth_user_id` - the user identifier represented by the access token
|
||||
* `oauth_scopes` - an array of string scope identifiers
|
||||
|
||||
If the authorization is invalid an instance of `OAuthServerException::accessDenied` will be thrown.
|
||||
If the authorization is invalid an instance of `OAuthServerException::accessDenied` will be thrown.
|
||||
|
Loading…
Reference in New Issue
Block a user