Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_sip_auth Struct Reference

#include <res_pjsip.h>

Collaboration diagram for ast_sip_auth:
Collaboration graph
[legend]

Data Fields

struct {
   struct ast_sorcery_object_details   details
 
}; 
 
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 444 of file res_pjsip.h.

Field Documentation

◆ @298

struct { ... }

Sorcery ID of the auth is its name

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 460 of file res_pjsip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 447 of file res_pjsip.h.

◆ auth_pass

const ast_string_field auth_pass

◆ auth_user

const ast_string_field auth_user

◆ details

Definition at line 446 of file res_pjsip.h.

◆ md5_creds

const ast_string_field md5_creds

Authentication credentials in MD5 format (hash of user:realm:pass)

Definition at line 454 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 462 of file res_pjsip.h.

Referenced by check_nonce().

◆ oauth_clientid

const ast_string_field oauth_clientid

Client ID to use for OAuth authentication

Definition at line 458 of file res_pjsip.h.

Referenced by auth_apply(), and fetch_google_access_token().

◆ oauth_secret

const ast_string_field oauth_secret

Secret to use for OAuth authentication

Definition at line 460 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

Refresh token to use for OAuth authentication

Definition at line 456 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 464 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: