You are here

public function OauthTokenFileStorage::getAccessToken in Apigee Edge 8

File

src/OauthTokenFileStorage.php, line 103

Class

OauthTokenFileStorage
Stores OAuth token data in a file.

Namespace

Drupal\apigee_edge

Code

public function getAccessToken() : ?string {
  $token_data = $this
    ->getTokenData();
  return $token_data['access_token'] ?? NULL;
}