Fixes the README examples of using the access token properties
parent
1008fbee5e
commit
b91e005dd0
|
@ -76,13 +76,13 @@ if ( ! isset($_GET['code'])) {
|
|||
}
|
||||
|
||||
// Use this to interact with an API on the users behalf
|
||||
echo $token->access_token;
|
||||
echo $token->accessToken;
|
||||
|
||||
// Use this to get a new access token if the old one expires
|
||||
echo $token->refresh_token;
|
||||
echo $token->refreshToken;
|
||||
|
||||
// Number of seconds until the access token will expire, and need refreshing
|
||||
echo $token->expires_in;
|
||||
echo $token->expires;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue