Skip to content

rc_client_begin_login_with_token

Jamiras edited this page Jun 30, 2023 · 3 revisions

Starts the login process for a user.

Syntax

rc_client_async_handle_t* rc_client_begin_login_with_token(
    rc_client_t* client,
    const char* username,
    const char* token,
    rc_client_callback_t callback,
    void* callback_userdata
);

Parameters

client

The rc_client_t to manage the logged in user.

username

The user's login.

token

A token captured from a previous login.

callback

Function to call when the login process completes.

callback_userdata

Additional information to pass to the callback function.

Returns

Pointer to an rc_client_async_handle_t that can be passed to rc_client_abort_async to cancel the login request. The rc_client_async_handle_t is invalid after callback has been called.

Remarks

See rc_client_begin_login_with_password for information on the callback.

If successful, rc_client_get_user_info will return information about the logged in user.

Minimum version: 11.0.0

See also

rc_client_begin_login_with_password

rc_client_create

rc_client_get_user_info

rcheevos
rc_client

Integration guide

client

user

game

processing

rc_client_raintegration

Integration guide

rc_runtime
rhash
rapi

common

user

runtime

info

Clone this wiki locally