MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / proxy_challenge

Function proxy_challenge

modules/auth/challenge.c:273–280  ·  view source on GitHub ↗

* Challenge a user to send credentials using Proxy-Authorize header field */

Source from the content-addressed store, hash-verified

271 * Challenge a user to send credentials using Proxy-Authorize header field
272 */
273int proxy_challenge(struct sip_msg* _msg, str* _realm, void* _qop,
274 intptr_t algmask)
275{
276
277 return challenge(_msg, _realm, (qop_type_t)(long)_qop, PROXY_AUTH_CODE,
278 &str_init(MESSAGE_407), &str_const_init(PROXY_AUTH_HDR),
279 algmask ? algmask : ALGFLG_UNSPEC);
280}
281
282
283/*

Callers

nothing calls this directly

Calls 1

challengeFunction · 0.85

Tested by

no test coverage detected