Ctct\Auth\SessionDataStore
Example implementation of the CTCTDataStore interface that uses session for access token storage
- Author: Constant Contact
Synopsis
class SessionDataStore
implements
CtctDataStore
{
- // methods
- public void __construct()
- public void addUser()
- public void getUser()
- public void updateUser()
- public void deleteUser()
Hierarchy
Implements
Methods
public
- __construct()
- addUser() — Add a new user to the data store
- deleteUser() — Delete an existing user from the data store
- getUser() — Get an existing user from the data store
- updateUser() — Update an existing user in the data store