mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Remove incorrect notice
Issue #553 has seemingly been reversed, updating docs to reflect this.
This commit is contained in:
parent
7db69cceb6
commit
e1a5e0fbe5
@ -14,8 +14,6 @@ This method should return an implementation of `\League\OAuth2\Server\Entities\A
|
||||
* `League\OAuth2\Server\Entities\Traits\EntityTrait`
|
||||
* `League\OAuth2\Server\Entities\Traits\TokenEntityTrait`
|
||||
|
||||
Note in version `5.0.x` this method has a number of parameters passed in. As of version `5.1.0` these parameters have been removed because they were unnecessary (see issue #553).
|
||||
|
||||
## persistNewAccessToken() : void
|
||||
|
||||
When a new access token is created this method will be called. You don't have to do anything here but for auditing you probably want to.
|
||||
@ -36,4 +34,4 @@ This method is called when a refresh token is used to reissue an access token. T
|
||||
|
||||
## isAccessTokenRevoked() : boolean
|
||||
|
||||
This method is called when an access token is validated by the resource server middleware. Return `true` if the access token has been manually revoked before it expired. If the token is still valid return `false`.
|
||||
This method is called when an access token is validated by the resource server middleware. Return `true` if the access token has been manually revoked before it expired. If the token is still valid return `false`.
|
||||
|
Loading…
Reference in New Issue
Block a user