mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Merge pull request #257 from assertchris/patch-1
Update auth-server-which-grant.md
This commit is contained in:
commit
9b771d8403
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user