You are here

public function OAuth2Manager::getEndPoints in Social Auth 8.2

Same name and namespace in other branches
  1. 3.x src/AuthManager/OAuth2Manager.php \Drupal\social_auth\AuthManager\OAuth2Manager::getEndPoints()

Gets the API endpoints to be requested.

Return value

string API endpoints separated in different lines.

Overrides OAuth2ManagerInterface::getEndPoints

1 call to OAuth2Manager::getEndPoints()
OAuth2Manager::getExtraDetails in src/AuthManager/OAuth2Manager.php
Request data from the declared endpoints.

File

src/AuthManager/OAuth2Manager.php, line 73

Class

OAuth2Manager
Defines a basic OAuth2Manager.

Namespace

Drupal\social_auth\AuthManager

Code

public function getEndPoints() {
  if ($this->endPoints === NULL) {
    $this->endPoints = $this->settings
      ->get('endpoints');
  }
  return $this->endPoints;
}