mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Added getAccessToken, fixed validateRefreshToken docblock
This commit is contained in:
parent
d149490c78
commit
2a3ae641ab
@ -112,10 +112,17 @@ interface SessionInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Validate a refresh token
|
* Validate a refresh token
|
||||||
* @param string $accessToken The access token
|
* @param string $refreshToken The access token
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function validateRefreshToken($accessToken);
|
public function validateRefreshToken($refreshToken);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get an access token by ID
|
||||||
|
* @param int $accessTokenId The access token ID
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getAccessToken($accessTokenId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate a scope with an access token
|
* Associate a scope with an access token
|
||||||
|
Loading…
Reference in New Issue
Block a user