You are here

public function BynderApiInterface::finishOAuthTokenRetrieval in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::finishOAuthTokenRetrieval()
  2. 8 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::finishOAuthTokenRetrieval()
  3. 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\bynder

Code

public function finishOAuthTokenRetrieval($code);