Update auth-server-refresh-token.md

This commit is contained in:
Josh Sherman 2014-10-16 07:05:46 -04:00
parent f22ac591c0
commit 330dc188c8

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);
$refrehTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); $refrehTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant();
$server->addGrantType($refrehTokenGrant); $server->addGrantType($refrehTokenGrant);