You are here

public function BrightcoveAPIClient::getAccessToken in Brightcove Video Connect 8.2

Same name and namespace in other branches
  1. 8 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::getAccessToken()
  2. 3.x src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::getAccessToken()

Returns access token.

Return value

string The access token.

Overrides BrightcoveAPIClientInterface::getAccessToken

1 call to BrightcoveAPIClient::getAccessToken()
BrightcoveAPIClient::authorizeClient in src/Entity/BrightcoveAPIClient.php
Authorize client with Brightcove API and store client on the entity.

File

src/Entity/BrightcoveAPIClient.php, line 187

Class

BrightcoveAPIClient
Defines the Brightcove API Client entity.

Namespace

Drupal\brightcove\Entity

Code

public function getAccessToken() {
  return $this->key_value_expirable_store
    ->get($this->client_id, NULL);
}