Couple of really insignificant tweaks.

Signed-off-by: Ben Corlett <bencorlett@me.com>
1.0
Ben Corlett 2013-07-12 16:36:09 +10:00
parent dc47a4e17a
commit 27ebf092ba
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"name": "league/oauth2-client",
"description": "OAuth 2.0 Client Library",
"version": "0.1",
"homepage": "https://github.com/php-loep/OAuth2-Client",
"homepage": "https://github.com/php-loep/oauth2-client",
"license": "MIT",
"require": {
"php": ">=5.3.0",
@ -15,7 +15,7 @@
"repositories": [
{
"type": "git",
"url": "https://github.com/lncd/OAuth2-Client"
"url": "https://github.com/php-loep/oauth2-client.git"
}
],
"keywords": [

View File

@ -44,10 +44,10 @@ class AccessToken
// Some providers (not many) give the uid here, so lets take it
isset($options['uid']) and $this->uid = $options['uid'];
//Vkontakte uses user_id instead of uid
// Vkontakte uses user_id instead of uid
isset($options['user_id']) and $this->uid = $options['user_id'];
//Mailru uses x_mailru_vid instead of uid
// Mailru uses x_mailru_vid instead of uid
isset($options['x_mailru_vid']) and $this->uid = $options['x_mailru_vid'];
// We need to know when the token expires, add num. seconds to current time