Skip to main content

live_code_with

Function live_code_with 

Source
pub fn live_code_with(
    secret_b32: &str,
    params: &Params,
    with_next: bool,
) -> Result<LiveCode, String>
Expand description

The same, optionally carrying the code that comes next.

with_next is a parameter rather than always-on because the next code is a second working credential with a longer life than the one on screen: a screenshot of a panel showing both is good for up to two periods rather than one. The authenticator screen puts it behind a toggle and the CLI behind --next.