public static function SalesforceOAuthCredentials::callbackUrl in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x modules/salesforce_oauth/src/Consumer/SalesforceOAuthCredentials.php \Drupal\salesforce_oauth\Consumer\SalesforceOAuthCredentials::callbackUrl()
Static wrapper to generate the callback url from the callback route.
Return value
string The callback URL.
2 calls to SalesforceOAuthCredentials::callbackUrl()
- SalesforceOAuthCredentials::getCallbackUrl in modules/
salesforce_oauth/ src/ Consumer/ SalesforceOAuthCredentials.php - SalesforceOAuthCredentials::__construct in modules/
salesforce_oauth/ src/ Consumer/ SalesforceOAuthCredentials.php
File
- modules/
salesforce_oauth/ src/ Consumer/ SalesforceOAuthCredentials.php, line 48
Class
- SalesforceOAuthCredentials
- Salesforce credentials extension, for drupalisms.
Namespace
Drupal\salesforce_oauth\ConsumerCode
public static function callbackUrl() {
return Url::fromRoute('salesforce.oauth_callback', [], [
'absolute' => TRUE,
'https' => TRUE,
])
->toString();
}