diff --git a/auth-server-refresh-token.md b/auth-server-refresh-token.md index 8522ca85..157cf3a8 100755 --- a/auth-server-refresh-token.md +++ b/auth-server-refresh-token.md @@ -17,7 +17,7 @@ $server->setSessionStorage(new Storage\SessionStorage); $server->setAccessTokenStorage(new Storage\AccessTokenStorage); $server->setClientStorage(new Storage\ClientStorage); $server->setScopeStorage(new Storage\ScopeStorage); -$server->setAccessTokenStorage(new Storage\RefreshTokenStorage); +$server->setRefreshTokenStorage(new Storage\RefreshTokenStorage); $refreshTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); $server->addGrantType($refreshTokenGrant);