mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +05:30
Added getClientId method
This commit is contained in:
parent
92e217d0ac
commit
1e57533127
@ -161,6 +161,15 @@ class Resource
|
|||||||
return $this->accessToken;
|
return $this->accessToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the client ID that created the session
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getClientId()
|
||||||
|
{
|
||||||
|
return $this->clientId;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the access token is valid or not.
|
* Checks if the access token is valid or not.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user