Skip to main content

authenticate

Function authenticate 

Source
pub fn authenticate(
    prompt: Prompt,
    on_done: impl FnOnce(Result<Verified, BiometricError>) + Send + 'static,
)
Expand description

Show the system’s authentication dialog and report how it ended, exactly once, on the platform’s thread. Fails at once, through the same callback, when the prompt is unusable, a prompt is already on screen, or this platform has none.

Day API ↩ Guides· daybrite.dev