Skip to content

Commit

Permalink
Added getClientId method
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbilbie committed May 9, 2013
1 parent 92e217d commit 1e57533
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/League/OAuth2/Server/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,15 @@ public function getAccessToken()
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.
*
Expand Down

0 comments on commit 1e57533

Please sign in to comment.