You are here

public function BrightcoveAPIClientInterface::setAccessToken in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/BrightcoveAPIClientInterface.php \Drupal\brightcove\BrightcoveAPIClientInterface::setAccessToken()
  2. 3.x 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\brightcove

Code

public function setAccessToken($access_token, $expire);