diff --git a/auth-server-refresh-token.md b/auth-server-refresh-token.md index bc6b7514..8522ca85 100755 --- a/auth-server-refresh-token.md +++ b/auth-server-refresh-token.md @@ -19,8 +19,8 @@ $server->setClientStorage(new Storage\ClientStorage); $server->setScopeStorage(new Storage\ScopeStorage); $server->setAccessTokenStorage(new Storage\RefreshTokenStorage); -$refrehTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); -$server->addGrantType($refrehTokenGrant); +$refreshTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); +$server->addGrantType($refreshTokenGrant); ~~~ -When the refresh token grant is enabled, a refresh token will automatically be created with access tokens issued requested using the [authorization code](/authorization-server/auth-code-grant/) or [resource owner password credentials](/authorization-server/resource-owner-password-credentials-grant/) grants. \ No newline at end of file +When the refresh token grant is enabled, a refresh token will automatically be created with access tokens issued requested using the [authorization code](/authorization-server/auth-code-grant/) or [resource owner password credentials](/authorization-server/resource-owner-password-credentials-grant/) grants.