diff --git a/Cargo.toml b/Cargo.toml index 37eb260..5508db3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "passage_flex" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["support@passage.id"] -description = "Provides verification of server-side authentication for applications using Passage Passkey Flex" -homepage = "https://github.com/passageidentity/passage-flex-rust" +description = "Passkey Flex for Rust - Add passkey authentication to your own Rust authentication flows with Passage by 1Password" +homepage = "https://docs.passage.id/flex" repository = "https://github.com/passageidentity/passage-flex-rust" readme = "README.md" license = "MIT" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3442d75 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Passage by 1Password + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 53fe559..0419373 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,65 @@ -# passage_flex +![passage-flex-rust](https://storage.googleapis.com/passage-docs/github-md-assets/passage-flex-rust.png) - +![crates.io](https://img.shields.io/crates/v/passage_flex.svg) [![Rust](https://img.shields.io/badge/Rust-%23000000.svg?e&logo=rust&logoColor=white)](#) ![GitHub License](https://img.shields.io/github/license/passageidentity/passage-flex-rust) +![Static Badge](https://img.shields.io/badge/Built_by_1Password-grey?logo=1password) -![crates.io](https://img.shields.io/crates/v/passage_flex.svg) +## About -Passkey Flex provides passkey support for existing authentication systems. It abstracts the complexities of native passkey APIs and provides a simple, clean solution to take your authentication to the next level. +[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. -The `passage_flex` Rust crate allows for verification of server-side authentication for applications using [Passage Passkey Flex](https://passage.id). +Use [Passkey Flex](https://docs.passage.id/flex) to add passkeys to an existing authentication experience. -For full documentation, visit the [Passkey Flex Docs](https://docs-v2.passage.id/flex) and [Docs.rs](https://docs.rs/passage_flex/latest/passage_flex/) pages. +Use [Passkey Complete](https://docs.passage.id/complete) as a standalone passwordless auth solution. -## Installation +Use [Passkey Ready](https://docs.passage.id/passkey-ready) to determine if your users are ready for passkeys. -Install this crate using cargo: +### 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](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-flex-icon.png) Passkey **Flex** | ✅ | +| ![Passkey Complete](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-complete-icon.png) Passkey **Complete** | ✖️ For Passkey Complete, check out the [Passkey Complete APIs](https://docs.passage.id/complete/backend-sdks) | +| ![Passkey Ready](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-ready-icon.png) 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 →
+
+ +
+ +
+ 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.
+