libgpac
Documentation of the core library of GPAC
|
#include <events.h>
Data Fields | |
u8 | type |
Bool | secure |
const char * | site_url |
char * | user |
char * | password |
void(* | on_usr_pass )(void *usr_cbk, const char *usr_name, const char *password, Bool store_info) |
void * | async_usr_data |
Authentication event event proc return value: 1 if info has been completed, 0 otherwise (and operation this request was for will then fail)
u8 GF_EventAuthorize::type |
GF_EVENT_AUTHORIZATION
Bool GF_EventAuthorize::secure |
set to GF_TRUE if TLS is used
const char* GF_EventAuthorize::site_url |
the URL the auth request is for
char* GF_EventAuthorize::user |
user name (provided buffer can hold 50 bytes). It may already be formatted, or an empty ("") string
char* GF_EventAuthorize::password |
password (provided buffer can hold 50 bytes)
void(* GF_EventAuthorize::on_usr_pass) (void *usr_cbk, const char *usr_name, const char *password, Bool store_info) |
async function to call back once pass is entered. If NULL, user/password must be set in the event
void* GF_EventAuthorize::async_usr_data |
user data for async function