Searched refs:authHeader (Results 1 – 7 of 7) sorted by relevance
30 var authHeader = 'Basic ' + toBase64(header)32 return authHeader44 var authHeader = 'Bearer ' + (bearer || '')46 return authHeader50 Auth.prototype.digest = function (method, path, authHeader) { argument66 var match = re.exec(authHeader)111 authHeader = []115 authHeader.push(k + '=' + authValues[k])117 authHeader.push(k + '="' + authValues[k] + '"')121 authHeader = 'Digest ' + authHeader.join(', ')[all …]
70 var authHeader = request._auth.onResponse(response)71 if (authHeader) {72 request.setHeader('authorization', authHeader)
145 char *authHeader; /* contents of {WWW,Proxy}-Authenticate header */ member436 if (ctxt->authHeader != NULL) xmlFree(ctxt->authHeader); in xmlNanoHTTPFreeCtxt()811 if (ctxt->authHeader != NULL) in xmlNanoHTTPScanAnswer()812 xmlFree(ctxt->authHeader); in xmlNanoHTTPScanAnswer()813 ctxt->authHeader = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()817 if (ctxt->authHeader != NULL) in xmlNanoHTTPScanAnswer()818 xmlFree(ctxt->authHeader); in xmlNanoHTTPScanAnswer()819 ctxt->authHeader = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()1744 return(ctxt->authHeader); in xmlNanoHTTPAuthHeader()
174 char *authHeader; /* contents of {WWW,Proxy}-Authenticate header */ member465 if (ctxt->authHeader != NULL) xmlFree(ctxt->authHeader); in xmlNanoHTTPFreeCtxt()840 if (ctxt->authHeader != NULL) in xmlNanoHTTPScanAnswer()841 xmlFree(ctxt->authHeader); in xmlNanoHTTPScanAnswer()842 ctxt->authHeader = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()846 if (ctxt->authHeader != NULL) in xmlNanoHTTPScanAnswer()847 xmlFree(ctxt->authHeader); in xmlNanoHTTPScanAnswer()848 ctxt->authHeader = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()1773 return(ctxt->authHeader); in xmlNanoHTTPAuthHeader()
144 this.request.headers.Authorization = this.authHeader()169 RequestSigner.prototype.authHeader = function() { method in RequestSigner
544 const std::string& authHeader = request->GetHeaderByName("Authorization"); in IsAuthorized() local545 if (authHeader.empty()) in IsAuthorized()548 if (authHeader.find("Basic ") == 0) { in IsAuthorized()549 const std::string& base64 = authHeader.substr(6); in IsAuthorized()566 LOG(ERROR) << "Unexpected Authorization value: " << authHeader; in IsAuthorized()
397 var authHeader = 'Basic ' + toBase64(proxyAuthPieces.join(':'))398 self.setHeader('proxy-authorization', authHeader)