summaryrefslogtreecommitdiff
path: root/hauth/Hybrid/StorageInterface.php
blob: 5b171ec3ab947984ad9b1cecb1ada893a662e424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php

/**
 * HybridAuth
 * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
 * (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
 */

/**
 * HybridAuth storage manager interface
 */
interface Hybrid_Storage_Interface {

	public function config($key, $value = null);

	public function get($key);

	public function set($key, $value);

	function clear();

	function delete($key);

	function deleteMatch($key);

	function getSessionData();

	function restoreSessionData($sessiondata = null);
}