Server to Server Authentication

If you have too many domains to register individually, we provide a server to server authentication component that will allow you to use ParcelStreamâ„¢ webservices with all of them. The process is as simple as:
 
1. Download the code below and place it on your server.
2. Replace the developerKey variable with your own unique ParcelStreamâ„¢ API key.
3. Send us the IP and mask you would like to use for the server you have deployed the code on.

Then all you have to do is include the included aspx (DmpHandshakeClient) at the top of your web page as a javascript file to "log in". To get started and see an example of server to server authentication in action, you can download the sample code here.

1         DmpHandshakeClient

 

1.1       Purpose

 

A client session will make a request to the DMPHandShakeClient. The DMP HandShakeClient will make a request to the DMPHandShakeServer to request a session code and pass that back to the client as a cookie. The DMPHandShakeClient will pass

to the DMPHandShakeServer for it to generate the session code to inject into the cookie to return to the client.  

1.2       Exceptions