BasicAuth::authenticate

public BasicAuth::authenticate(Request $request) Authenticates the user. Parameters \Symfony\Component\HttpFoundation\Request|null $request: The request object. Return value \Drupal\Core\Session\AccountInterface|null AccountInterface - in case of a successful authentication. NULL - in case where authentication failed. Overrides AuthenticationProviderInterface::authenticate File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 79 Class BasicAuth HTTP Basic authentic

BasicAuth::applies

public BasicAuth::applies(Request $request) Checks whether suitable authentication credentials are on the request. Parameters \Symfony\Component\HttpFoundation\Request $request: The request object. Return value bool TRUE if authentication credentials suitable for this provider are on the request, FALSE otherwise. Overrides AuthenticationProviderInterface::applies File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 70 Class BasicAuth HTTP Basic authentication prov

BasicAuth::$userAuth

The user auth service. Type: \Drupal\user\UserAuthInterface File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 32 Class BasicAuth HTTP Basic authentication provider. Namespace Drupal\basic_auth\Authentication\Provider Code protected $userAuth;

BasicAuth::$flood

The flood service. Type: \Drupal\Core\Flood\FloodInterface File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 39 Class BasicAuth HTTP Basic authentication provider. Namespace Drupal\basic_auth\Authentication\Provider Code protected $flood;

BasicAuth::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 46 Class BasicAuth HTTP Basic authentication provider. Namespace Drupal\basic_auth\Authentication\Provider Code protected $entityManager;

BasicAuth::$configFactory

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 25 Class BasicAuth HTTP Basic authentication provider. Namespace Drupal\basic_auth\Authentication\Provider Code protected $configFactory;

BasicAuth

HTTP Basic authentication provider. Hierarchy class \Drupal\basic_auth\Authentication\Provider\BasicAuth implements AuthenticationProviderChallengeInterface, AuthenticationProviderInterface File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 18 Namespace Drupal\basic_auth\Authentication\Provider Members Name Modifiers Type Description BasicAuth::$configFactory protected property The config factory. BasicAuth::$entityManager protected proper

base_path

base_path() Returns the base URL path (i.e., directory) of the Drupal installation. base_path() adds a "/" to the beginning and end of the returned path if the path is not empty. At the very least, this will return "/". Examples: http://example.com returns "/" because the path is empty. http://example.com/drupal/folder returns "/drupal/folder/". File core/includes/common.inc, line 413 Common functions that many Drupal modules will need to reference. Code function base_path() { return $G

BaseFormIdInterface::getBaseFormId

public BaseFormIdInterface::getBaseFormId() Returns a string identifying the base form. Return value string|null The string identifying the base form or NULL if this is not a base form. File core/lib/Drupal/Core/Form/BaseFormIdInterface.php, line 19 Class BaseFormIdInterface Provides an interface for a Form that has a base form ID. Namespace Drupal\Core\Form Code public function getBaseFormId();

BaseFormIdInterface

Provides an interface for a Form that has a base form ID. This will become the $form_state->getBaseInfo()['base_form_id'] used to generate the name of hook_form_BASE_FORM_ID_alter(). Hierarchy interface \Drupal\Core\Form\FormInterfaceinterface \Drupal\Core\Form\BaseFormIdInterface File core/lib/Drupal/Core/Form/BaseFormIdInterface.php, line 11 Namespace Drupal\Core\Form Members Name Modifiers Type Description BaseFormIdInterface::getBaseFormId public function Returns