1.4.3. consume_credentials()

This function removes previously authorized credentials from the message being processed by the server. That means that the downstream message will not contain credentials there were used by this server. This ensures that the proxy will not reveal information about credentials used to downstream elements and also the message will be a little bit shorter. The function must be called after www_authorize or proxy_authorize.

This function can be used from REQUEST_ROUTE.

 

Example 1-9. consume_credentials example

...

if (www_authorize("", "subscriber)) {

    consume_credentials();

};

...

 


http://www.openser.org/docs/modules/1.2.x/auth.html#AEN169