reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
repro::UserStore Class Reference

#include <UserStore.hxx>

Public Types

typedef resip::Data Key
 

Public Member Functions

 UserStore (AbstractDb &db)
 
virtual ~UserStore ()
 
AbstractDb::UserRecord getUserInfo (const Key &key) const
 
resip::Data getUserAuthInfo (const resip::Data &user, const resip::Data &realm) const
 
bool addUser (const resip::Data &user, const resip::Data &domain, const resip::Data &realm, const resip::Data &password, bool applyA1HashToPassword, const resip::Data &fullName, const resip::Data &emailAddress, const resip::Data &passwordHashAlt=resip::Data::Empty)
 
void eraseUser (const Key &key)
 
bool updateUser (const Key &originalKey, const resip::Data &user, const resip::Data &domain, const resip::Data &realm, const resip::Data &password, bool applyA1HashToPassword, const resip::Data &fullName, const resip::Data &emailAddress, const resip::Data &passwordHashAlt=resip::Data::Empty)
 
Key getFirstKey ()
 
Key getNextKey ()
 

Static Public Member Functions

static Key buildKey (const resip::Data &user, const resip::Data &domain)
 
static void getUserAndDomainFromKey (const AbstractDb::Key &key, resip::Data &user, resip::Data &domain)
 

Detailed Description

Definition at line 20 of file UserStore.hxx.

Member Typedef Documentation

◆ Key

Constructor & Destructor Documentation

◆ UserStore()

UserStore::UserStore ( AbstractDb &  db)

Definition at line 27 of file UserStore.cxx.

◆ ~UserStore()

UserStore::~UserStore ( )
virtual

Definition at line 31 of file UserStore.cxx.

Member Function Documentation

◆ addUser()

bool UserStore::addUser ( const resip::Data &  user,
const resip::Data &  domain,
const resip::Data &  realm,
const resip::Data &  password,
bool  applyA1HashToPassword,
const resip::Data &  fullName,
const resip::Data &  emailAddress,
const resip::Data &  passwordHashAlt = resip::Data::Empty 
)

Definition at line 50 of file UserStore.cxx.

◆ buildKey()

UserStore::Key UserStore::buildKey ( const resip::Data &  user,
const resip::Data &  domain 
)
static

Definition at line 125 of file UserStore.cxx.

◆ eraseUser()

void UserStore::eraseUser ( const Key &  key)

Definition at line 86 of file UserStore.cxx.

◆ getFirstKey()

UserStore::Key UserStore::getFirstKey ( )

Definition at line 113 of file UserStore.cxx.

◆ getNextKey()

UserStore::Key UserStore::getNextKey ( )

Definition at line 119 of file UserStore.cxx.

◆ getUserAndDomainFromKey()

void UserStore::getUserAndDomainFromKey ( const AbstractDb::Key &  key,
resip::Data &  user,
resip::Data &  domain 
)
static

Definition at line 132 of file UserStore.cxx.

◆ getUserAuthInfo()

Data UserStore::getUserAuthInfo ( const resip::Data &  user,
const resip::Data &  realm 
) const

Definition at line 42 of file UserStore.cxx.

◆ getUserInfo()

AbstractDb::UserRecord UserStore::getUserInfo ( const Key &  key) const

Definition at line 36 of file UserStore.cxx.

◆ updateUser()

bool UserStore::updateUser ( const Key &  originalKey,
const resip::Data &  user,
const resip::Data &  domain,
const resip::Data &  realm,
const resip::Data &  password,
bool  applyA1HashToPassword,
const resip::Data &  fullName,
const resip::Data &  emailAddress,
const resip::Data &  passwordHashAlt = resip::Data::Empty 
)

Definition at line 92 of file UserStore.cxx.


The documentation for this class was generated from the following files: