diff --git a/src/League/OAuth2/Server/Resource.php b/src/League/OAuth2/Server/Resource.php index 8bf96b11..0499ae61 100644 --- a/src/League/OAuth2/Server/Resource.php +++ b/src/League/OAuth2/Server/Resource.php @@ -161,6 +161,15 @@ class Resource 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. *