C# Class P2PStateServer.UnauthorizedResponse

Represents the UnauthorizedResponse message
The UnauthorizedResponse message is sent in response to BeginAuthRequest, CompleteAuthRequest or SetTransferRequest messages. If this message is in response to a BeginAuthRequest, it indicates that the authentication process can proceed. If this message is in response to a CompleteAuthRequest, it indicates the authentication failed. If this message is in response to a SetTransferRequest, it indicates that the peer is not accepting the transfer because the transmitting peer is not authenticated. This message is only transmitted between peers.
Inheritance: ServiceResponse
Show file Open project: tenor/p2pStateServer

Protected Properties

Property Type Description
nonce string
qop string
realm string

Public Methods

Method Description
Process ( ) : void

Process the message

UnauthorizedResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the UnauthorizedResponse class

Private Methods

Method Description
AppendResponse ( StringBuilder sb, string Message, System.Guid AssociatedRequestID, string ASPNETVersion, string Nonce, string Realm, string HashAlgorithmName ) : void

Appends the raw response data to a string builder

Method Details

Process() public method

Process the message
public Process ( ) : void
return void

UnauthorizedResponse() public method

Initializes a new instance of the UnauthorizedResponse class
public UnauthorizedResponse ( HTTPPartialData Data, StateServer Service ) : System
Data HTTPPartialData The HTTPPartialData class to load this instance from
Service StateServer State server instance
return System

Property Details

nonce protected property

protected string nonce
return string

qop protected property

protected string qop
return string

realm protected property

protected string realm
return string