You are here

public function GoogleApiServiceClientInterface::getScopes in Google API PHP Client 8.4

Same name and namespace in other branches
  1. 8.3 src/GoogleApiServiceClientInterface.php \Drupal\google_api_client\GoogleApiServiceClientInterface::getScopes()

Function returns the Scopes for the account.

Parameters

bool $url: TRUE if should return scope urls.

Return value

array Returns array of scopes.

1 method overrides GoogleApiServiceClientInterface::getScopes()
GoogleApiServiceClient::getScopes in src/Entity/GoogleApiServiceClient.php
Function returns the Scopes for the account.

File

src/GoogleApiServiceClientInterface.php, line 39

Class

GoogleApiServiceClientInterface
Provides an interface defining a GoogleApiServiceClient entity.

Namespace

Drupal\google_api_client

Code

public function getScopes($url = FALSE);