Asterisk - The Open Source Telephony Project GIT-master-754dea3
|
#include <res_pjsip.h>
Public Member Functions | |
SORCERY_OBJECT (details) | |
Data Fields | |
struct ast_string_field_mgr | __field_mgr |
struct ast_string_field_pool * | __field_mgr_pool |
const ast_string_field | auth_pass |
const ast_string_field | auth_user |
const ast_string_field | md5_creds |
unsigned int | nonce_lifetime |
const ast_string_field | oauth_clientid |
const ast_string_field | oauth_secret |
struct ast_sip_auth_password_digest * | password_digests [PJSIP_AUTH_ALGORITHM_COUNT] |
const ast_string_field | realm |
const ast_string_field | refresh_token |
struct pjsip_auth_algorithm_type_vector | supported_algorithms_uac |
struct pjsip_auth_algorithm_type_vector | supported_algorithms_uas |
enum ast_sip_auth_type | type |
Definition at line 660 of file res_pjsip.h.
SORCERY_OBJECT | ( | details | ) |
Sorcery ID of the auth is its name
struct ast_string_field_mgr __field_mgr |
Definition at line 681 of file res_pjsip.h.
struct ast_string_field_pool* __field_mgr_pool |
Identification for these credentials
Authentication username
Authentication password
Authentication credentials in MD5 format (hash of user:realm:pass)
Refresh token to use for OAuth authentication
Client ID to use for OAuth authentication
Secret to use for OAuth authentication
Definition at line 681 of file res_pjsip.h.
const ast_string_field auth_pass |
Definition at line 681 of file res_pjsip.h.
Referenced by alloc_artificial_auth(), ast_sip_auth_get_creds(), ast_sip_auth_is_algorithm_available(), check_algorithm(), load_endpoint(), and set_outbound_initial_authentication_credentials().
const ast_string_field auth_user |
Definition at line 681 of file res_pjsip.h.
Referenced by alloc_artificial_auth(), auth_apply(), cli_print_body(), digest_lookup(), get_creds_for_header(), load_endpoint(), set_outbound_initial_authentication_credentials(), and verify().
const ast_string_field md5_creds |
Definition at line 681 of file res_pjsip.h.
unsigned int nonce_lifetime |
The time period (in seconds) that a nonce may be reused
Definition at line 683 of file res_pjsip.h.
Referenced by check_nonce().
const ast_string_field oauth_clientid |
Definition at line 681 of file res_pjsip.h.
Referenced by auth_apply(), and fetch_google_access_token().
const ast_string_field oauth_secret |
Definition at line 681 of file res_pjsip.h.
Referenced by auth_apply(), and fetch_google_access_token().
struct ast_sip_auth_password_digest* password_digests[PJSIP_AUTH_ALGORITHM_COUNT] |
Array of pre-digested passwords indexed by pjsip_auth_algorithm_type
Definition at line 691 of file res_pjsip.h.
Referenced by ast_sip_auth_get_creds(), ast_sip_auth_is_algorithm_available(), auth_destroy(), check_algorithm(), md5cred_to_str(), password_digest_handler(), and password_digest_to_str().
const ast_string_field realm |
Definition at line 681 of file res_pjsip.h.
Referenced by alloc_artificial_auth(), challenge(), check_nonce(), digest_check_auth(), digest_lookup(), find_authorization(), get_creds_for_header(), set_outbound_initial_authentication_credentials(), and verify().
const ast_string_field refresh_token |
Definition at line 681 of file res_pjsip.h.
Referenced by auth_apply(), and fetch_google_access_token().
struct pjsip_auth_algorithm_type_vector supported_algorithms_uac |
Digest algorithms to support when UAC
Definition at line 687 of file res_pjsip.h.
Referenced by alloc_artificial_auth(), auth_alloc(), auth_apply(), auth_destroy(), get_creds_for_header(), uac_algorithms_handler(), and uac_algorithms_to_str().
struct pjsip_auth_algorithm_type_vector supported_algorithms_uas |
Digest algorithms to send challenges for when UAS
Definition at line 689 of file res_pjsip.h.
Referenced by alloc_artificial_auth(), auth_alloc(), auth_apply(), auth_destroy(), digest_check_auth(), digest_lookup(), uas_algorithms_handler(), and uas_algorithms_to_str().
enum ast_sip_auth_type type |
Used to determine what to use when authenticating
Definition at line 685 of file res_pjsip.h.
Referenced by alloc_artificial_auth(), auth_apply(), auth_type_handler(), auth_type_to_str(), digest_lookup(), and Property::load().