libgpac
Documentation of the core library of GPAC
downloader_ssl.c File Reference
#include "downloader.h"
+ Include dependency graph for downloader_ssl.c:

Functions

static GF_Err gf_user_credentials_save_digest (GF_DownloadManager *dm, GF_UserCredentials *creds, const char *password, Bool store_info)
 Saves the digest for authentication of password and username. More...
 
GF_UserCredentials * gf_user_credentials_find_for_site (GF_DownloadManager *dm, const char *server_name, const char *user_name)
 
static void on_user_pass (void *udta, const char *user, const char *pass, Bool store_info)
 
static GF_Err gf_user_credentials_ask_password (GF_DownloadManager *dm, GF_UserCredentials *creds, Bool secure)
 Asks the user for credentials for given site. More...
 
GF_UserCredentials * gf_user_credentials_register (GF_DownloadManager *dm, Bool secure, const char *server_name, const char *username, const char *password, Bool valid)
 

Function Documentation

◆ gf_user_credentials_save_digest()

static GF_Err gf_user_credentials_save_digest ( GF_DownloadManager *  dm,
GF_UserCredentials *  creds,
const char *  password,
Bool  store_info 
)
static
Parameters
dmThe download manager
credsThe credentials to fill
Returns
GF_OK if info has been filled, GF_BAD_PARAM if creds == NULL or dm == NULL, GF_AUTHENTICATION_FAILURE if user did not filled the info.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_user_credentials_find_for_site()

GF_UserCredentials* gf_user_credentials_find_for_site ( GF_DownloadManager *  dm,
const char *  server_name,
const char *  user_name 
)

Find a User's credentials for a given site

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ on_user_pass()

static void on_user_pass ( void *  udta,
const char *  user,
const char *  pass,
Bool  store_info 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_user_credentials_ask_password()

static GF_Err gf_user_credentials_ask_password ( GF_DownloadManager *  dm,
GF_UserCredentials *  creds,
Bool  secure 
)
static
Parameters
dmThe download manager
credsThe credentials to fill
Returns
GF_OK if info has been filled, GF_BAD_PARAM if creds == NULL or dm == NULL, GF_AUTHENTICATION_FAILURE if user did not filled the info.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_user_credentials_register()

GF_UserCredentials* gf_user_credentials_register ( GF_DownloadManager *  dm,
Bool  secure,
const char *  server_name,
const char *  username,
const char *  password,
Bool  valid 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: