mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-03 18:51:53 +05:30
Update auth-server-which-grant.md
This commit is contained in:
parent
03d7e55d53
commit
3de7d8c8f8
@ -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