Class AccountCreator
The object used to configure an account on a server via XML-RPC See: Override account creator request The object used to configure an account on a server via XML-RPC See: Override account creator request
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class AccountCreator : LinphoneObject
Properties
Account
Assign a proxy config pointer to the LinphoneAccountCreator.
Declaration
[Obsolete]
public Account Account { set; }
Property Value
| Type | Description |
|---|---|
| Account |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
AccountCreationRequestToken
Get the account creation request token received to be used to check user validation.
Declaration
[Obsolete]
public string AccountCreationRequestToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The token set, if any @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
ActivationCode
Get the activation code.
Declaration
[Obsolete]
public string ActivationCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The activation code of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Algorithm
Get the algorithm configured in the account creator.
Declaration
[Obsolete]
public string Algorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The algorithm of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
AsDefault
Set the set_as_default property.
Declaration
[Obsolete]
public bool AsDefault { set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | Linphone.AccountCreatorStatus.RequestOk if everything is OK, or a specific error otherwise. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
DisplayName
Get the display name.
Declaration
[Obsolete]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The display name of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Domain
Get the domain.
Declaration
[Obsolete]
public string Domain { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The domain of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Get the email.
Declaration
[Obsolete]
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The email of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Ha1
Get the ha1.
Declaration
[Obsolete]
public string Ha1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ha1 of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Language
Get the language use in email of SMS.
Declaration
[Obsolete]
public string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The language of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Listener
Declaration
public AccountCreatorListener Listener { get; set; }
Property Value
| Type | Description |
|---|---|
| AccountCreatorListener |
Password
Get the password.
Declaration
[Obsolete]
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The password of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
PhoneCountryCode
Get the international prefix.
Declaration
[Obsolete]
public string PhoneCountryCode { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The international prefix (or phone country code) of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
PhoneNumber
Get the RFC 3966 normalized phone number.
Declaration
[Obsolete]
public string PhoneNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The phone number of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
PnParam
Get the param to be used by the backend to send the push notification to the device asking for an auth token.
Declaration
[Obsolete]
public string PnParam { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The pn_param set, if any @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
PnPrid
Get the prid to be used by the backend to send the push notification to the device asking for an auth token.
Declaration
[Obsolete]
public string PnPrid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The pn_prid set, if any @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
PnProvider
Get the provider to be used by the backend to send the push notification to the device asking for an auth token.
Declaration
[Obsolete]
public string PnProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The pn_provider set, if any @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
ProxyConfig
Assign a proxy config pointer to the LinphoneAccountCreator.
Declaration
[Obsolete]
public ProxyConfig ProxyConfig { set; }
Property Value
| Type | Description |
|---|---|
| ProxyConfig |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Route
Get the route.
Declaration
public string Route { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The route of the Linphone.AccountCreator. @maybenil |
SetAsDefault
Get the set_as_default property.
Declaration
[Obsolete]
public bool SetAsDefault { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true if account will be set as default, false otherwise. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Token
Get the authentication token set (if any) to be used to authenticate next queries, if required.
Declaration
[Obsolete]
public string Token { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The token set, if any @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Transport
Get Transport.
Declaration
[Obsolete]
public TransportType Transport { get; set; }
Property Value
| Type | Description |
|---|---|
| TransportType | The Linphone.TransportType of the creator. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Username
Get the username.
Declaration
[Obsolete]
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The username of the Linphone.AccountCreator. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Methods
ActivateAccount()
Send a request to activate an account on server.
Declaration
[Obsolete]
public AccountCreatorStatus ActivateAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
ActivateAlias()
Send a request to activate an alias.
Declaration
[Obsolete]
public AccountCreatorStatus ActivateAlias()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Create(Core)
Create a Linphone.AccountCreator and set Linphone Request callbacks.
Declaration
[Obsolete]
public static AccountCreator Create(Core core)
Parameters
| Type | Name | Description |
|---|---|---|
| Core | core | The Linphone.Core used for the XML-RPC communication @notnil |
Returns
| Type | Description |
|---|---|
| AccountCreator | The new Linphone.AccountCreator object. @notnil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
CreateAccount()
Send a request to create an account on server.
Declaration
[Obsolete]
public AccountCreatorStatus CreateAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
CreateAccountInCore()
Create and configure a Linphone.Account and a Linphone.AuthInfo from informations set in the Linphone.AccountCreator.
Declaration
[Obsolete]
public Account CreateAccountInCore()
Returns
| Type | Description |
|---|---|
| Account | A Linphone.Account object if successful, null otherwise. @maybenil |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
CreateProxyConfig()
Create and configure a proxy config and a authentication info for an account creator.
Declaration
[Obsolete]
public ProxyConfig CreateProxyConfig()
Returns
| Type | Description |
|---|---|
| ProxyConfig | A Linphone.ProxyConfig object if successful, null otherwise. @maybenil |
Remarks
Deprecated : 05/05/2023 Use Linphone.AccountCreator.CreateAccountInCore() instead.
CreatePushAccount()
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.
Declaration
[Obsolete]
public AccountCreatorStatus CreatePushAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
IsAccountActivated()
Send a request to know if an account is activated on server.
Declaration
[Obsolete]
public AccountCreatorStatus IsAccountActivated()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
IsAccountExist()
Send a request to know the existence of account on server.
Declaration
[Obsolete]
public AccountCreatorStatus IsAccountExist()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
IsAccountLinked()
Send a request to know if an account is linked.
Declaration
[Obsolete]
public AccountCreatorStatus IsAccountLinked()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
IsAliasUsed()
Send a request to know if an alias is used.
Declaration
[Obsolete]
public AccountCreatorStatus IsAliasUsed()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
LinkAccount()
Send a request to link an account to an alias.
Declaration
[Obsolete]
public AccountCreatorStatus LinkAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
LoginLinphoneAccount()
Send a request to get the password & algorithm of an account using the confirmation key.
Declaration
[Obsolete]
public AccountCreatorStatus LoginLinphoneAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if everything is OK, or a specific error otherwise. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
RecoverAccount()
Send a request to recover an account.
Declaration
[Obsolete]
public AccountCreatorStatus RecoverAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
RequestAccountCreationRequestToken()
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
Declaration
[Obsolete]
public AccountCreatorStatus RequestAccountCreationRequestToken()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if everything is OK, or a specific error otherwise. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
RequestAccountCreationTokenUsingRequestToken()
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
Declaration
[Obsolete]
public AccountCreatorStatus RequestAccountCreationTokenUsingRequestToken()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
RequestAuthToken()
Request an auth token to be send by the backend by push notification.
Declaration
[Obsolete]
public AccountCreatorStatus RequestAuthToken()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if everything is OK, or a specific error otherwise. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
Reset()
Reset the account creator entries like username, password, phone number...
Declaration
[Obsolete]
public void Reset()
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
SetPhoneNumber(String, String)
Set the phone number normalized.
Declaration
[Obsolete]
public uint SetPhoneNumber(string phoneNumber, string countryCode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | phoneNumber | The phone number to set @maybenil |
| System.String | countryCode | Country code to associate phone number with @maybenil |
Returns
| Type | Description |
|---|---|
| System.UInt32 | Linphone.AccountCreatorPhoneNumberStatus.Ok if everything is OK, or specific(s) error(s) otherwise. |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
UpdateAccount()
Send a request to update an account.
Declaration
[Obsolete]
public AccountCreatorStatus UpdateAccount()
Returns
| Type | Description |
|---|---|
| AccountCreatorStatus | Linphone.AccountCreatorStatus.RequestOk if the request has been sent, Linphone.AccountCreatorStatus.RequestFailed otherwise |
Remarks
Deprecated : 11/06/2024 use Linphone.AccountManagerServices instead
UseTestAdminAccount()
Require the account creator to use special "test admin account".
Declaration
[Obsolete]
public void UseTestAdminAccount()
Remarks
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.