Skip to main content

authenticate_future

Function authenticate_future 

Source
pub fn authenticate_future(
    prompt: Prompt,
) -> impl Future<Output = Result<Verified, BiometricError>> + Send
Expand description

authenticate as a future. Dropping it before the answer arrives keeps the dialog on screen (the person still has to settle it) but discards the answer; call cancel to dismiss it.

Day API ↩ Guides· daybrite.dev