Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The purpose of AuthRequest to authenticate the client connection. A client can send the auth request in the following format. Before sending the auth request a client can verify the server config by sending the ServerConfigRequest. A client can send key-value pair of credentials to authenticate itself. It

Those pair needs to

...

serialized in following way. If Diffie-Hellman encryption is enabled

...

on the server side then need to encrypt those serialized bytes. And then send those encrypted bytes to server. The server will decrypt those bytes and create the key-value pair.

 

  
AuthRequest

( NumberOfProperties PropertyId PropertyValue{ PropertyId PropertyValue}

| NumberOfEncryptedBytes EncryptedCredentials )

Description
NumberOfPropertiesfixedSize = 2 bytes, type = int16
Propertyidbytes
PropertyValuebytes 
EncrptedCredentialsbytes 


Examples

PutRequest

string regionName = "ExampleRegion"

...