Skip to main content

begin_roblox_login

Function begin_roblox_login 

Source
pub async fn begin_roblox_login(
    app: AppHandle,
    expected_account_id: Option<u64>,
    runtime: State<'_, Runtime>,
) -> Result<AccountView, String>
Expand description

Opens the Roblox sign-in window and waits for it, then adds or updates the signed-in account. The previous session is restored if saving the account fails.