AuthDataHandlerInterface.php in Open Social 8
Same filename and directory in other branches
- 8.9 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.2 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.3 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.4 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.5 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.6 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.7 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
- 8.8 modules/custom/social_auth_extra/src/AuthDataHandlerInterface.php
Namespace
Drupal\social_auth_extraFile
modules/custom/social_auth_extra/src/AuthDataHandlerInterface.phpView source
<?php
namespace Drupal\social_auth_extra;
/**
* Interface AuthDataHandlerInterface.
*
* @package Drupal\social_auth_extra
*/
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);
}
Interfaces
Name | Description |
---|---|
AuthDataHandlerInterface | Interface AuthDataHandlerInterface. |