passkeys_windows 套件提供了一種 Windows 專有的實作,用於使用 Windows Hello 與 WebAuthn API 管理 passkeys。它透過允許使用者在本機建立與儲存 passkeys,實現在 Windows 裝置上的安全、生物特徵基礎驗證。此外,該套件可與針對 Windows 的 Flutter 應用程式無縫整合,為無密碼登入提供原生體驗。它支援透過 Windows Hello 實現的裝置層級安全功能,例如 PIN 碼、指紋或臉部辨識。此套件屬於 Corbado Flutter Passkeys 套件之一,並確保符合現代網路驗證標準。
適用情境
Windows 應用程式無密碼登入
安全的生物識別認證
與支援 WebAuthn 的服務整合
Windows 上的本地密鑰儲存
透過 Windows Hello 增強應用程式安全
主要特色
Windows Hello 結合
WebAuthn API 支援
生物識別驗證(PIN、指紋、臉部)
安全的本地密鑰儲存
Flutter 相容的 Windows 插件
適合對象
Flutter 應用針對 Windows
開發人員實現通行密鑰
需要強大本機驗證的應用程式
企業級安全解決方案
無密碼身分系統
使用建議
需要 Windows 10 或更新版本
僅限 Windows 平台
依賴 Windows Hello 的可用性
需要正確的設備設定
可能需要使用者同意才能存取生物識別資料
原始 README
以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。
Flutter passkeys
Flutter packages to enable passkey authentication (based on WebAuthn / FIDO2).
Android
iOS
Linux
macOS
Web
Windows
Support
:white_check_mark:
:white_check_mark:
:x:
:white_check_mark:
:white_check_mark:
:white_check_mark:
Current list of packages
1. Passkeys
Description
A Flutter package that enables simple passkey authentication.
Currently Android, iOS, macOS, Web and Windows are supported.
Features
sign up and login users with passkeys
connect your own relying party server or use pre-implemented ones
A Flutter package that builds on the passkeys package.
It adds additional functionalities to make it simpler to use passkey authentication in your own Flutter app.
Features
sign up and login users with passkeys
connect Corbado as pre-implemented relying party server
keep users logged in even if they close the app (automatic session refresh)
A Flutter package that builds on the corbado_auth and the passkeys package.
It helps you to integrate passkey authentication into your Flutter app that uses Firebase as a backend.
Note: This package is currently broken and will be fixed in the future. There is no specific ETA on when the fix will be available.
Features
allow new users to sign up and log in using passkeys
allow existing users (that you created with Firebase authentication) to setup a passkey and then log in with it
email OTP codes as fallback mechanism for situations when passkeys can not be used (e.g. when a user logs in to a device where none of his passkeys is available)
The passkeys package can be used as the platform authenticator for supabase_flutter.
Supabase Auth acts as the relying party server, while passkeys handles the native passkey prompts on iOS, Android, macOS, Windows and Web.
It requires supabase_flutter 2.15.0 or later and passkeys 2.21.0 or later.
try {
final res = await supabase.auth.signInWithPasskey(authenticator);
print('Signed in as ${res.user?.email}');
} onAuthExceptioncatch (e) {
print(e);
}
For custom flows there is also a two-step API under the supabase.auth.passkey namespace (startRegistration/verifyRegistration and startAuthentication/verifyAuthentication), as well as methods to list, rename and delete passkeys.
We're happy to receive your pull requests. For major changes, please open an issue first to discuss what you would like to change.
Support
If you have questions, feedback or wishes regarding features, please reach out to us via [email](mailto:contact@corbado.com) or join our passkeys community on Slack.