Overview

Namespaces

  • Ctct
    • Auth
    • Components
      • Account
      • Activities
      • Contacts
      • EmailMarketing
      • Tracking
    • Exceptions
    • Services
  • PHP

Classes

  • CtctOAuth2
  • SessionDataStore

Interfaces

  • CtctDataStore
  • Overview
  • Namespace
  • Class
  • Tree

Class SessionDataStore

Example implementation of the CTCTDataStore interface that uses session for access token storage

Ctct\Auth\SessionDataStore implements Ctct\Auth\CtctDataStore
Namespace: Ctct\Auth
Package: Auth
Author: Constant Contact
Located at Ctct/Auth/SessionDataStore.php
Methods summary
public
# __construct( )
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

Ctct\Auth\CtctDataStore::addUser()
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

Ctct\Auth\CtctDataStore::getUser()
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

Ctct\Auth\CtctDataStore::updateUser()
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

Ctct\Auth\CtctDataStore::deleteUser()
Appconnect PHP SDK API documentation generated by ApiGen 2.8.0