सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
passkeys_platform_interface पैकेज विभिन्न प्लेटफॉर्मों पर पासकीज़ के लिए साझा प्लेटफॉर्म इंटरफ़ेस प्रदान करता है। यह प्लेटफॉर्म-विशिष्ट प्लगइन द्वारा कार्यान्वित किए जाने वाले मुख्य API कॉन्ट्रैक्ट को परिभाषित करता है, जिससे Android, iOS, Linux, macOS, Web और Windows पर पासकीज़ कार्यक्षमता सक्षम होती है। इस अब्स्ट्रैक्शन से संगत व्यवहार सुनिश्चित होता है और व्यापक पासकीज़ प्रणाली के साथ एकीकरण को सरल बनाया जाता है। नए प्लेटफॉर्मों के लिए समर्थन बढ़ाने वाले डेवलपर्स को इस इंटरफ़ेस को कार्यान्वित करना चाहिए ताकि संगतता बनी रहे और एकीकृत प्रमाणीकरण कार्यप्रणाली का लाभ उठाया जा सके।
उपयोग
क्रॉस-प्लेटफॉर्म पासकी की सत्यापन सक्षम करना
नए ऑपरेटिंग सिस्टम के लिए पासकीज़ को लागू करना
प्लेटफॉर्म-विशिष्ट पासकी बैकएंड बनाना
जैविक या पासवर्डलेस लॉगिन को एकीकृत करना
सुरक्षित स्थानीय प्रमाणीकरण का समर्थन करना
मुख्य विशेषताएँ
प्लेटफॉर्म के बीच साझा API संवाददाता
नए प्लेटफॉर्म कार्यान्वयन के लिए विस्तारयोग्य
मानकीकृत पासकी क्रियाएँ
प्रमुख डेस्कटॉप और मोबाइल ओएस का समर्थन करता है
प्लगइन अंतरोपयोग के लिए डिज़ाइन किया गया
इनके लिए उपयुक्त
प्लगइन विकासकर्ता पासकी समर्थन जोड़ रहे हैं
क्रॉस-प्लेटफ़ॉर्म प्रमाणीकरण लाइब्रेरी
पासवर्ड-मुक्त लॉगिन प्रणाली बना रहे टीमें
सुरक्षा-फोकस ऐप विकासकर्ता
प्रामाणिकता उपकरणों के खुले स्रोत योगदानकर्ता
विचार योग्य बातें
प्रत्येक लक्ष्य प्लेटफॉर्म पर कार्यान्वयन की आवश्यकता होती है
नीचे के ओएस पासकी समर्थन पर निर्भर
अतिरिक्त नेटिव कोड सेटअप की आवश्यकता हो सकती है
अंतिम उपयोगकर्ता एप्लिकेशन में सीधे उपयोग के लिए नहीं बनाया गया है
Corbado के पासकीज़ प्लगइन इकोसिस्टम के साथ मेल बैठना चाहिए
मूल 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.