You are here

protected function BynderApi::getCallback in Bynder 4.0.x

Return value

string

2 calls to BynderApi::getCallback()
BynderApi::getOauthConfiguration in src/BynderApi.php
BynderApi::initiateOAuthTokenRetrieval in src/BynderApi.php
Initiates the access token retrieval.

File

src/BynderApi.php, line 496

Class

BynderApi
Bynder API service.

Namespace

Drupal\bynder

Code

protected function getCallback() : string {
  $callback = Url::fromRoute('bynder.oauth', [], [
    'absolute' => TRUE,
    'path_processing' => FALSE,
  ])
    ->toString(TRUE)
    ->getGeneratedUrl();
  return $callback;
}