public function BynderApiInterface::finishOAuthTokenRetrieval in Bynder 4.0.x
Same name and namespace in other branches
- 8.3 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::finishOAuthTokenRetrieval()
- 8 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::finishOAuthTokenRetrieval()
- 8.2 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::finishOAuthTokenRetrieval()
Finishes the access token retrieval after the user has been redirected.
When Bynder redirects the user back after the successful login this function takes over and gets the access token and stores it for the future use.
Parameters
string code: The Oauth authorization code.
1 method overrides BynderApiInterface::finishOAuthTokenRetrieval()
- BynderApi::finishOAuthTokenRetrieval in src/
BynderApi.php - Finishes the access token retrieval after the user has been redirected.
File
- src/
BynderApiInterface.php, line 43
Class
- BynderApiInterface
- Provides Drupal 8 Bynder API.
Namespace
Drupal\bynderCode
public function finishOAuthTokenRetrieval($code);