Support for Digest Authentication #84

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant
@aledbf

aledbf commented May 8, 2012

Example:

rest.post('URL',{
    auth: 'digest',
    username: 'USERNAME',
    password: 'PASSWORD',
    realm: "Digest REALM",
    key: 'Digest key',
    nonceTtl: 10
}).on('complete', function(data, response) {
});

This patch require new options:

  • auth: can be basic or digest (just to not change unrelated source code in restler)
  • realm: digest realm
  • key: digest key
  • nonceTtl: nonce time to live (in seconds)

@aledbf aledbf closed this Apr 29, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment