|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
An interchangeable way of handling digest authentication for SIP. More...
#include <res_pjsip.h>
Data Fields | |
| enum ast_sip_check_auth_result(* | check_authentication )(struct ast_sip_endpoint *endpoint, pjsip_rx_data *rdata, pjsip_tx_data *tdata) |
| Check that an incoming request passes authentication. | |
| int(* | requires_authentication )(struct ast_sip_endpoint *endpoint, pjsip_rx_data *rdata) |
| Check if a request requires authentication See ast_sip_requires_authentication for more details. | |
An interchangeable way of handling digest authentication for SIP.
An authenticator is responsible for filling in the callbacks provided below. Each is called from a publicly available function in res_sip. The authenticator can use configuration or other local policy to determine whether authentication should take place and what credentials should be used when challenging and authenticating a request.
Definition at line 1366 of file res_pjsip.h.
| enum ast_sip_check_auth_result(* check_authentication) (struct ast_sip_endpoint *endpoint, pjsip_rx_data *rdata, pjsip_tx_data *tdata) |
Check that an incoming request passes authentication.
The tdata parameter is useful for adding information such as digest challenges.
| endpoint | The endpoint sending the incoming request |
| rdata | The incoming request |
| tdata | Tentative outgoing request. |
Definition at line 1371 of file res_pjsip.h.
Referenced by ast_sip_check_authentication().
| int(* requires_authentication) (struct ast_sip_endpoint *endpoint, pjsip_rx_data *rdata) |
Check if a request requires authentication See ast_sip_requires_authentication for more details.
Definition at line 1371 of file res_pjsip.h.
Referenced by ast_sip_requires_authentication().