Liblinphone  5.4.0
Typedefs | Enumerations | Functions
Account_creator

Typedefs

typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response)
 Callback to notify a response of server. More...
 
typedef struct _LinphoneAccountCreator LinphoneAccountCreator
 The object used to configure an account on a server via XML-RPC, see https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/Override%20account%20creator%20request/.
 
typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService
 An object to define a LinphoneAccountCreator service. More...
 
typedef struct _LinphoneAccountCreatorCbs LinphoneAccountCreatorCbs
 An object to handle the responses callbacks for handling the LinphoneAccountCreator operations.
 
typedef enum _LinphoneAccountCreatorPhoneNumberStatus LinphoneAccountCreatorPhoneNumberStatus
 Enum describing phone number checking, used by the LinphoneAccountCreator.
 
typedef unsigned int LinphoneAccountCreatorPhoneNumberStatusMask
 A mask of LinphoneAccountCreatorPhoneNumberStatus values.
 
typedef enum _LinphoneAccountCreatorBackend LinphoneAccountCreatorBackend
 Enum describing backend used in the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorUsernameStatus LinphoneAccountCreatorUsernameStatus
 Enum describing username checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorEmailStatus LinphoneAccountCreatorEmailStatus
 Enum describing email checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorPasswordStatus LinphoneAccountCreatorPasswordStatus
 Enum describing password checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorLanguageStatus LinphoneAccountCreatorLanguageStatus
 Enum describing language checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorAlgoStatus LinphoneAccountCreatorAlgoStatus
 Enum describing algorithm checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorActivationCodeStatus LinphoneAccountCreatorActivationCodeStatus
 Enum describing activation code checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorDomainStatus LinphoneAccountCreatorDomainStatus
 Enum describing domain checking, used by the LinphoneAccountCreator.
 
typedef enum _LinphoneAccountCreatorTransportStatus LinphoneAccountCreatorTransportStatus
 Enum describing transport checking, used by the LinphoneAccountCreator.
 
typedef void(* LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb) (const LinphoneAccountManagerServicesRequest *request, const char *data)
 Callback for notifying a request was successful. More...
 
typedef void(* LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb) (const LinphoneAccountManagerServicesRequest *request, int status_code, const char *error_message, const LinphoneDictionary *parameter_errors)
 Callback for notifying a request has failed. More...
 
typedef void(* LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb) (const LinphoneAccountManagerServicesRequest *request, const bctbx_list_t *devices_list)
 Callback for notifying when the #LinphoneAccountManagerServicesRequestGetDevicesList request has results available. More...
 
typedef struct _LinphoneAccountManagerServices LinphoneAccountManagerServices
 Creates and manage SIP user accounts remotely, using the REST API of the Flexisip Account Manager. More...
 
typedef struct _LinphoneAccountManagerServicesRequest LinphoneAccountManagerServicesRequest
 Request object created by LinphoneAccountManagerServices.
 
typedef struct _LinphoneAccountManagerServicesRequestCbs LinphoneAccountManagerServicesRequestCbs
 An object to handle the callbacks for LinphoneAccountManagerServicesRequest object.
 
typedef enum _LinphoneAccountManagerServicesRequestType LinphoneAccountManagerServicesRequestType
 List of all supported LinphoneAccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the LinphoneAccountManagerServicesRequestCbs.
 

Enumerations

enum  _LinphoneAccountCreatorPhoneNumberStatus {
  LinphoneAccountCreatorPhoneNumberStatusOk = 0x1,
  LinphoneAccountCreatorPhoneNumberStatusTooShort = 0x2,
  LinphoneAccountCreatorPhoneNumberStatusTooLong = 0x4,
  LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode = 0x8,
  LinphoneAccountCreatorPhoneNumberStatusInvalid = 0x10
}
 Enum describing phone number checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorBackend {
  LinphoneAccountCreatorBackendXMLRPC = 0,
  LinphoneAccountCreatorBackendFlexiAPI = 1
}
 Enum describing backend used in the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorUsernameStatus {
  LinphoneAccountCreatorUsernameStatusOk = 0,
  LinphoneAccountCreatorUsernameStatusTooShort = 1,
  LinphoneAccountCreatorUsernameStatusTooLong = 2,
  LinphoneAccountCreatorUsernameStatusInvalidCharacters = 3,
  LinphoneAccountCreatorUsernameStatusInvalid = 4
}
 Enum describing username checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorEmailStatus {
  LinphoneAccountCreatorEmailStatusOk = 0,
  LinphoneAccountCreatorEmailStatusMalformed = 1,
  LinphoneAccountCreatorEmailStatusInvalidCharacters = 2
}
 Enum describing email checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorPasswordStatus {
  LinphoneAccountCreatorPasswordStatusOk = 0,
  LinphoneAccountCreatorPasswordStatusTooShort = 1,
  LinphoneAccountCreatorPasswordStatusTooLong = 2,
  LinphoneAccountCreatorPasswordStatusInvalidCharacters = 3,
  LinphoneAccountCreatorPasswordStatusMissingCharacters = 4
}
 Enum describing password checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorLanguageStatus { LinphoneAccountCreatorLanguageStatusOk = 0 }
 Enum describing language checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorAlgoStatus {
  LinphoneAccountCreatorAlgoStatusOk = 0,
  LinphoneAccountCreatorAlgoStatusNotSupported = 1
}
 Enum describing algorithm checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorActivationCodeStatus {
  LinphoneAccountCreatorActivationCodeStatusOk = 0,
  LinphoneAccountCreatorActivationCodeStatusTooShort = 1,
  LinphoneAccountCreatorActivationCodeStatusTooLong = 2,
  LinphoneAccountCreatorActivationCodeStatusInvalidCharacters = 3
}
 Enum describing activation code checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorDomainStatus {
  LinphoneAccountCreatorDomainOk = 0,
  LinphoneAccountCreatorDomainInvalid = 1
}
 Enum describing domain checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountCreatorTransportStatus {
  LinphoneAccountCreatorTransportOk = 0,
  LinphoneAccountCreatorTransportUnsupported = 1
}
 Enum describing transport checking, used by the LinphoneAccountCreator. More...
 
enum  _LinphoneAccountManagerServicesRequestType {
  LinphoneAccountManagerServicesRequestTypeSendAccountCreationTokenByPush,
  LinphoneAccountManagerServicesRequestTypeAccountCreationRequestToken,
  LinphoneAccountManagerServicesRequestTypeAccountCreationTokenFromAccountCreationRequestToken,
  LinphoneAccountManagerServicesRequestTypeCreateAccountUsingToken,
  LinphoneAccountManagerServicesRequestTypeSendPhoneNumberLinkingCodeBySms,
  LinphoneAccountManagerServicesRequestTypeLinkPhoneNumberUsingCode,
  LinphoneAccountManagerServicesRequestTypeSendEmailLinkingCodeByEmail,
  LinphoneAccountManagerServicesRequestTypeLinkEmailUsingCode,
  LinphoneAccountManagerServicesRequestTypeGetDevicesList = 8,
  LinphoneAccountManagerServicesRequestTypeDeleteDevice = 9,
  LinphoneAccountManagerServicesRequestTypeGetCreationTokenAsAdmin = 100,
  LinphoneAccountManagerServicesRequestTypeGetAccountInfoAsAdmin = 101,
  LinphoneAccountManagerServicesRequestTypeDeleteAccountAsAdmin = 102
}
 List of all supported LinphoneAccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the LinphoneAccountManagerServicesRequestCbs. More...
 

Functions

LinphoneAccountCreatorlinphone_account_creator_create (LinphoneCore *core)
 Create a LinphoneAccountCreator and set Linphone Request callbacks. More...
 
LinphoneAccountCreatorlinphone_account_creator_new (LinphoneCore *core, const char *xmlrpc_url)
 Create a LinphoneAccountCreator and set Linphone Request callbacks. More...
 
