class FacebookAuthPersistentDataHandler in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8.2 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8.3 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8.4 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8.5 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8.7 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
- 8.8 modules/custom/social_auth_facebook/src/FacebookAuthPersistentDataHandler.php \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
Variables are written to and read from session via this class.
By default, Facebook SDK uses native PHP sessions for storing data. We implement Facebook\PersistentData\PersistentDataInterface using Symfony Sessions so that Facebook SDK will use that instead of native PHP sessions. Also SimpleFbConnect reads data from and writes data to session via this class.
Hierarchy
- class \Drupal\social_auth_extra\AuthSessionDataHandler implements AuthDataHandlerInterface
- class \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler implements \Facebook\PersistentData\PersistentDataInterface
Expanded class hierarchy of FacebookAuthPersistentDataHandler
See also
https://developers.facebook.com/docs/php/PersistentDataInterface/5.0.0
1 string reference to 'FacebookAuthPersistentDataHandler'
- social_auth_facebook.services.yml in modules/
custom/ social_auth_facebook/ social_auth_facebook.services.yml - modules/custom/social_auth_facebook/social_auth_facebook.services.yml
1 service uses FacebookAuthPersistentDataHandler
- social_auth_facebook.persistent_data_handler in modules/
custom/ social_auth_facebook/ social_auth_facebook.services.yml - \Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler
File
- modules/
custom/ social_auth_facebook/ src/ FacebookAuthPersistentDataHandler.php, line 19
Namespace
Drupal\social_auth_facebookView source
class FacebookAuthPersistentDataHandler extends AuthSessionDataHandler implements PersistentDataInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthSessionDataHandler:: |
protected | property | Used for storing the session. | |
AuthSessionDataHandler:: |
protected | property | Used for storing the session prefix. | |
AuthSessionDataHandler:: |
public | function |
Get a value from a persistent data store. Overrides AuthDataHandlerInterface:: |
|
AuthSessionDataHandler:: |
public | function |
Set a value in the persistent data store. Overrides AuthDataHandlerInterface:: |
|
AuthSessionDataHandler:: |
public | function |
Set a key which will be used as prefix for keys in the storage. Overrides AuthDataHandlerInterface:: |
|
AuthSessionDataHandler:: |
public | function | Constructor. |