You are here

public function OauthInterface::refreshAccess in Media: Acquia DAM 8

Refresh an existing access token.

Parameters

string $refresh_token: The refresh token.

Return value

array Returns an array with three keys:

  • access_token: The access token used for API authorization.
  • expire_time: The unix timestamp when the access token expires.
  • refresh_token: The refresh token used for API authorization.
1 method overrides OauthInterface::refreshAccess()
Oauth::refreshAccess in src/Oauth.php
Refresh an existing access token.

File

src/OauthInterface.php, line 55

Class

OauthInterface
OAuth Interface.

Namespace

Drupal\media_acquiadam

Code

public function refreshAccess($refresh_token);