mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-18 17:42:54 +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:**
|
**To enable this grant:**
|
||||||
|
|
||||||
~~~ php
|
~~~ php
|
||||||
$refrehTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant();
|
$refreshTokenGrant = new \League\OAuth2\Server\Grant\RefreshTokenGrant();
|
||||||
$server->addGrantType($refrehTokenGrant);
|
$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.
|
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…
x
Reference in New Issue
Block a user