Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_sip_outbound_authenticator Struct Reference

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...
 

Detailed Description

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.

Field Documentation

◆ create_request_with_auth

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.

Parameters
authsA vector of IDs of auth sorcery objects
challengeThe SIP response with authentication challenge(s)
old_requestThe request that received the auth challenge(s)
new_requestThe new SIP request with challenge response(s)
Return values
0Successfully created new request
-1Failed to create a new request

Definition at line 1282 of file res_pjsip.h.

Referenced by ast_sip_create_request_with_auth().


The documentation for this struct was generated from the following file: