Overview

Namespaces

  • Ctct
    • Auth
    • Components
      • Account
      • Activities
      • Contacts
      • EmailMarketing
      • Library
      • Tracking
    • Exceptions
    • Services
    • Util
    • WebHooks

Classes

  • CtctOAuth2
  • SessionDataStore

Interfaces

  • CtctDataStore
  • Overview
  • Namespace
  • Class

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 Auth/SessionDataStore.php
Methods summary
public
# __construct( )
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
  • additional parameters

Implementation of

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

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

Implementation of

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

Ctct\Auth\CtctDataStore::deleteUser()
API documentation generated by ApiGen