Class SIPAuthenticationHeader
Class for the SIP WWW-Authenticate and Authorization headers
Inherited Members
Namespace: SipLib.Core
Assembly: SipLib.dll
Syntax
public class SIPAuthenticationHeader
Constructors
| Edit this page View SourceSIPAuthenticationHeader(SIPAuthorisationDigest)
Constructor
Declaration
public SIPAuthenticationHeader(SIPAuthorisationDigest sipDigest)
Parameters
Type | Name | Description |
---|---|---|
SIPAuthorisationDigest | sipDigest | Authorization digest |
SIPAuthenticationHeader(SIPAuthorisationHeadersEnum, string, string)
Constructor
Declaration
public SIPAuthenticationHeader(SIPAuthorisationHeadersEnum authorisationType, string realm, string nonce)
Parameters
Type | Name | Description |
---|---|---|
SIPAuthorisationHeadersEnum | authorisationType | Type of authorization |
string | realm | Realm |
string | nonce | Nonce |
Fields
| Edit this page View SourceSIPDigest
SIP digest
Declaration
public SIPAuthorisationDigest SIPDigest
Field Value
Type | Description |
---|---|
SIPAuthorisationDigest |
Methods
| Edit this page View SourceParseSIPAuthenticationHeader(SIPAuthorisationHeadersEnum, string)
Parses an authentication or authorization header
Declaration
public static SIPAuthenticationHeader? ParseSIPAuthenticationHeader(SIPAuthorisationHeadersEnum authorizationType, string headerValue)
Parameters
Type | Name | Description |
---|---|---|
SIPAuthorisationHeadersEnum | authorizationType | Type of authorization or authentication |
string | headerValue | String header value |
Returns
Type | Description |
---|---|
SIPAuthenticationHeader | Returns a new SIPAuthenticationHeader if successful or null if unable to parse the input header value. |
ToString()
Converts this object into a string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |