method refreshAccessToken documentation in bbn\Api\Permissions\MolliePermissions

function(string $refresh_token) { try { $tokens = $this->provider->getAccessToken(new RefreshToken(), [ 'refresh_token' => $refresh_token ]); return [ 'access_token' => $tokens->getToken(), 'refresh_token' => $tokens->getRefreshToken(), 'expires_in' => $tokens->getExpires() ]; } catch (IdentityProviderException $e) { exit($e->getMessage()); } }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.