void linphone_account_creator_reset (LinphoneAccountCreator *creator)
 Reset the account creator entries like username, password, phone number... More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist (LinphoneAccountCreator *creator)
 Send a request to know the existence of account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_create_account (LinphoneAccountCreator *creator)
 Send a request to create an account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_create_push_account (LinphoneAccountCreator *creator)
 Send a request to create a push account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated (LinphoneAccountCreator *creator)
 Send a request to know if an account is activated on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_activate_account (LinphoneAccountCreator *creator)
 Send a request to activate an account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_link_account (LinphoneAccountCreator *creator)
 Send a request to link an account to an alias. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_activate_alias (LinphoneAccountCreator *creator)
 Send a request to activate an alias. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used (LinphoneAccountCreator *creator)
 Send a request to know if an alias is used. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked (LinphoneAccountCreator *creator)
 Send a request to know if an account is linked. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_recover_account (LinphoneAccountCreator *creator)
 Send a request to recover an account. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_update_account (LinphoneAccountCreator *creator)
 Send a request to update an account. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_login_linphone_account (LinphoneAccountCreator *creator)
 Send a request to get the password & algorithm of an account using the confirmation key. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_request_auth_token (LinphoneAccountCreator *creator)
 Request an auth token to be send by the backend by push notification. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_request_token (LinphoneAccountCreator *creator)
 Request an account creation "request_token" to be used on account creations. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_token_using_request_token (LinphoneAccountCreator *creator)
 Send a request to get a token to be used for account creation from a request_token. More...
 
LinphoneAccountCreatorlinphone_account_creator_ref (LinphoneAccountCreator *creator)
 Acquire a reference to the LinphoneAccountCreator. More...
 
void linphone_account_creator_unref (LinphoneAccountCreator *creator)
 Release reference to the LinphoneAccountCreator. More...
 
void * linphone_account_creator_get_user_data (const LinphoneAccountCreator *creator)
 Retrieve the user pointer associated with the LinphoneAccountCreator. More...
 
void linphone_account_creator_set_user_data (LinphoneAccountCreator *creator, void *user_data)
 Assign a user pointer to the LinphoneAccountCreator. More...
 
void linphone_account_creator_set_account (LinphoneAccountCreator *creator, LinphoneAccount *account)
 Assign a proxy config pointer to the LinphoneAccountCreator. More...
 
void linphone_account_creator_set_proxy_config (LinphoneAccountCreator *creator, LinphoneProxyConfig *cfg)
 Assign a proxy config pointer to the LinphoneAccountCreator. More...
 
LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username (LinphoneAccountCreator *creator, const char *username)
 Set the username. More...
 
const char * linphone_account_creator_get_username (const LinphoneAccountCreator *creator)
 Get the username. More...
 
void linphone_account_creator_set_pn_provider (LinphoneAccountCreator *creator, const char *pn_provider)
 Set the provider to be used by the backend to send the push notification to the device asking for an auth token. More...
 
const char * linphone_account_creator_get_pn_provider (const LinphoneAccountCreator *creator)
 Get the provider to be used by the backend to send the push notification to the device asking for an auth token. More...
 
void linphone_account_creator_set_pn_param (LinphoneAccountCreator *creator, const char *pn_param)
 Set the param to be used by the backend to send the push notification to the device asking for an auth token. More...
 
const char * linphone_account_creator_get_pn_param (const LinphoneAccountCreator *creator)
 Get the param to be used by the backend to send the push notification to the device asking for an auth token. More...
 
void linphone_account_creator_set_pn_prid (LinphoneAccountCreator *creator, const char *pn_prid)
 Set the prid to be used by the backend to send the push notification to the device asking for an auth token. More...
 
const char * linphone_account_creator_get_pn_prid (const LinphoneAccountCreator *creator)
 Get the prid to be used by the backend to send the push notification to the device asking for an auth token. More...
 
void linphone_account_creator_set_token (LinphoneAccountCreator *creator, const char *token)
 Set the authentication token received by push notification to be used to authenticate next queries, if required. More...
 
const char * linphone_account_creator_get_token (const LinphoneAccountCreator *creator)
 Get the authentication token set (if any) to be used to authenticate next queries, if required. More...
 
void linphone_account_creator_set_account_creation_request_token (LinphoneAccountCreator *creator, const char *token)
 Set the account creation request token received to be used to check user validation. More...
 
const char * linphone_account_creator_get_account_creation_request_token (const LinphoneAccountCreator *creator)
 Get the account creation request token received to be used to check user validation. More...
 
LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number (LinphoneAccountCreator *creator, const char *phone_number, const char *country_code)
 Set the phone number normalized. More...
 
const char * linphone_account_creator_get_phone_number (const LinphoneAccountCreator *creator)
 Get the RFC 3966 normalized phone number. More...
 
const char * linphone_account_creator_get_phone_country_code (const LinphoneAccountCreator *creator)
 Get the international prefix. More...
 
LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password (LinphoneAccountCreator *creator, const char *password)
 Set the password. More...
 
const char * linphone_account_creator_get_password (const LinphoneAccountCreator *creator)
 Get the password. More...
 
LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 (LinphoneAccountCreator *creator, const char *ha1)
 Set the ha1. More...
 
const char * linphone_account_creator_get_ha1 (const LinphoneAccountCreator *creator)
 Get the ha1. More...
 
LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code (LinphoneAccountCreator *creator, const char *activation_code)
 Set the activation code. More...
 
const char * linphone_account_creator_get_activation_code (const LinphoneAccountCreator *creator)
 Get the activation code. More...
 
LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language (LinphoneAccountCreator *creator, const char *lang)
 Set the language to use in email or SMS if supported. More...
 
const char * linphone_account_creator_get_language (const LinphoneAccountCreator *creator)
 Get the language use in email of SMS. More...
 
LinphoneAccountCreatorAlgoStatus linphone_account_creator_set_algorithm (LinphoneAccountCreator *creator, const char *algorithm)
 Set the supported algorithm. More...
 
const char * linphone_account_creator_get_algorithm (const LinphoneAccountCreator *creator)
 Get the algorithm configured in the account creator. More...
 
LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name (LinphoneAccountCreator *creator, const char *display_name)
 Set the display name. More...
 
const char * linphone_account_creator_get_display_name (const LinphoneAccountCreator *creator)
 Get the display name. More...
 
LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email (LinphoneAccountCreator *creator, const char *email)
 Set the email. More...
 
const char * linphone_account_creator_get_email (const LinphoneAccountCreator *creator)
 Get the email. More...
 
LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain (LinphoneAccountCreator *creator, const char *domain)
 Set the domain. More...
 
const char * linphone_account_creator_get_domain (const LinphoneAccountCreator *creator)
 Get the domain. More...
 
LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport (LinphoneAccountCreator *creator, LinphoneTransportType transport)
 Set Transport. More...
 
LinphoneTransportType linphone_account_creator_get_transport (const LinphoneAccountCreator *creator)
 Get Transport. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_set_as_default (LinphoneAccountCreator *creator, bool_t set_as_default)
 Set the set_as_default property. More...
 
bool_t linphone_account_creator_get_set_as_default (const LinphoneAccountCreator *creator)
 Get the set_as_default property. More...
 
void linphone_account_creator_add_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs)
 Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator. More...
 
void linphone_account_creator_remove_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs)
 Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator. More...
 
LinphoneAccountCreatorCbslinphone_account_creator_get_current_callbacks (const LinphoneAccountCreator *creator)
 Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator. More...
 
LinphoneAccountCreatorServicelinphone_account_creator_get_service (const LinphoneAccountCreator *creator)
 Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator. More...
 
LinphoneAccountCreatorCbslinphone_account_creator_cbs_ref (LinphoneAccountCreatorCbs *cbs)
 Acquire a reference to a LinphoneAccountCreatorCbs object. More...
 
void linphone_account_creator_cbs_unref (LinphoneAccountCreatorCbs *cbs)
 Release a reference to a LinphoneAccountCreatorCbs object. More...
 
void * linphone_account_creator_cbs_get_user_data (const LinphoneAccountCreatorCbs *cbs)
 Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object. More...
 
void linphone_account_creator_cbs_set_user_data (LinphoneAccountCreatorCbs *cbs, void *user_data)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account (const LinphoneAccountCreatorCbs *cbs)
 Get the create account request. More...
 
void linphone_account_creator_cbs_set_create_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist (const LinphoneAccountCreatorCbs *cbs)
 Get the is account exist request. More...
 
