You are here

interface AuthDataHandlerInterface in Open Social 8.9

Same name and namespace in other branches
  1. 8 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  2. 8.2 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  3. 8.3 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  4. 8.4 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  5. 8.5 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  6. 8.6 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  7. 8.7 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface
  8. 8.8 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php \Drupal\social_auth_extra\AuthDataHandlerInterface

Interface AuthDataHandlerInterface.

@package Drupal\social_auth_extra

Hierarchy

Expanded class hierarchy of AuthDataHandlerInterface

All classes that implement AuthDataHandlerInterface

File

modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php, line 10

Namespace

Drupal\social_auth_extra
View source
interface AuthDataHandlerInterface {

  /**
   * Set a key which will be used as prefix for keys in the storage.
   *
   * @param string $prefix
   *   Key to use as a prefix in the storage.
   *
   * @return null
   *   Returns null.
   */
  public function setPrefix($prefix);

  /**
   * Get a value from a persistent data store.
   *
   * @param string $key
   *   A key to request data for.
   *
   * @return mixed
   *   Value in the data store.
   */
  public function get($key);

  /**
   * Set a value in the persistent data store.
   *
   * @param string $key
   *   The key to store the value by.
   * @param mixed $value
   *   The value to store.
   *
   * @return null
   *   Returns null.
   */
  public function set($key, $value);

}

Members

Namesort descending Modifiers Type Description Overrides
AuthDataHandlerInterface::get public function Get a value from a persistent data store. 1
AuthDataHandlerInterface::set public function Set a value in the persistent data store. 1
AuthDataHandlerInterface::setPrefix public function Set a key which will be used as prefix for keys in the storage. 1