EntityShareBasicAuth.php in Entity Share 8.3
File
modules/entity_share_client/src/Plugin/KeyType/EntityShareBasicAuth.phpView source
<?php
declare (strict_types=1);
namespace Drupal\entity_share_client\Plugin\KeyType;
use Drupal\key\Plugin\KeyType\AuthenticationMultivalueKeyType;
/**
* Key module plugin to define a basic_auth credentials KeyType.
*
* @KeyType(
* id = "entity_share_basic_auth",
* label = @Translation("Entity Share Basic Auth"),
* description = @Translation("A key type to store Basic Auth credentials for the Entity Share module. Store as JSON:<br><pre>{<br>"username": "username value",<br>"password": "password value"<br>}</pre>"),
* group = "authentication",
* key_value = {
* "plugin" = "textarea_field"
* },
* multivalue = {
* "enabled" = true,
* "fields" = {
* "username" = @Translation("Username"),
* "password" = @Translation("Password")
* }
* }
* )
*/
class EntityShareBasicAuth extends AuthenticationMultivalueKeyType {
}
Classes
Name![]() |
Description |
---|---|
EntityShareBasicAuth | Key module plugin to define a basic_auth credentials KeyType. |