Function __global->refresh_oauth2_token

Definitions

sources/oauth.php

  • Gets the oAuth access token for a particular service by doing a refresh.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$service_name string required parameter N/A N/A The name of the service
$trigger_error boolean True N/A N/A Whether to throw a software error, on error

Return

  • Access token (null: none)
  • Type: ?string
  • Set: N/A
  • Range: N/A