8000 GitHub - lightsing/tid-rs: TouchId integration for Rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lightsing/tid-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tid-rs

TouchId integration for Rust

Usage

async fn touch_id() {
    let mut ctx = LAContext::new();
    if ctx.can_evaluate_policy(LAPolicy::DeviceOwnerAuthenticationWithBiometrics) {
        ctx.set_localized_cancel_title("Use 
5AEB
Another Method");
        ctx.evaluate_policy(
            LAPolicy::DeviceOwnerAuthenticationWithBiometrics,
            "Use TouchId to Unlock Rust",
        ).await;
    }
}

About

TouchId integration for Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0