Skip to main content

wait_for_approval

Function wait_for_approval 

Source
pub async fn wait_for_approval(
    slot: &mut Option<PendingLogin>,
    timeout: Duration,
    prev: &Session,
) -> Result<WaitOutcome>
Expand description

grab auth login --poll: wait up to timeout for the in-app approval. Same slot / prev rules as finish_with_otp.