Couple of really insignificant tweaks.
Signed-off-by: Ben Corlett <bencorlett@me.com>1.0
parent
dc47a4e17a
commit
27ebf092ba
|
@ -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": [
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue