Merge pull request #233 from joshtronic/patch-1

Update auth-server-refresh-token.md
This commit is contained in:
Alex Bilbie 2014-10-17 12:22:37 +01:00
commit 51d11f6740

View File

@ -17,7 +17,7 @@ $server->setSessionStorage(new Storage\SessionStorage);
$server->setAccessTokenStorage(new Storage\AccessTokenStorage); $server->setAccessTokenStorage(new Storage\AccessTokenStorage);
$server->setClientStorage(new Storage\ClientStorage); $server->setClientStorage(new Storage\ClientStorage);
$server->setScopeStorage(new Storage\ScopeStorage); $server->setScopeStorage(new Storage\ScopeStorage);
$server->setAccessTokenStorage(new Storage\RefreshTokenStorage); $server->setRefreshTokenStorage(new Storage\RefreshTokenStorage);
$refreshTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); $refreshTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant();
$server->addGrantType($refreshTokenGrant); $server->addGrantType($refreshTokenGrant);