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

Function get_authorized_cred

parser/digest/digest.c:235–244  ·  view source on GitHub ↗

* Get pointer to authorized credentials, if there are no * authorized credentials, 0 is returned */

Source from the content-addressed store, hash-verified

233 * authorized credentials, 0 is returned
234 */
235int get_authorized_cred(struct hdr_field* _f, struct hdr_field** _h)
236{
237 if (_f && _f->parsed) {
238 *_h = ((auth_body_t*)(_f->parsed))->authorized;
239 } else {
240 *_h = 0;
241 }
242
243 return 0;
244}

Callers 9

cred_userFunction · 0.85
cred_realmFunction · 0.85
challengeFunction · 0.85
consume_credentialsFunction · 0.85
get_diverterFunction · 0.85
check_usernameFunction · 0.85
get_username_domainFunction · 0.85
aaa_is_user_inFunction · 0.85
clone_authorized_hooksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected