public function BrightcoveAPIClientInterface::setAccessToken in Brightcove Video Connect 3.x
Same name and namespace in other branches
- 8.2 src/BrightcoveAPIClientInterface.php \Drupal\brightcove\BrightcoveAPIClientInterface::setAccessToken()
- 8 src/BrightcoveAPIClientInterface.php \Drupal\brightcove\BrightcoveAPIClientInterface::setAccessToken()
Sets access token.
Parameters
string $access_token: The access token.
int $expire: The time for which the token is valid in seconds.
Return value
$this
1 method overrides BrightcoveAPIClientInterface::setAccessToken()
- BrightcoveAPIClient::setAccessToken in src/
Entity/ BrightcoveAPIClient.php - Sets access token.
File
- src/
BrightcoveAPIClientInterface.php, line 169
Class
- BrightcoveAPIClientInterface
- Provides an interface for defining Brightcove API Client entities.
Namespace
Drupal\brightcoveCode
public function setAccessToken($access_token, $expire);