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( mixed $username, array $params )
Add a new user to the data store
Add a new user to the data store
Parameters
- $username
mixed $id - unique identifier
- $params
array $params - additional parameters
Params
string $username - Constant Contact username
array $params - additional parameters
Implementation of
|
public
|
#
getUser( mixed $username )
Get an existing user from the data store
Get an existing user from the data store
Parameters
- $username
mixed $id - unique identifier
Params
string $username - Constant Contact username
Implementation of
|
public
|
#
updateUser( mixed $username, array $params )
Update an existing user in the data store
Update an existing user in the data store
Parameters
- $username
mixed $id - unique identifier
- $params
array $params - additional parameters
Params
string $username - Constant Contact username
array $params - additional parameters
Implementation of
|
public
|
#
deleteUser( mixed $username )
Delete an existing user from the data store
Delete an existing user from the data store
Parameters
- $username
mixed $id - unique identifier
Params
string $username - Constant Contact username
Implementation of
|