Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Public Member Functions | Data Fields
ast_sip_auth Struct Reference

#include <res_pjsip.h>

Collaboration diagram for ast_sip_auth:
Collaboration graph
[legend]

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
 
const ast_string_field realm
 
const ast_string_field refresh_token
 
enum ast_sip_auth_type type
 

Detailed Description

Definition at line 579 of file res_pjsip.h.

Member Function Documentation

◆ SORCERY_OBJECT()

SORCERY_OBJECT ( details  )

Sorcery ID of the auth is its name

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 597 of file res_pjsip.h.

◆ __field_mgr_pool

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 597 of file res_pjsip.h.

◆ auth_pass

const ast_string_field auth_pass

◆ auth_user

const ast_string_field auth_user

◆ md5_creds

const ast_string_field md5_creds

Definition at line 597 of file res_pjsip.h.

Referenced by auth_apply(), digest_lookup(), and set_outbound_authentication_credentials().

◆ nonce_lifetime

unsigned int nonce_lifetime

The time period (in seconds) that a nonce may be reused

Definition at line 599 of file res_pjsip.h.

Referenced by check_nonce().

◆ oauth_clientid

const ast_string_field oauth_clientid

Definition at line 597 of file res_pjsip.h.

Referenced by auth_apply(), and fetch_google_access_token().

◆ oauth_secret

const ast_string_field oauth_secret

Definition at line 597 of file res_pjsip.h.

Referenced by auth_apply(), and fetch_google_access_token().

◆ realm

const ast_string_field realm

◆ refresh_token

const ast_string_field refresh_token

Definition at line 597 of file res_pjsip.h.

Referenced by auth_apply(), and fetch_google_access_token().

◆ type

enum ast_sip_auth_type type

Used to determine what to use when authenticating

Definition at line 601 of file res_pjsip.h.

Referenced by alloc_artificial_auth(), auth_apply(), auth_type_handler(), auth_type_to_str(), digest_lookup(), Property::load(), and set_outbound_authentication_credentials().


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