public function BrightcoveAPIClient::getAccessToken in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::getAccessToken()
- 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\EntityCode
public function getAccessToken() {
return $this->key_value_expirable_store
->get($this->client_id, NULL);
}