Class SessionDataStore
Example implementation of the CTCTDataStore interface that uses session for access token storage
-
Ctct\Auth\SessionDataStore
implements
Ctct\Auth\CtctDataStore
Methods summary
public
|
|
public
|
#
addUser( string $username, array $params )
Add a new user to the data store
Add a new user to the data store
Parameters
- $username
- Constant Contact username
- $params
Implementation of
|
public
Array
|
#
getUser( string $username )
Get an existing user from the data store
Get an existing user from the data store
Parameters
- $username
- Constant Contact username
Returns
Array params of the username in the datastore, or false if the username doesn't exist
Implementation of
|
public
|
#
updateUser( string $username, array $params )
Update an existing user in the data store
Update an existing user in the data store
Parameters
- $username
- Constant Contact username
- $params
Implementation of
|
public
|
#
deleteUser( string $username )
Delete an existing user from the data store
Delete an existing user from the data store
Parameters
- $username
- Constant Contact username
Implementation of
|