Function __global->get_oauth_refresh_token

Definitions

sources/oauth.php

  • Gets the oAuth refresh token for a particular service.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$service_name string No No required parameter N/A N/A The name of the service

Returns

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

Preview

Code (PHP)

/**
 * Gets the oAuth refresh token for a particular service.
 *
 * @param  string $service_name The name of the service
 * @return ?string Refresh token (null: none)
 */

function get_oauth_refresh_token(string $service_name) : ?string