https://github.com/passageidentity/passage-flex-rust
Passkey Flex for Rust - Add passkey authentication to your own Rust authentication flows with Passage by 1Password
https://github.com/passageidentity/passage-flex-rust
1password authentication biometrics passage passage-sdk passkey-flex passkeys passwordless rust webauthn
Last synced: 4 days ago
JSON representation
Passkey Flex for Rust - Add passkey authentication to your own Rust authentication flows with Passage by 1Password
- Host: GitHub
- URL: https://github.com/passageidentity/passage-flex-rust
- Owner: passageidentity
- License: mit
- Created: 2024-08-16T17:43:28.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T18:29:26.000Z (8 months ago)
- Last Synced: 2024-11-19T19:45:22.484Z (8 months ago)
- Topics: 1password, authentication, biometrics, passage, passage-sdk, passkey-flex, passkeys, passwordless, rust, webauthn
- Language: Rust
- Homepage: http://docs.passage.id/flex
- Size: 69.3 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

 [](#) 
## About
[Passage by 1Password](https://1password.com/product/passage) unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the [WebAuthn API](https://blog.1password.com/what-is-webauthn/), and allows you to implement passkeys with ease.
Use [Passkey Flex](https://docs.passage.id/flex) to add passkeys to an existing authentication experience.
Use [Passkey Complete](https://docs.passage.id/complete) as a standalone passwordless auth solution.
Use [Passkey Ready](https://docs.passage.id/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](https://docs.passage.id/complete/backend-sdks) |
|  Passkey **Ready** | ✖️ For Passkey Ready, check out [Authentikit](https://www.npmjs.com/package/@passageidentity/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
```shell
cargo add passage_flex
```### Import
```rust
use passage_flex::PassageFlex;
```### Initialize
```rust
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](https://docs.passage.id/flex/rust) 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](https://github.com/passageidentity/.github/blob/main/SUPPORT.md).
---
![]()
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.