添加身份验证凭据。
/**
* Add authentication credentials. These are used when an outgoing
* request comes back with an authorization required response.
*
* @param excontext eXosip_t instance.
* @param username username
* @param userid login (usually equals the username)
* @param passwd password
* @param ha1 currently ignored
* @param realm realm within which credentials apply, or NULL
* to apply credentials to unrecognized realms
*/
int eXosip_add_authentication_info (struct eXosip_t *excontext, const char *username, const char *userid, const char *passwd, const char *ha1, const char *realm);
删除身份验证凭据。
/**
* Remove authentication credentials.
*
* @param excontext eXosip_t instance.
* @param username username
* @param realm realm must be exact same arg as for eXosip_add_authentication_info
*/
int eXosip_remove_authentication_info (struct eXosip_t *excontext, const char *username, const char *realm);
清除存储在eXosip中的所有身份验证凭据
/**
* Clear all authentication credentials stored in eXosip
*
* @param excontext eXosip_t instance.
*/
int eXosip_clear_authentication_info (struct eXosip_t *excontext);