Logging In and Logging Out
Reference the Vivox Core SDK API.
Read time 3 minutesLast updated 7 months ago
Classes
Name | |
|---|---|
| struct | vx_req_account_login |
| struct | vx_req_account_authtoken_login |
| struct | vx_req_account_anonymous_login Log in anonymously to the Vivox network. |
| struct | vx_req_account_logout Log a user out of the Vivox system. |
| struct | vx_resp_account_login |
| struct | vx_resp_account_authtoken_login |
| struct | vx_resp_account_anonymous_login The response for vx_req_account_anonymous_login. |
| struct | vx_resp_account_logout The response for vx_req_account_logout. |
| struct | vx_evt_account_login_state_change Sent whenever the login state of the particular account has transitioned from one value to another. |
Types
Name | |
|---|---|
| typedef struct vx_req_account_login | vx_req_account_login_t |
| typedef struct vx_req_account_authtoken_login | vx_req_account_authtoken_login_t |
| typedef struct vx_req_account_anonymous_login | vx_req_account_anonymous_login_t Log in anonymously to the Vivox network. |
| typedef struct vx_req_account_logout | vx_req_account_logout_t Log a user out of the Vivox system. |
| typedef struct vx_resp_account_login | vx_resp_account_login_t |
| typedef struct vx_resp_account_authtoken_login | vx_resp_account_authtoken_login_t |
| typedef struct vx_resp_account_anonymous_login | vx_resp_account_anonymous_login_t The response for vx_req_account_anonymous_login. |
| typedef struct vx_resp_account_logout | vx_resp_account_logout_t The response for vx_req_account_logout. |
| typedef struct vx_evt_account_login_state_change | vx_evt_account_login_state_change_t Sent whenever the login state of the particular account has transitioned from one value to another. |
Functions
Name | |
|---|---|
| VIVOXSDK_DLLEXPORT int | vx_req_account_login_create(vx_req_account_login_t ** req) Allocate and initialize a vx_req_account_login object. |
| VIVOXSDK_DLLEXPORT int | vx_req_account_authtoken_login_create(vx_req_account_authtoken_login_t ** req) Allocate and initialize a vx_req_account_authtoken_login object. |
| VIVOXSDK_DLLEXPORT int | vx_req_account_anonymous_login_create(vx_req_account_anonymous_login_t ** req) Allocate and initialize a vx_req_account_anonymous_login object. |
| VIVOXSDK_DLLEXPORT int | vx_req_account_logout_create(vx_req_account_logout_t ** req) Allocate and initialize a vx_req_account_logout object. |
Types Documentation
typedef vx_req_account_login_t
typedef struct vx_req_account_login vx_req_account_login_t;
Note: This can only be called after connector initialization has successfully completed.
typedef vx_req_account_authtoken_login_t
typedef struct vx_req_account_authtoken_login vx_req_account_authtoken_login_t;
Note: This can only be called after connector initialization has successfully completed.
typedef vx_req_account_anonymous_login_t
typedef struct vx_req_account_anonymous_login vx_req_account_anonymous_login_t;
Log in anonymously to the Vivox network.
Note: This can only be called after connector initialization has successfully completed.
This allows a user to log in and receive a temporary SIP URI and a user-generated display name, if supplied.
typedef vx_req_account_logout_t
typedef struct vx_req_account_logout vx_req_account_logout_t;
Log a user out of the Vivox system.
typedef vx_resp_account_login_t
typedef struct vx_resp_account_login vx_resp_account_login_t;
See: vx_req_account_login
typedef vx_resp_account_authtoken_login_t
typedef struct vx_resp_account_authtoken_login vx_resp_account_authtoken_login_t;
typedef vx_resp_account_anonymous_login_t
typedef struct vx_resp_account_anonymous_login vx_resp_account_anonymous_login_t;
The response for vx_req_account_anonymous_login.
typedef vx_resp_account_logout_t
typedef struct vx_resp_account_logout vx_resp_account_logout_t;
The response for vx_req_account_logout.
typedef vx_evt_account_login_state_change_t
typedef struct vx_evt_account_login_state_change vx_evt_account_login_state_change_t;
Sent whenever the login state of the particular account has transitioned from one value to another.
Functions Documentation
function vx_req_account_login_create
VIVOXSDK_DLLEXPORT int vx_req_account_login_create( vx_req_account_login_t ** req)
Allocate and initialize a vx_req_account_login object.
function vx_req_account_authtoken_login_create
VIVOXSDK_DLLEXPORT int vx_req_account_authtoken_login_create( vx_req_account_authtoken_login_t ** req)
Allocate and initialize a vx_req_account_authtoken_login object.
function vx_req_account_anonymous_login_create
VIVOXSDK_DLLEXPORT int vx_req_account_anonymous_login_create( vx_req_account_anonymous_login_t ** req)
Allocate and initialize a vx_req_account_anonymous_login object.
function vx_req_account_logout_create
VIVOXSDK_DLLEXPORT int vx_req_account_logout_create( vx_req_account_logout_t ** req)
Allocate and initialize a vx_req_account_logout object.