mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +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
|
||||
* @param string $accessToken The access token
|
||||
* @param string $refreshToken The access token
|
||||
* @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
|
||||
|
Loading…
Reference in New Issue
Block a user