void linphone_account_creator_cbs_set_is_account_exist (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account (const LinphoneAccountCreatorCbs *cbs)
 Get the activate account request. More...
 
void linphone_account_creator_cbs_set_activate_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_send_token (const LinphoneAccountCreatorCbs *cbs)
 Get the activate account request. More...
 
void linphone_account_creator_cbs_set_send_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_request_token (const LinphoneAccountCreatorCbs *cbs)
 Get the callback on account creation request token. More...
 
void linphone_account_creator_cbs_set_account_creation_request_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_token_using_request_token (const LinphoneAccountCreatorCbs *cbs)
 Get the callback on account creation token. More...
 
void linphone_account_creator_cbs_set_account_creation_token_using_request_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated (const LinphoneAccountCreatorCbs *cbs)
 Get the is account activated request. More...
 
void linphone_account_creator_cbs_set_is_account_activated (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account (const LinphoneAccountCreatorCbs *cbs)
 Get the link account request. More...
 
void linphone_account_creator_cbs_set_link_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias (const LinphoneAccountCreatorCbs *cbs)
 Get the activate alias request. More...
 
void linphone_account_creator_cbs_set_activate_alias (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used (const LinphoneAccountCreatorCbs *cbs)
 Get the is alias used request. More...
 
void linphone_account_creator_cbs_set_is_alias_used (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked (const LinphoneAccountCreatorCbs *cbs)
 Get the is account linked request. More...
 
void linphone_account_creator_cbs_set_is_account_linked (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account (const LinphoneAccountCreatorCbs *cbs)
 Get the recover account request. More...
 
void linphone_account_creator_cbs_set_recover_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account (const LinphoneAccountCreatorCbs *cbs)
 Get the update account request. More...
 
void linphone_account_creator_cbs_set_update_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_login_linphone_account (const LinphoneAccountCreatorCbs *cbs)
 Get the login linphone account request. More...
 
void linphone_account_creator_cbs_set_login_linphone_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneProxyConfiglinphone_account_creator_create_proxy_config (const LinphoneAccountCreator *creator)
 Create and configure a proxy config and a authentication info for an account creator. More...
 
LinphoneAccountlinphone_account_creator_create_account_in_core (const LinphoneAccountCreator *creator)
 Create and configure a LinphoneAccount and a LinphoneAuthInfo from informations set in the LinphoneAccountCreator. More...
 
void linphone_account_creator_use_test_admin_account (LinphoneAccountCreator *creator)
 Require the account creator to use special "test admin account". More...
 
MS2_DEPRECATED LinphoneAccountCreatorCbslinphone_account_creator_get_callbacks (const LinphoneAccountCreator *creator)
 Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator. More...
 
MS2_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route (LinphoneAccountCreator *creator, const char *route)
 Set the route. More...
 
MS2_DEPRECATED const char * linphone_account_creator_get_route (const LinphoneAccountCreator *creator)
 Get the route. More...
 
MS2_DEPRECATED LinphoneProxyConfiglinphone_account_creator_configure (const LinphoneAccountCreator *creator)
 Configure an account (create a proxy config and authentication info for it). More...
 
void linphone_core_set_account_creator_url (LinphoneCore *core, const char *url)
 Sets the LinphoneAccountCreator url on the LinphoneCore. More...
 
const char * linphone_core_get_account_creator_url (LinphoneCore *core)
 Gets the LinphoneAccountCreator url on the LinphoneCore. More...
 
void linphone_core_set_account_creator_backend (LinphoneCore *core, LinphoneAccountCreatorBackend backend)
 Sets the LinphoneAccountCreator backend on the LinphoneCore. More...
 
LinphoneAccountCreatorBackend linphone_core_get_account_creator_backend (const LinphoneCore *core)
 Gets the LinphoneAccountCreator backend set for the LinphoneCore. More...
 
LinphoneAccountCreatorlinphone_core_create_account_creator (LinphoneCore *core, const char *xmlrpc_url)
 Create a LinphoneAccountCreator and set Linphone Request callbacks. More...
 
LinphoneAccountManagerServiceslinphone_core_create_account_manager_services (LinphoneCore *core)
 Creates a LinphoneAccountManagerServices. More...
 
LinphoneAccountManagerServiceslinphone_account_manager_services_ref (LinphoneAccountManagerServices *ams)
 Takes a reference on a LinphoneAccountManagerServices. More...
 
void linphone_account_manager_services_unref (LinphoneAccountManagerServices *ams)
 Releases a LinphoneAccountManagerServices. More...
 
void linphone_account_manager_services_set_language (LinphoneAccountManagerServices *ams, const char *language)
 Sets the preferred language to get error messages from account manager (if supported, otherwise will be english). More...
 
const char * linphone_account_manager_services_get_language (const LinphoneAccountManagerServices *ams)
 Gets the configurer preferred language, if set. More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_send_account_creation_token_by_push_request (LinphoneAccountManagerServices *ams, const char *pn_provider, const char *pn_param, const char *pn_prid)
 Requests a push notification to be sent to device, containing a valid account creation token. More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_get_account_creation_request_token_request (LinphoneAccountManagerServices *ams)
 Requests a an account creation request token that once validated using the URL returned by this method upon success, will allow you to call linphone_account_manager_services_create_get_account_creation_token_from_request_token_request() to obtain a valid account creation token. More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_get_account_creation_token_from_request_token_request (LinphoneAccountManagerServices *ams, const char *request_token)
 Converts an account creation request token obtained by linphone_account_manager_services_request_account_creation_request_token to an account creation token. More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_new_account_using_token_request (LinphoneAccountManagerServices *ams, const char *username, const char *password, const char *algorithm, const char *token)
 Creates an account using an account creation token, for example obtained using linphone_account_manager_services_create_send_account_creation_token_by_push_request(). More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request (LinphoneAccountManagerServices *ams, const LinphoneAddress *sip_identity, const char *phone_number)
 Requests a code to be sent to a given phone number, that can be used later to associate said phone number to an account using linphone_account_manager_services_create_link_phone_number_to_account_using_code_request(). More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_link_phone_number_to_account_using_code_request (LinphoneAccountManagerServices *ams, const LinphoneAddress *sip_identity, const char *code)
 Validates the link between a phone number and an account using a code received by SMS after calling linphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request() More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_send_email_linking_code_by_email_request (LinphoneAccountManagerServices *ams, const LinphoneAddress *sip_identity, const char *email_address)
 Requests a code to be sent to a given email address, that can be used later to associate said email to an account using linphone_account_manager_services_create_link_email_to_account_using_code_request(). More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_link_email_to_account_using_code_request (LinphoneAccountManagerServices *ams, const LinphoneAddress *sip_identity, const char *code)
 Validates the link between an email address and an account using a code received by email after calling linphone_account_manager_services_create_send_email_linking_code_by_email_request() More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_get_devices_list_request (LinphoneAccountManagerServices *ams, const LinphoneAddress *sip_identity)
 Requests the list of devices currently known. More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_create_delete_device_request (LinphoneAccountManagerServices *ams, const LinphoneAddress *sip_identity, const LinphoneAccountDevice *device)
 Requests to delete a device from the list of currently known devices. More...
 
LinphoneAccountManagerServicesRequestlinphone_account_manager_services_request_ref (LinphoneAccountManagerServicesRequest *request)
 Takes a reference on a LinphoneAccountManagerServicesRequest. More...
 
void linphone_account_manager_services_request_unref (LinphoneAccountManagerServicesRequest *request)
 Releases a LinphoneAccountManagerServicesRequest. More...
 
void linphone_account_manager_services_request_submit (LinphoneAccountManagerServicesRequest *request)
 Executes the request represented by LinphoneAccountManagerServicesRequest. More...
 
LinphoneAccountManagerServicesRequestType linphone_account_manager_services_request_get_type (const LinphoneAccountManagerServicesRequest *request)
 Gets the LinphoneAccountManagerServicesRequestType representing this request. More...
 
void linphone_account_manager_services_request_add_callbacks (LinphoneAccountManagerServicesRequest *request, LinphoneAccountManagerServicesRequestCbs *cbs)
 Adds a listener in order to be notified of LinphoneAccountManagerServicesRequest events. More...
 
void linphone_account_manager_services_request_remove_callbacks (LinphoneAccountManagerServicesRequest *request, LinphoneAccountManagerServicesRequestCbs *cbs)
 Removes a listener from a LinphoneAccountManagerServicesRequest. More...
 
LinphoneAccountManagerServicesRequestCbslinphone_account_manager_services_request_get_current_callbacks (const LinphoneAccountManagerServicesRequest *request)
 Gets the current LinphoneAccountManagerServicesRequest. More...
 
LinphoneAccountManagerServicesRequestCbslinphone_account_manager_services_request_cbs_ref (LinphoneAccountManagerServicesRequestCbs *cbs)
 Acquire a reference to the account manager services callbacks object. More...
 
void linphone_account_manager_services_request_cbs_unref (LinphoneAccountManagerServicesRequestCbs *cbs)
 Release reference to the account manager services callbacks object. More...
 
void * linphone_account_manager_services_request_cbs_get_user_data (const LinphoneAccountManagerServicesRequestCbs *cbs)
 Retrieve the user pointer associated with the account manager services callbacks object. More...
 
void linphone_account_manager_services_request_cbs_set_user_data (LinphoneAccountManagerServicesRequestCbs *cbs, void *user_data)
 Assign a user pointer to the account manager services callbacks object. More...
 
LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb linphone_account_manager_services_request_cbs_get_request_successful (const LinphoneAccountManagerServicesRequestCbs *cbs)
 Gets the request successful callback. More...
 
void linphone_account_manager_services_request_cbs_set_request_successful (LinphoneAccountManagerServicesRequestCbs *cbs, LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb cb)
 Sets the request successful callback. More...
 
LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb linphone_account_manager_services_request_cbs_get_request_error (const LinphoneAccountManagerServicesRequestCbs *cbs)
 Gets the request error callback. More...
 
void linphone_account_manager_services_request_cbs_set_request_error (LinphoneAccountManagerServicesRequestCbs *cbs, LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb cb)
 Sets the request error callback. More...
 
LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb linphone_account_manager_services_request_cbs_get_devices_list_fetched (const LinphoneAccountManagerServicesRequestCbs *cbs)
 Gets the devices list fetched callback. More...
 
void linphone_account_manager_services_request_cbs_set_devices_list_fetched (LinphoneAccountManagerServicesRequestCbs *cbs, LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb cb)
 Sets the devices list fetched callback. More...
 

Detailed Description

Typedef Documentation

◆ LinphoneAccountCreatorCbsStatusCb

typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response)

Callback to notify a response of server.

Parameters
creatorLinphoneAccountCreator object
statusThe status of the LinphoneAccountCreator test existence operation that has just finished
responseThe response has a string
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ LinphoneAccountCreatorService

typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService

An object to define a LinphoneAccountCreator service.

◆ LinphoneAccountManagerServices

typedef struct _LinphoneAccountManagerServices LinphoneAccountManagerServices

Creates and manage SIP user accounts remotely, using the REST API of the Flexisip Account Manager.

See also
https://gitlab.linphone.org/BC/public/flexisip-account-manager

◆ LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb

typedef void(* LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb) (const LinphoneAccountManagerServicesRequest *request, const bctbx_list_t *devices_list)

Callback for notifying when the #LinphoneAccountManagerServicesRequestGetDevicesList request has results available.

Parameters
requestLinphoneAccountManagerServicesRequest object.
devices_listthe of fetched devices.

◆ LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb

typedef void(* LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb) (const LinphoneAccountManagerServicesRequest *request, int status_code, const char *error_message, const LinphoneDictionary *parameter_errors)

Callback for notifying a request has failed.

Parameters
requestLinphoneAccountManagerServicesRequest object.
status_codeThe error status code.
error_messageAn error message, if any.
parameter_errorsA LinphoneDictionary with parameter specific errors, if any.

◆ LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb

typedef void(* LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb) (const LinphoneAccountManagerServicesRequest *request, const char *data)

Callback for notifying a request was successful.

Parameters
requestLinphoneAccountManagerServicesRequest object.
dataany relevant data depending on the request (for example SIP identity for account creation).

Enumeration Type Documentation

◆ _LinphoneAccountCreatorActivationCodeStatus

Enum describing activation code checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorActivationCodeStatusOk 

Activation code ok.

LinphoneAccountCreatorActivationCodeStatusTooShort 

Activation code too short.

LinphoneAccountCreatorActivationCodeStatusTooLong 

Activation code too long.

LinphoneAccountCreatorActivationCodeStatusInvalidCharacters 

Contain invalid characters.

◆ _LinphoneAccountCreatorAlgoStatus

Enum describing algorithm checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorAlgoStatusOk 

Algorithm ok.

LinphoneAccountCreatorAlgoStatusNotSupported 

Algorithm not supported.

◆ _LinphoneAccountCreatorBackend

Enum describing backend used in the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorBackendXMLRPC 

XMLRPC Backend.

LinphoneAccountCreatorBackendFlexiAPI 

FlexiAPI Backend.

◆ _LinphoneAccountCreatorDomainStatus

Enum describing domain checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorDomainOk 

Domain ok.

LinphoneAccountCreatorDomainInvalid 

Domain invalid.

◆ _LinphoneAccountCreatorEmailStatus

Enum describing email checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorEmailStatusOk 

Email ok.

LinphoneAccountCreatorEmailStatusMalformed 

Email malformed.

LinphoneAccountCreatorEmailStatusInvalidCharacters 

Contain invalid characters.

◆ _LinphoneAccountCreatorLanguageStatus

Enum describing language checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorLanguageStatusOk 

Language ok.

◆ _LinphoneAccountCreatorPasswordStatus

Enum describing password checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorPasswordStatusOk 

Password ok.

LinphoneAccountCreatorPasswordStatusTooShort 

Password too short.

LinphoneAccountCreatorPasswordStatusTooLong 

Password too long.

LinphoneAccountCreatorPasswordStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorPasswordStatusMissingCharacters 

Missing specific characters.

◆ _LinphoneAccountCreatorPhoneNumberStatus

Enum describing phone number checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorPhoneNumberStatusOk 

Phone number ok.

LinphoneAccountCreatorPhoneNumberStatusTooShort 

Phone number too short.

LinphoneAccountCreatorPhoneNumberStatusTooLong 

Phone number too long.

LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode 

Country code invalid.

LinphoneAccountCreatorPhoneNumberStatusInvalid 

Phone number invalid.

◆ _LinphoneAccountCreatorTransportStatus

Enum describing transport checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorTransportOk 

Transport ok.

LinphoneAccountCreatorTransportUnsupported 

Transport invalid.

◆ _LinphoneAccountCreatorUsernameStatus

Enum describing username checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorUsernameStatusOk 

Username ok.

LinphoneAccountCreatorUsernameStatusTooShort 

Username too short.

LinphoneAccountCreatorUsernameStatusTooLong 

Username too long.

LinphoneAccountCreatorUsernameStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorUsernameStatusInvalid 

Invalid username.

◆ _LinphoneAccountManagerServicesRequestType

List of all supported LinphoneAccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the LinphoneAccountManagerServicesRequestCbs.

Enumerator
LinphoneAccountManagerServicesRequestTypeSendAccountCreationTokenByPush 

Asks the account manager to send us an account creation token by push notification.

LinphoneAccountManagerServicesRequestTypeAccountCreationRequestToken 

Asks the account manager to create a request token to be validated in a web browser (captcha) and that can later be used to create an account creation token.

LinphoneAccountManagerServicesRequestTypeAccountCreationTokenFromAccountCreationRequestToken 

Asks the account manager to consume the account creation request token to create an account creation token.

LinphoneAccountManagerServicesRequestTypeCreateAccountUsingToken 

Uses an account creation token to create the account.

LinphoneAccountManagerServicesRequestTypeSendPhoneNumberLinkingCodeBySms 

Asks for a code to be sent by SMS to a given phone number to link that phone number with an account.

LinphoneAccountManagerServicesRequestTypeLinkPhoneNumberUsingCode 

Uses the code received by SMS to confirm the link between an account and a phone number.

LinphoneAccountManagerServicesRequestTypeSendEmailLinkingCodeByEmail 

Asks for a code to be sent by email to a given email address to link that address with an account.

LinphoneAccountManagerServicesRequestTypeLinkEmailUsingCode 

Uses the code received by email to confirm the link between an account and an email address.

LinphoneAccountManagerServicesRequestTypeGetDevicesList 

Gets the list of devices for account.

LinphoneAccountManagerServicesRequestTypeDeleteDevice 

Removes an account device.

Function Documentation

◆ linphone_account_creator_activate_account()

LinphoneAccountCreatorStatus linphone_account_creator_activate_account ( LinphoneAccountCreator creator)

Send a request to activate an account on server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_activate_alias()

LinphoneAccountCreatorStatus linphone_account_creator_activate_alias ( LinphoneAccountCreator creator)

Send a request to activate an alias.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_add_callbacks()

void linphone_account_creator_add_callbacks ( LinphoneAccountCreator creator,
LinphoneAccountCreatorCbs cbs 
)

Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
cbsThe LinphoneAccountCreatorCbs object to add to the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_cbs_get_account_creation_request_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_request_token ( const LinphoneAccountCreatorCbs cbs)

Get the callback on account creation request token.

In response:

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current request token request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_account_creation_token_using_request_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_token_using_request_token ( const LinphoneAccountCreatorCbs cbs)

Get the callback on account creation token.

In response, "token" is the token to pass to linphone_account_creator_set_token(). It is used for linphone_account_creator_create_account()

In status:

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current request token request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_activate_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account ( const LinphoneAccountCreatorCbs cbs)

Get the activate account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current activate account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_activate_alias()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias ( const LinphoneAccountCreatorCbs cbs)

Get the activate alias request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current link account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_create_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account ( const LinphoneAccountCreatorCbs cbs)

Get the create account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current create account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_account_activated()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated ( const LinphoneAccountCreatorCbs cbs)

Get the is account activated request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is account activated request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_account_exist()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist ( const LinphoneAccountCreatorCbs cbs)

Get the is account exist request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is account exist request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_account_linked()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked ( const LinphoneAccountCreatorCbs cbs)

Get the is account linked request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is account linked request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_alias_used()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used ( const LinphoneAccountCreatorCbs cbs)

Get the is alias used request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is alias used request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_link_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account ( const LinphoneAccountCreatorCbs cbs)

Get the link account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current link account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_login_linphone_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_login_linphone_account ( const LinphoneAccountCreatorCbs cbs)

Get the login linphone account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current login linphone account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_recover_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account ( const LinphoneAccountCreatorCbs cbs)

Get the recover account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current recover account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_send_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_send_token ( const LinphoneAccountCreatorCbs cbs)

Get the activate account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current activate account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_update_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account ( const LinphoneAccountCreatorCbs cbs)

Get the update account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current update account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_user_data()

void* linphone_account_creator_cbs_get_user_data ( const LinphoneAccountCreatorCbs cbs)

Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The user pointer associated with the LinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_ref()

LinphoneAccountCreatorCbs* linphone_account_creator_cbs_ref ( LinphoneAccountCreatorCbs cbs)

Acquire a reference to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The same LinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_account_creation_request_token()

void linphone_account_creator_cbs_set_account_creation_request_token ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe request token callback used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_account_creation_token_using_request_token()

void linphone_account_creator_cbs_set_account_creation_token_using_request_token ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe token callback used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_activate_account()

void linphone_account_creator_cbs_set_activate_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe activate account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_activate_alias()

void linphone_account_creator_cbs_set_activate_alias ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe activate alias request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_create_account()

void linphone_account_creator_cbs_set_create_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe create account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_account_activated()

void linphone_account_creator_cbs_set_is_account_activated ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is account activated request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_account_exist()

void linphone_account_creator_cbs_set_is_account_exist ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is account exist request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_account_linked()

void linphone_account_creator_cbs_set_is_account_linked ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is account linked request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_alias_used()

void linphone_account_creator_cbs_set_is_alias_used ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is alias used request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_link_account()

void linphone_account_creator_cbs_set_link_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe link account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_login_linphone_account()

void linphone_account_creator_cbs_set_login_linphone_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe login linphone account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_recover_account()

void linphone_account_creator_cbs_set_recover_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe recover account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_send_token()

void linphone_account_creator_cbs_set_send_token ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe send token request used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_update_account()

void linphone_account_creator_cbs_set_update_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe update account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_user_data()

void linphone_account_creator_cbs_set_user_data ( LinphoneAccountCreatorCbs cbs,
void *  user_data 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
user_dataThe user pointer to associate with the LinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_unref()

void linphone_account_creator_cbs_unref ( LinphoneAccountCreatorCbs cbs)

Release a reference to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_configure()

MS2_DEPRECATED LinphoneProxyConfig* linphone_account_creator_configure ( const LinphoneAccountCreator creator)

Configure an account (create a proxy config and authentication info for it).

Parameters
creatorLinphoneAccountCreator object
Returns
A LinphoneProxyConfig object if successful, NULL otherwise
Deprecated:
13/04/2017 Use linphone_account_creator_create_proxy_config() instead

◆ linphone_account_creator_create()

LinphoneAccountCreator* linphone_account_creator_create ( LinphoneCore core)

Create a LinphoneAccountCreator and set Linphone Request callbacks.

Parameters
coreThe LinphoneCore used for the XML-RPC communication
Returns
The new LinphoneAccountCreator object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_create_account()

LinphoneAccountCreatorStatus linphone_account_creator_create_account ( LinphoneAccountCreator creator)

Send a request to create an account on server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_create_account_in_core()

LinphoneAccount* linphone_account_creator_create_account_in_core ( const LinphoneAccountCreator creator)

Create and configure a LinphoneAccount and a LinphoneAuthInfo from informations set in the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
A LinphoneAccount object if successful, NULL otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_create_proxy_config()

LinphoneProxyConfig* linphone_account_creator_create_proxy_config ( const LinphoneAccountCreator creator)

Create and configure a proxy config and a authentication info for an account creator.

Parameters
creatorLinphoneAccountCreator object
Returns
A LinphoneProxyConfig object if successful, NULL otherwise.
Deprecated:
05/05/2023 Use linphone_account_creator_create_account_in_core() instead.

◆ linphone_account_creator_create_push_account()

LinphoneAccountCreatorStatus linphone_account_creator_create_push_account ( LinphoneAccountCreator creator)

Send a request to create a push account on server.

Push accounts are used in account dependent situation when account cannot send push notifications. A username and password are automatically generated, an account is automatically activated.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_account_creation_request_token()

const char* linphone_account_creator_get_account_creation_request_token ( const LinphoneAccountCreator creator)

Get the account creation request token received to be used to check user validation.

Parameters
creatorLinphoneAccountCreator object
Returns
The token set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_activation_code()

const char* linphone_account_creator_get_activation_code ( const LinphoneAccountCreator creator)

Get the activation code.

Parameters
creatorLinphoneAccountCreator object
Returns
The activation code of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_algorithm()

const char* linphone_account_creator_get_algorithm ( const LinphoneAccountCreator creator)

Get the algorithm configured in the account creator.

Parameters
creatorLinphoneAccountCreator object
Returns
The algorithm of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_callbacks()

MS2_DEPRECATED LinphoneAccountCreatorCbs* linphone_account_creator_get_callbacks ( const LinphoneAccountCreator creator)

Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
The LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator.
Deprecated:
19/02/2019 use add_callbacks / remove_callbacks instead

◆ linphone_account_creator_get_current_callbacks()

LinphoneAccountCreatorCbs* linphone_account_creator_get_current_callbacks ( const LinphoneAccountCreator creator)

Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
The current LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_display_name()

const char* linphone_account_creator_get_display_name ( const LinphoneAccountCreator creator)

Get the display name.

Parameters
creatorLinphoneAccountCreator object
Returns
The display name of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_domain()

const char* linphone_account_creator_get_domain ( const LinphoneAccountCreator creator)

Get the domain.

Parameters
creatorLinphoneAccountCreator object
Returns
The domain of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_email()

const char* linphone_account_creator_get_email ( const LinphoneAccountCreator creator)

Get the email.

Parameters
creatorLinphoneAccountCreator object
Returns
The email of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_ha1()

const char* linphone_account_creator_get_ha1 ( const LinphoneAccountCreator creator)

Get the ha1.

Parameters
creatorLinphoneAccountCreator object
Returns
The ha1 of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_language()

const char* linphone_account_creator_get_language ( const LinphoneAccountCreator creator)

Get the language use in email of SMS.

Parameters
creatorLinphoneAccountCreator object
Returns
The language of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_password()

const char* linphone_account_creator_get_password ( const LinphoneAccountCreator creator)

Get the password.

Parameters
creatorLinphoneAccountCreator object
Returns
The password of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_phone_country_code()

const char* linphone_account_creator_get_phone_country_code ( const LinphoneAccountCreator creator)

Get the international prefix.

Parameters
creatorLinphoneAccountCreator object
Returns
The international prefix (or phone country code) of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_phone_number()

const char* linphone_account_creator_get_phone_number ( const LinphoneAccountCreator creator)

Get the RFC 3966 normalized phone number.

Parameters
creatorLinphoneAccountCreator object
Returns
The phone number of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_pn_param()

const char* linphone_account_creator_get_pn_param ( const LinphoneAccountCreator creator)

Get the param to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
Returns
The pn_param set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_pn_prid()

const char* linphone_account_creator_get_pn_prid ( const LinphoneAccountCreator creator)

Get the prid to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
Returns
The pn_prid set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_pn_provider()

const char* linphone_account_creator_get_pn_provider ( const LinphoneAccountCreator creator)

Get the provider to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
Returns
The pn_provider set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_route()

MS2_DEPRECATED const char* linphone_account_creator_get_route ( const LinphoneAccountCreator creator)

Get the route.

Parameters
creatorLinphoneAccountCreator object
Returns
The route of the LinphoneAccountCreator.

◆ linphone_account_creator_get_service()

LinphoneAccountCreatorService* linphone_account_creator_get_service ( const LinphoneAccountCreator creator)

Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
The LinphoneAccountCreatorService object associated with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_set_as_default()

bool_t linphone_account_creator_get_set_as_default ( const LinphoneAccountCreator creator)

Get the set_as_default property.

Parameters
creatorLinphoneAccountCreator object
Returns
TRUE if account will be set as default, FALSE otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_token()

const char* linphone_account_creator_get_token ( const LinphoneAccountCreator creator)

Get the authentication token set (if any) to be used to authenticate next queries, if required.

Parameters
creatorLinphoneAccountCreator object
Returns
The token set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_transport()

LinphoneTransportType linphone_account_creator_get_transport ( const LinphoneAccountCreator creator)

Get Transport.

Parameters
creatorLinphoneAccountCreator object
Returns
The LinphoneTransportType of the creator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_user_data()

void* linphone_account_creator_get_user_data ( const LinphoneAccountCreator creator)

Retrieve the user pointer associated with the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
Returns
The user pointer associated with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_username()

const char* linphone_account_creator_get_username ( const LinphoneAccountCreator creator)

Get the username.

Parameters
creatorLinphoneAccountCreator object
Returns
The username of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_account_activated()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated ( LinphoneAccountCreator creator)

Send a request to know if an account is activated on server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_account_exist()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist ( LinphoneAccountCreator creator)

Send a request to know the existence of account on server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_account_linked()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked ( LinphoneAccountCreator creator)

Send a request to know if an account is linked.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_alias_used()

LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used ( LinphoneAccountCreator creator)

Send a request to know if an alias is used.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_link_account()

LinphoneAccountCreatorStatus linphone_account_creator_link_account ( LinphoneAccountCreator creator)

Send a request to link an account to an alias.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_login_linphone_account()

LinphoneAccountCreatorStatus linphone_account_creator_login_linphone_account ( LinphoneAccountCreator creator)

Send a request to get the password & algorithm of an account using the confirmation key.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_new()

LinphoneAccountCreator* linphone_account_creator_new ( LinphoneCore core,
const char *  xmlrpc_url 
)

Create a LinphoneAccountCreator and set Linphone Request callbacks.

Parameters
coreThe LinphoneCore used for the XML-RPC communication
xmlrpc_urlThe URL to the XML-RPC server.
Returns
The new LinphoneAccountCreator object.
Deprecated:
13/04/2020 Use linphone_account_creator_create() instead

◆ linphone_account_creator_recover_account()

LinphoneAccountCreatorStatus linphone_account_creator_recover_account ( LinphoneAccountCreator creator)

Send a request to recover an account.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_ref()

LinphoneAccountCreator* linphone_account_creator_ref ( LinphoneAccountCreator creator)

Acquire a reference to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
Returns
The same LinphoneAccountCreator object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_remove_callbacks()

void linphone_account_creator_remove_callbacks ( LinphoneAccountCreator creator,
LinphoneAccountCreatorCbs cbs 
)

Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
cbsThe LinphoneAccountCreatorCbs object to remove from the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_request_account_creation_request_token()

LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_request_token ( LinphoneAccountCreator creator)

Request an account creation "request_token" to be used on account creations.

The request_token is retrieved from the callback linphone_account_creator_cbs_get_account_creation_request_token()

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_request_account_creation_token_using_request_token()

LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_token_using_request_token ( LinphoneAccountCreator creator)

Send a request to get a token to be used for account creation from a request_token.

The token is retrieved from the callback linphone_account_creator_cbs_get_account_creation_token_using_request_token()

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_request_auth_token()

LinphoneAccountCreatorStatus linphone_account_creator_request_auth_token ( LinphoneAccountCreator creator)

Request an auth token to be send by the backend by push notification.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_reset()

void linphone_account_creator_reset ( LinphoneAccountCreator creator)

Reset the account creator entries like username, password, phone number...

Parameters
creatorLinphoneAccountCreator object
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_account()

void linphone_account_creator_set_account ( LinphoneAccountCreator creator,
LinphoneAccount account 
)

Assign a proxy config pointer to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
accountThe LinphoneAccount to associate with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_account_creation_request_token()

void linphone_account_creator_set_account_creation_request_token ( LinphoneAccountCreator creator,
const char *  token 
)

Set the account creation request token received to be used to check user validation.

Parameters
creatorLinphoneAccountCreator object
tokenThe token to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_activation_code()

LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code ( LinphoneAccountCreator creator,
const char *  activation_code 
)

Set the activation code.

Parameters
creatorLinphoneAccountCreator object
activation_codeThe activation code to set
Returns
LinphoneAccountCreatorActivationCodeStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_algorithm()

LinphoneAccountCreatorAlgoStatus linphone_account_creator_set_algorithm ( LinphoneAccountCreator creator,
const char *  algorithm 
)

Set the supported algorithm.

Parameters
creatorLinphoneAccountCreator object
algorithmThe algorithm to use
Returns
LinphoneAccountCreatorAlgoStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_as_default()

LinphoneAccountCreatorStatus linphone_account_creator_set_as_default ( LinphoneAccountCreator creator,
bool_t  set_as_default 
)

Set the set_as_default property.

Parameters
creatorLinphoneAccountCreator object
set_as_defaultTRUE for the created proxy config to be set as default in LinphoneCore, FALSE otherwise
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_display_name()

LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name ( LinphoneAccountCreator creator,
const char *  display_name 
)

Set the display name.

Parameters
creatorLinphoneAccountCreator object
display_nameThe display name to set
Returns
LinphoneAccountCreatorUsernameStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_domain()

LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain ( LinphoneAccountCreator creator,
const char *  domain 
)

Set the domain.

Parameters
creatorLinphoneAccountCreator object
domainThe domain to set
Returns
LinphoneAccountCreatorDomainOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_email()

LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email ( LinphoneAccountCreator creator,
const char *  email 
)

Set the email.

Parameters
creatorLinphoneAccountCreator object
emailThe email to set
Returns
LinphoneAccountCreatorEmailStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_ha1()

LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 ( LinphoneAccountCreator creator,
const char *  ha1 
)

Set the ha1.

Parameters
creatorLinphoneAccountCreator object
ha1The ha1 to set
Returns
LinphoneAccountCreatorPasswordStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_language()

LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language ( LinphoneAccountCreator creator,
const char *  lang 
)

Set the language to use in email or SMS if supported.

Parameters
creatorLinphoneAccountCreator object
langThe language to use
Returns
LinphoneAccountCreatorLanguageStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_password()

LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password ( LinphoneAccountCreator creator,
const char *  password 
)

Set the password.

Parameters
creatorLinphoneAccountCreator object
passwordThe password to set
Returns
LinphoneAccountCreatorPasswordStatusOk if everything is OK, or specific(s) error(s) otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_phone_number()

LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number ( LinphoneAccountCreator creator,
const char *  phone_number,
const char *  country_code 
)

Set the phone number normalized.

Parameters
creatorLinphoneAccountCreator object
phone_numberThe phone number to set
country_codeCountry code to associate phone number with
Returns
LinphoneAccountCreatorPhoneNumberStatusOk if everything is OK, or specific(s) error(s) otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_pn_param()

void linphone_account_creator_set_pn_param ( LinphoneAccountCreator creator,
const char *  pn_param 
)

Set the param to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
pn_paramThe pn_param to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_pn_prid()

void linphone_account_creator_set_pn_prid ( LinphoneAccountCreator creator,
const char *  pn_prid 
)

Set the prid to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
pn_pridThe pn_prid to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_pn_provider()

void linphone_account_creator_set_pn_provider ( LinphoneAccountCreator creator,
const char *  pn_provider 
)

Set the provider to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
pn_providerThe pn_provider to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_proxy_config()

void linphone_account_creator_set_proxy_config ( LinphoneAccountCreator creator,
LinphoneProxyConfig cfg 
)

Assign a proxy config pointer to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
cfgThe LinphoneProxyConfig to associate with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_route()

MS2_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route ( LinphoneAccountCreator creator,
const char *  route 
)

Set the route.

Parameters
creatorLinphoneAccountCreator object
routeThe route to set
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_token()

void linphone_account_creator_set_token ( LinphoneAccountCreator creator,
const char *  token 
)

Set the authentication token received by push notification to be used to authenticate next queries, if required.

Parameters
creatorLinphoneAccountCreator object
tokenThe token to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_transport()

LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport ( LinphoneAccountCreator creator,
LinphoneTransportType  transport 
)

Set Transport.

Parameters
creatorLinphoneAccountCreator object
transportThe LinphoneTransportType to set
Returns
LinphoneAccountCreatorTransportOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_user_data()

void linphone_account_creator_set_user_data ( LinphoneAccountCreator creator,
void *  user_data 
)

Assign a user pointer to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
user_dataThe user pointer to associate with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_username()

LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username ( LinphoneAccountCreator creator,
const char *  username 
)

Set the username.

Parameters
creatorLinphoneAccountCreator object
usernameThe username to set
Returns
LinphoneAccountCreatorUsernameStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_unref()

void linphone_account_creator_unref ( LinphoneAccountCreator creator)

Release reference to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_update_account()

LinphoneAccountCreatorStatus linphone_account_creator_update_account ( LinphoneAccountCreator creator)

Send a request to update an account.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_use_test_admin_account()

void linphone_account_creator_use_test_admin_account ( LinphoneAccountCreator creator)

Require the account creator to use special "test admin account".

Warning
The "test admin account" is a special feature required for automated test, and requires the APP_EVERYONE_IS_ADMIN property to be enabled on the remote Flexisip Account Manager (FlexiAPI). This feature must never be turned on for a production-stage app.
Parameters
creatorLinphoneAccountCreator object
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_manager_services_create_delete_device_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_delete_device_request ( LinphoneAccountManagerServices ams,
const LinphoneAddress sip_identity,
const LinphoneAccountDevice device 
)

Requests to delete a device from the list of currently known devices.

Parameters
amsThe LinphoneAccountManagerServices object.
sip_identitythe SIP identity URI that identifies your account for which you want the devices list.
devicethe LinphoneAccountDevice to delete.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_get_account_creation_request_token_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_get_account_creation_request_token_request ( LinphoneAccountManagerServices ams)

Requests a an account creation request token that once validated using the URL returned by this method upon success, will allow you to call linphone_account_manager_services_create_get_account_creation_token_from_request_token_request() to obtain a valid account creation token.

Once the account creation token is obtained, you can call linphone_account_manager_services_create_new_account_using_token_request().

Parameters
amsThe LinphoneAccountManagerServices object.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_get_account_creation_token_from_request_token_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_get_account_creation_token_from_request_token_request ( LinphoneAccountManagerServices ams,
const char *  request_token 
)

Converts an account creation request token obtained by linphone_account_manager_services_request_account_creation_request_token to an account creation token.

The obtained token can be used to call linphone_account_manager_services_create_new_account_using_token_request().

Parameters
amsThe LinphoneAccountManagerServices object.
request_tokenthe token obtained previously and validated using your web browser.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_get_devices_list_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_get_devices_list_request ( LinphoneAccountManagerServices ams,
const LinphoneAddress sip_identity 
)

Requests the list of devices currently known.

Parameters
amsThe LinphoneAccountManagerServices object.
sip_identitythe SIP identity URI that identifies your account for which you want the devices list.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_link_email_to_account_using_code_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_link_email_to_account_using_code_request ( LinphoneAccountManagerServices ams,
const LinphoneAddress sip_identity,
const char *  code 
)

Validates the link between an email address and an account using a code received by email after calling linphone_account_manager_services_create_send_email_linking_code_by_email_request()

Parameters
amsThe LinphoneAccountManagerServices object.
sip_identitythe SIP identity URI that identifies the account to which you want to link the email address to.
codethe code received by email.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_link_phone_number_to_account_using_code_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_link_phone_number_to_account_using_code_request ( LinphoneAccountManagerServices ams,
const LinphoneAddress sip_identity,
const char *  code 
)

Validates the link between a phone number and an account using a code received by SMS after calling linphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request()

Parameters
amsThe LinphoneAccountManagerServices object.
sip_identitythe SIP identity URI that identifies the account to which you want to link the phone number to.
codethe code received by SMS.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_new_account_using_token_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_new_account_using_token_request ( LinphoneAccountManagerServices ams,
const char *  username,
const char *  password,
const char *  algorithm,
const char *  token 
)

Creates an account using an account creation token, for example obtained using linphone_account_manager_services_create_send_account_creation_token_by_push_request().

Parameters
amsThe LinphoneAccountManagerServices object.
usernamethe username of the newly created account.
passwordthe password to use for the newly created account.
algorithmthe algorithm to use to hash the password (must be either MD5 or SHA-256).
tokenthe account creation token obtained previously.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_send_account_creation_token_by_push_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_send_account_creation_token_by_push_request ( LinphoneAccountManagerServices ams,
const char *  pn_provider,
const char *  pn_param,
const char *  pn_prid 
)

Requests a push notification to be sent to device, containing a valid account creation token.

Provider, param & prid can be obtained from linphone_core_get_push_notification_config(), but on iOS may need some modifications (depending on debug mode for example). Once the token is obtained, you can call linphone_account_manager_services_create_new_account_using_token_request().

Parameters
amsThe LinphoneAccountManagerServices object.
pn_providerThe provider, for example "apns.dev".
pn_paramThe parameters, for example "ABCD1234.org.linphone.phone.remote".
pn_pridThe prid, also known as push token.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_send_email_linking_code_by_email_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_send_email_linking_code_by_email_request ( LinphoneAccountManagerServices ams,
const LinphoneAddress sip_identity,
const char *  email_address 
)

Requests a code to be sent to a given email address, that can be used later to associate said email to an account using linphone_account_manager_services_create_link_email_to_account_using_code_request().

Parameters
amsThe LinphoneAccountManagerServices object.
sip_identitythe SIP identity URI that identifies the account to which you want to link the email address to.
email_addressthe email address to which to send the code to.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request ( LinphoneAccountManagerServices ams,
const LinphoneAddress sip_identity,
const char *  phone_number 
)

Requests a code to be sent to a given phone number, that can be used later to associate said phone number to an account using linphone_account_manager_services_create_link_phone_number_to_account_using_code_request().

Parameters
amsThe LinphoneAccountManagerServices object.
sip_identitythe SIP identity URI that identifies the account to which you want to link the phone number to.
phone_numberthe phone number to which to send the code by SMS.
Returns
the LinphoneAccountManagerServicesRequest request object.

◆ linphone_account_manager_services_get_language()

const char* linphone_account_manager_services_get_language ( const LinphoneAccountManagerServices ams)

Gets the configurer preferred language, if set.

Parameters
amsThe LinphoneAccountManagerServices object.
Returns
the language previously set, if any (otherwise NULL).

◆ linphone_account_manager_services_ref()

LinphoneAccountManagerServices* linphone_account_manager_services_ref ( LinphoneAccountManagerServices ams)

Takes a reference on a LinphoneAccountManagerServices.

Parameters
amsThe LinphoneAccountManagerServices object.
Returns
the same LinphoneAccountManagerServices object.

◆ linphone_account_manager_services_request_add_callbacks()

void linphone_account_manager_services_request_add_callbacks ( LinphoneAccountManagerServicesRequest request,
LinphoneAccountManagerServicesRequestCbs cbs 
)

Adds a listener in order to be notified of LinphoneAccountManagerServicesRequest events.

Parameters
requestThe LinphoneAccountManagerServicesRequest object to monitor.
cbsA LinphoneAccountManagerServicesRequestCbs object holding the callbacks you need.

◆ linphone_account_manager_services_request_cbs_get_devices_list_fetched()

LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb linphone_account_manager_services_request_cbs_get_devices_list_fetched ( const LinphoneAccountManagerServicesRequestCbs cbs)

Gets the devices list fetched callback.

Parameters
cbsLinphoneAccountManagerServicesRequestCbs object.
Returns
The current devices list fetched callback.

◆ linphone_account_manager_services_request_cbs_get_request_error()

LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb linphone_account_manager_services_request_cbs_get_request_error ( const LinphoneAccountManagerServicesRequestCbs cbs)

Gets the request error callback.

Parameters
cbsLinphoneAccountManagerServicesRequestCbs object.
Returns
The current request error callback.

◆ linphone_account_manager_services_request_cbs_get_request_successful()

LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb linphone_account_manager_services_request_cbs_get_request_successful ( const LinphoneAccountManagerServicesRequestCbs cbs)

Gets the request successful callback.

Parameters
cbsLinphoneAccountManagerServicesRequestCbs object.
Returns
The current request successful callback.

◆ linphone_account_manager_services_request_cbs_get_user_data()

void* linphone_account_manager_services_request_cbs_get_user_data ( const LinphoneAccountManagerServicesRequestCbs cbs)

Retrieve the user pointer associated with the account manager services callbacks object.

Parameters
cbsThe LinphoneAccountManagerServicesRequestCbs object.
Returns
The user pointer associated with the account manager services callbacks object.

◆ linphone_account_manager_services_request_cbs_ref()

LinphoneAccountManagerServicesRequestCbs* linphone_account_manager_services_request_cbs_ref ( LinphoneAccountManagerServicesRequestCbs cbs)

Acquire a reference to the account manager services callbacks object.

Parameters
cbsThe LinphoneAccountManagerServicesRequestCbs object.
Returns
The same account manager services callbacks object.

◆ linphone_account_manager_services_request_cbs_set_devices_list_fetched()

void linphone_account_manager_services_request_cbs_set_devices_list_fetched ( LinphoneAccountManagerServicesRequestCbs cbs,
LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb  cb 
)

Sets the devices list fetched callback.

Parameters
cbsLinphoneAccountManagerServicesRequestCbs object.
cbThe message devices list fetched callback to be used.

◆ linphone_account_manager_services_request_cbs_set_request_error()

void linphone_account_manager_services_request_cbs_set_request_error ( LinphoneAccountManagerServicesRequestCbs cbs,
LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb  cb 
)

Sets the request error callback.

Parameters
cbsLinphoneAccountManagerServicesRequestCbs object.
cbThe message request error callback to be used.

◆ linphone_account_manager_services_request_cbs_set_request_successful()

void linphone_account_manager_services_request_cbs_set_request_successful ( LinphoneAccountManagerServicesRequestCbs cbs,
LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb  cb 
)

Sets the request successful callback.

Parameters
cbsLinphoneAccountManagerServicesRequestCbs object.
cbThe request successful callback to be used.

◆ linphone_account_manager_services_request_cbs_set_user_data()

void linphone_account_manager_services_request_cbs_set_user_data ( LinphoneAccountManagerServicesRequestCbs cbs,
void *  user_data 
)

Assign a user pointer to the account manager services callbacks object.

Parameters
cbsThe LinphoneAccountManagerServicesRequestCbs object.
user_dataThe user pointer to associate with the account manager services callbacks object.

◆ linphone_account_manager_services_request_cbs_unref()

void linphone_account_manager_services_request_cbs_unref ( LinphoneAccountManagerServicesRequestCbs cbs)

Release reference to the account manager services callbacks object.

Parameters
cbsThe LinphoneAccountManagerServicesRequestCbs object.

◆ linphone_account_manager_services_request_get_current_callbacks()

LinphoneAccountManagerServicesRequestCbs* linphone_account_manager_services_request_get_current_callbacks ( const LinphoneAccountManagerServicesRequest request)

Gets the current LinphoneAccountManagerServicesRequest.

This is meant only to be called from a callback to be able to get the user_data associated with the LinphoneAccountManagerServicesRequestCbs that is calling the callback.

Parameters
requestThe LinphoneAccountManagerServicesRequest object.
Returns
The LinphoneAccountManagerServicesRequestCbs that has called the last callback.

◆ linphone_account_manager_services_request_get_type()

LinphoneAccountManagerServicesRequestType linphone_account_manager_services_request_get_type ( const LinphoneAccountManagerServicesRequest request)

Gets the LinphoneAccountManagerServicesRequestType representing this request.

Parameters
requestThe LinphoneAccountManagerServicesRequest object.
Returns
the LinphoneAccountManagerServicesRequestType.

◆ linphone_account_manager_services_request_ref()

LinphoneAccountManagerServicesRequest* linphone_account_manager_services_request_ref ( LinphoneAccountManagerServicesRequest request)

Takes a reference on a LinphoneAccountManagerServicesRequest.

Parameters
requestThe LinphoneAccountManagerServicesRequest object.
Returns
the same LinphoneAccountManagerServicesRequest object.

◆ linphone_account_manager_services_request_remove_callbacks()

void linphone_account_manager_services_request_remove_callbacks ( LinphoneAccountManagerServicesRequest request,
LinphoneAccountManagerServicesRequestCbs cbs 
)

Removes a listener from a LinphoneAccountManagerServicesRequest.

Parameters
requestThe LinphoneAccount object.
cbsLinphoneAccountManagerServicesRequestCbs object to remove.

◆ linphone_account_manager_services_request_submit()

void linphone_account_manager_services_request_submit ( LinphoneAccountManagerServicesRequest request)

Executes the request represented by LinphoneAccountManagerServicesRequest.

Parameters
requestThe LinphoneAccountManagerServicesRequest object to execute.

◆ linphone_account_manager_services_request_unref()

void linphone_account_manager_services_request_unref ( LinphoneAccountManagerServicesRequest request)

◆ linphone_account_manager_services_set_language()

void linphone_account_manager_services_set_language ( LinphoneAccountManagerServices ams,
const char *  language 
)

Sets the preferred language to get error messages from account manager (if supported, otherwise will be english).

Parameters
amsThe LinphoneAccountManagerServices object.
languageThe language (en, fr, etc...) you'd like to have error messages in (if possible).

◆ linphone_account_manager_services_unref()

void linphone_account_manager_services_unref ( LinphoneAccountManagerServices ams)

Releases a LinphoneAccountManagerServices.

Parameters
amsThe LinphoneAccountManagerServices object.

◆ linphone_core_create_account_creator()

LinphoneAccountCreator* linphone_core_create_account_creator ( LinphoneCore core,
const char *  xmlrpc_url 
)

Create a LinphoneAccountCreator and set Linphone Request callbacks.

Parameters
coreThe LinphoneCore used for the XML-RPC communication
xmlrpc_urlThe URL to the XML-RPC server.
Returns
The new LinphoneAccountCreator object.
Deprecated:
04/09/2024 : The LinphoneAccountCreator interface is replaced by the LinphoneAccountManagerServices interface.

◆ linphone_core_create_account_manager_services()

LinphoneAccountManagerServices* linphone_core_create_account_manager_services ( LinphoneCore core)

Creates a LinphoneAccountManagerServices.

Parameters
coreThe LinphoneCore to use
Returns
The new LinphoneAccountManagerServices object.

◆ linphone_core_get_account_creator_backend()

LinphoneAccountCreatorBackend linphone_core_get_account_creator_backend ( const LinphoneCore core)

Gets the LinphoneAccountCreator backend set for the LinphoneCore.

Parameters
coreThe LinphoneCore
Returns
The LinphoneAccountCreatorBackend

◆ linphone_core_get_account_creator_url()

const char* linphone_core_get_account_creator_url ( LinphoneCore core)

Gets the LinphoneAccountCreator url on the LinphoneCore.

Parameters
coreThe LinphoneCore
Returns
url The URL to reach.

◆ linphone_core_set_account_creator_backend()

void linphone_core_set_account_creator_backend ( LinphoneCore core,
LinphoneAccountCreatorBackend  backend 
)

Sets the LinphoneAccountCreator backend on the LinphoneCore.

Parameters
coreThe LinphoneCore
backendThe LinphoneAccountCreatorBackend

◆ linphone_core_set_account_creator_url()

void linphone_core_set_account_creator_url ( LinphoneCore core,
const char *  url 
)

Sets the LinphoneAccountCreator url on the LinphoneCore.

Parameters
coreThe LinphoneCore
urlThe URL to reach