C# Class SIPSorcery.Web.Services.SIPSorceryAuthorisationService

Mostra file Open project: sipsorcery/sipsorcery

Protected Properties

Property Type Description
CRMCustomerPersistor SIPAssetPersistor
CRMSessionManager SIPSorcery.CRM.CustomerSessionManager

Public Methods

Method Description
Authenticate ( string username, string password ) : string
SIPSorceryAuthorisationService ( ) : System
SIPSorceryAuthorisationService ( CustomerSessionManager crmSessionManager ) : System

Protected Methods

Method Description
AuthoriseRequest ( ) : Customer
ExpireSession ( ) : void
ExtendExistingSession ( int minutes ) : void
IsServiceAlive ( ) : bool

Method Details

Authenticate() public method

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

AuthoriseRequest() protected method

protected AuthoriseRequest ( ) : Customer
return SIPSorcery.CRM.Customer

ExpireSession() protected method

protected ExpireSession ( ) : void
return void

ExtendExistingSession() protected method

protected ExtendExistingSession ( int minutes ) : void
minutes int
return void

IsServiceAlive() protected method

protected IsServiceAlive ( ) : bool
return bool

SIPSorceryAuthorisationService() public method

public SIPSorceryAuthorisationService ( ) : System
return System

SIPSorceryAuthorisationService() public method

public SIPSorceryAuthorisationService ( CustomerSessionManager crmSessionManager ) : System
crmSessionManager SIPSorcery.CRM.CustomerSessionManager
return System

Property Details

CRMCustomerPersistor protected_oe property

protected SIPAssetPersistor CRMCustomerPersistor
return SIPAssetPersistor

CRMSessionManager protected_oe property

protected CustomerSessionManager,SIPSorcery.CRM CRMSessionManager
return SIPSorcery.CRM.CustomerSessionManager