From 3de7d8c8f8894cfab6d8c725a447823031beb038 Mon Sep 17 00:00:00 2001 From: Christopher Pitt Date: Wed, 19 Nov 2014 17:44:08 +0200 Subject: [PATCH] Update auth-server-which-grant.md --- auth-server-which-grant.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-server-which-grant.md b/auth-server-which-grant.md index 75abf0d4..36ec2df2 100755 --- a/auth-server-which-grant.md +++ b/auth-server-which-grant.md @@ -106,8 +106,8 @@ When someone visits a member of staff’s page on the [University of Lincoln sta **To enable this grant:** ~~~ php -$refrehTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); -$server->addGrantType($refrehTokenGrant); +$refreshTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant(); +$server->addGrantType($refreshTokenGrant); ~~~ The OAuth 2.0 specification also details a fifth grant which can be used to “refresh” (i.e. renew) an access token which has expired.