You are here

public function AuthManagerInterface::getAuthenticationUrl in Open Social 8.5

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  2. 8 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  3. 8.2 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  4. 8.3 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  5. 8.4 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  6. 8.6 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  7. 8.7 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()
  8. 8.8 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAuthenticationUrl()

Returns the login URL where user will be redirected for authentication.

Parameters

string $type: Type of action. "login" or "register".

array $scope: List of permissions which should be asked during authentication.

Return value

string Absolute URL.

4 methods override AuthManagerInterface::getAuthenticationUrl()
FacebookAuthManager::getAuthenticationUrl in modules/custom/social_auth_facebook/src/FacebookAuthManager.php
Returns the login URL where user will be redirected for authentication.
GoogleAuthManager::getAuthenticationUrl in modules/custom/social_auth_google/src/GoogleAuthManager.php
Returns the login URL where user will be redirected for authentication.
LinkedInAuthManager::getAuthenticationUrl in modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php
Returns the login URL where user will be redirected for authentication.
TwitterAuthManager::getAuthenticationUrl in modules/custom/social_auth_twitter/src/TwitterAuthManager.php
Returns the login URL where user will be redirected for authentication.

File

modules/custom/social_auth_extra/src/AuthManagerInterface.php, line 44

Class

AuthManagerInterface
Interface AuthManagerInterface.

Namespace

Drupal\social_auth_extra

Code

public function getAuthenticationUrl($type, array $scope = []);