extend() публичный Метод

Upon successfully extending the token, the instance of the object is updated with the long-lived access token.
См. также: https://developers.facebook.com/docs/facebook-login/access-tokens#extending
public extend ( ) : null
Результат null
Пример #1
0
 /**
  * @depends testExtendUserAccessToken
  * @expectedException Gajus\Fuss\Exception\AccessTokenException
  * @expectedExceptionMessage Long-lived access token cannot be extended.
  */
 public function testExtendLongLivedUserAccessToken(\Gajus\Fuss\AccessToken $access_token)
 {
     $access_token->extend();
 }