mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-26 16:52:04 +05:30
Added scope to newAuthoriseRequst function
This commit is contained in:
parent
b4eeb7ca10
commit
9ea0d8f0e9
@ -179,7 +179,7 @@ class Server
|
|||||||
return $params;
|
return $params;
|
||||||
}
|
}
|
||||||
|
|
||||||
function newAuthoriseRequest(string $typeId, array $authoriseParams)
|
public function newAuthoriseRequest(string $typeId, array $authoriseParams)
|
||||||
{
|
{
|
||||||
// Check if the user already has an access token
|
// Check if the user already has an access token
|
||||||
$accessToken = $this->db->hasAccessToken($userId,
|
$accessToken = $this->db->hasAccessToken($userId,
|
||||||
|
Loading…
Reference in New Issue
Block a user