Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
an interchangeable way of responding to authentication challenges More...
#include <res_pjsip.h>
Data Fields | |
int(* | create_request_with_auth )(const struct ast_sip_auth_vector *auths, struct pjsip_rx_data *challenge, struct pjsip_tx_data *old_request, struct pjsip_tx_data **new_request) |
Create a new request with authentication credentials. More... | |
an interchangeable way of responding to authentication challenges
An outbound authenticator takes incoming challenges and formulates a new SIP request with credentials.
Definition at line 1271 of file res_pjsip.h.
int(* create_request_with_auth) (const struct ast_sip_auth_vector *auths, struct pjsip_rx_data *challenge, struct pjsip_tx_data *old_request, struct pjsip_tx_data **new_request) |
Create a new request with authentication credentials.
auths | A vector of IDs of auth sorcery objects |
challenge | The SIP response with authentication challenge(s) |
old_request | The request that received the auth challenge(s) |
new_request | The new SIP request with challenge response(s) |
0 | Successfully created new request |
-1 | Failed to create a new request |
Definition at line 1282 of file res_pjsip.h.
Referenced by ast_sip_create_request_with_auth().