C# Class SIPSorcery.SIP.App.SwitchboardToken

Exibir arquivo Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
Created DateTimeOffset
Expiry int
IPAddress string
Identity string
SessionID string
SignedHash string

Public Methods

Method Description
GetHashString ( ) : string
ParseSwitchboardToken ( string tokenStr ) : SwitchboardToken
SwitchboardToken ( int requestedExpiry, string identity, string ipAddress ) : System
ToXML ( bool includeSignedHash ) : string

Private Methods

Method Description
SwitchboardToken ( ) : System

Method Details

GetHashString() public method

public GetHashString ( ) : string
return string

ParseSwitchboardToken() public static method

public static ParseSwitchboardToken ( string tokenStr ) : SwitchboardToken
tokenStr string
return SwitchboardToken

SwitchboardToken() public method

public SwitchboardToken ( int requestedExpiry, string identity, string ipAddress ) : System
requestedExpiry int
identity string
ipAddress string
return System

ToXML() public method

public ToXML ( bool includeSignedHash ) : string
includeSignedHash bool
return string

Property Details

Created public_oe property

public DateTimeOffset Created
return DateTimeOffset

Expiry public_oe property

public int Expiry
return int

IPAddress public_oe property

public string IPAddress
return string

Identity public_oe property

public string Identity
return string

SessionID public_oe property

public string SessionID
return string

SignedHash public_oe property

public string SignedHash
return string