C# Class SIPSorcery.CRM.CustomerSessionManager

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method Description
Authenticate ( string sessionId ) : CustomerSession
Authenticate ( string username, string password, string ipAddress ) : CustomerSession
CreateSwitchboardSession ( string owner ) : CustomerSession
CustomerSessionManager ( SIPAssetPersistor customerPersistor, SIPAssetPersistor customerSessionPersistor ) : System
CustomerSessionManager ( SIPSorcery.Sys.SIPSorceryConfiguration sipSorceryConfig ) : System
CustomerSessionManager ( StorageTypes storageType, string connectionString ) : System
ExpireToken ( string sessionId ) : void
ExtendSession ( string sessionId, int minutes ) : void

Method Details

Authenticate() public method

public Authenticate ( string sessionId ) : CustomerSession
sessionId string
return CustomerSession

Authenticate() public method

public Authenticate ( string username, string password, string ipAddress ) : CustomerSession
username string
password string
ipAddress string
return CustomerSession

CreateSwitchboardSession() public method

public CreateSwitchboardSession ( string owner ) : CustomerSession
owner string
return CustomerSession

CustomerSessionManager() public method

public CustomerSessionManager ( SIPAssetPersistor customerPersistor, SIPAssetPersistor customerSessionPersistor ) : System
customerPersistor SIPAssetPersistor
customerSessionPersistor SIPAssetPersistor
return System

CustomerSessionManager() public method

public CustomerSessionManager ( SIPSorcery.Sys.SIPSorceryConfiguration sipSorceryConfig ) : System
sipSorceryConfig SIPSorcery.Sys.SIPSorceryConfiguration
return System

CustomerSessionManager() public method

public CustomerSessionManager ( StorageTypes storageType, string connectionString ) : System
storageType StorageTypes
connectionString string
return System

ExpireToken() public method

public ExpireToken ( string sessionId ) : void
sessionId string
return void

ExtendSession() public method

public ExtendSession ( string sessionId, int minutes ) : void
sessionId string
minutes int
return void