| Crates.io | tauri-plugin-macos-passkey |
| lib.rs | tauri-plugin-macos-passkey |
| version | 0.1.0 |
| created_at | 2025-08-14 03:02:38.769638+00 |
| updated_at | 2025-08-14 03:02:38.769638+00 |
| description | Call macOS Passkey registration/login APIs in Tauri apps with ease! |
| homepage | https://github.com/yminghua/tauri-passkey-demo |
| repository | https://github.com/yminghua/tauri-plugin-macos-passkey |
| max_upload_size | |
| id | 1794377 |
| size | 165,960 |
A Tauri plugin that lets your Tauri app call macOS native Passkey APIs for registration and login, with optional support for returning the Passkey PRF extension output.
For detailed setup instructions, see the tauri-passkey-demo repository.
register_passkeyinvoke("plugin:macos-passkey|register_passkey", {
domain: string,
challenge: number[],
username: string,
userId: number[],
salt: number[] // pass [] to skip PRF
})
{
id: string,
raw_id: string,
client_data_json: string,
attestation_object: string,
prf_output: number[] // empty if PRF skipped
}
login_passkeyinvoke("plugin:macos-passkey|login_passkey", {
domain: string,
challenge: number[],
salt: number[] // pass [] to skip PRF
})
{
id: string,
raw_id: string,
client_data_json: string,
authenticator_data: string,
signature: string,
user_handle: string,
prf_output: number[] // empty if PRF skipped
}
[]) and the plugin will skip the PRF extension.Licensed under either of
at your option.