5 releases (1 stable)
new 1.0.0 | Jan 16, 2025 |
---|---|
0.1.3 | Oct 23, 2024 |
0.1.2 | Aug 30, 2024 |
0.1.1 | Aug 23, 2024 |
0.1.0 | Aug 23, 2024 |
#158 in Authentication
22 downloads per month
96KB
1.5K
SLoC
About
Passage by 1Password unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the WebAuthn API, and allows you to implement passkeys with ease.
Use Passkey Flex to add passkeys to an existing authentication experience.
Use Passkey Complete as a standalone passwordless auth solution.
Use Passkey Ready to determine if your users are ready for passkeys.
In passage-flex-rust
Use passage-flex-rust to implement Passkey Flex into your Rust backend to authenticate requests and manage users.
Product | Compatible |
---|---|
Passkey Flex | ✅ |
Passkey Complete | ✖️ For Passkey Complete, check out the Passkey Complete APIs |
Passkey Ready | ✖️ For Passkey Ready, check out Authentikit |
Getting Started
Check Prerequisites
You'll need a free Passage account and a Passkey Flex app set up in Passage Console to get started.
Learn more about Passage Console →
Install
cargo add passage_flex
Import
use passage_flex::PassageFlex;
Initialize
let passage_flex = PassageFlex::new(
std::env::var("YOUR_PASSAGE_APP_ID").unwrap(),
std::env::var("YOUR_PASSAGE_API_KEY").unwrap(),
);
Go Passwordless
Find all core functions and more implementation guidance on our Passkey Flex Rust Documentation page.
Support & Feedback
We are here to help! Find additional docs, the best ways to get in touch with our team, and more within our support resources.
Passage is a product by 1Password, the global leader in access management solutions with nearly 150k business customers.
This project is licensed under the MIT license. See the LICENSE file for more info.
Dependencies
~5–16MB
~208K SLoC