You are here

public function SalesforceAuthProviderPluginBase::getAuthorizationEndpoint in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::getAuthorizationEndpoint()
  2. 8.3 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::getAuthorizationEndpoint()

Authorization URL for this plugin type.

Return value

string Authorization URL for this plugin type.

Overrides SalesforceAuthProviderInterface::getAuthorizationEndpoint

1 call to SalesforceAuthProviderPluginBase::getAuthorizationEndpoint()
SalesforceOAuthPlugin::submitConfigurationForm in modules/salesforce_oauth/src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Form submission handler.

File

src/SalesforceAuthProviderPluginBase.php, line 247

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public function getAuthorizationEndpoint() {
  return new Uri($this
    ->getCredentials()
    ->getLoginUrl() . static::AUTH_ENDPOINT_PATH);
}