You are here

public function RestClient::getAuthEndpointUrl in Salesforce Suite 8.3

Get Salesforce oauth login endpoint. (OAuth step 1)

Return value

string REST OAuth Login URL.

Overrides RestClientInterface::getAuthEndpointUrl

Deprecated

in 8.x-4.0, use \Drupal\salesforce\SalesforceAuthProviderInterface::getAuthorizationEndpoint instead.

1 method overrides RestClient::getAuthEndpointUrl()
TestRestClient::getAuthEndpointUrl in src/Tests/TestRestClient.php
Get the fake OAuth endpoint.

File

src/Rest/RestClient.php, line 592

Class

RestClient
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function getAuthEndpointUrl() {
  return $this
    ->getLoginUrl() . '/services/oauth2/authorize';
}