Laravel Passkeys Rust
=====================

*v0.1.0*

Passkey login for Laravel for Rust, without a password or a username.

```
cargo add laravel-passkeys-rust
```

[View on crates.io](https://crates.io/crates/laravel-passkeys-rust) [View on GitHub](https://github.com/mischasigtermans/laravel-passkeys-rust)

The demo runs on demo.sigtermans.me, so its passkeys belong to that domain and stay out of your way everywhere else.

What it does
------------

- No password, no username

  The passkey says who the user is. Log in with a button, or from the email field autofill.

- Routes and a script

  The service provider adds the routes and serves /passkeys/passkeys.js, so a page needs one button and one script tag.

- A guard where you want it

  Put a password confirmation of your own in front of adding and removing passkeys with middleware().

- Events

  PasskeyRegistered and PasskeyUsed are dispatched when a passkey is added or used.

[View on crates.io](https://crates.io/crates/laravel-passkeys-rust).
