Class BasicChallengeHandler

Challenge handler for Basic authentication as defined in RFC 2617.


Constructor Summary
BasicChallengeHandler()
            Challenge handler for Basic authentication as defined in RFC 2617.
 
Method Summary
 boolean canHandle(challengeRequest)
           Can the presented challenge be potentially handled by this challenge handler?
 void handle(challengeRequest, callback)
           Handle the presented challenge by invoking the callback function with a challenge response processed appropriately.
 void loginHandler(callback)
           handle HTTP 401 authentication challenge loginHandler will be called when a challenge is received from the server.
 void setRealmLoginHandler(realm, loginHandler)
           Set a Login Handler to be used if and only if a challenge request has a realm parameter matching the provided realm.
 
Constructor Detail

BasicChallengeHandler

BasicChallengeHandler()

Method Detail

canHandle

boolean canHandle(challengeRequest)

handle

void handle(challengeRequest, callback)

loginHandler

void loginHandler(callback)

setRealmLoginHandler

void setRealmLoginHandler(realm, loginHandler)

Documentation generated by JsDoc Toolkit 1.3.3 on Thu Sep 25 2014 15:48:02 GMT-0700 (PDT)