Commit 6778707
authored
feat: add login without password, and some rewrite (#361)
BREAKING CHANGE: options (`webauthn.auth.options` and `webauthn.store.options`) routes are now POST. GET routes are reserved for the views (`webauthn.login` and `webauthn.create`). `webauthn.auth` and `webauthn.store` routes must send data flatten. See details in https://github.com/asbiin/laravel-webauthn/blob/main/docs/migration-v2-to-v3.md .
- `LoginViewResponse` contract has now a `setPublicKey` method
- `RegisterSuccessResponse` contract has now a `setWebauthnKey` method
- `RegisterViewResponse` contract has now a `setPublicKey` method
- `Webauthn::login()` now takes 1 argument for `$user`: `login(\Illuminate\Contracts\Auth\Authenticatable $user)`1 parent e8d3fa9 commit 6778707
File tree
80 files changed
+2781
-1435
lines changed- config
- database/factories
- docs
- resources
- js
- lang/en
- views
- routes
- src
- Actions
- Auth
- Contracts
- Events
- Facades
- Http
- Controllers
- Middleware
- Requests
- Responses
- Listeners
- Services
- Webauthn
- tests
- Fake
- Unit
- Actions
- Auth
- Http
- Controllers
- Middleware
- Services
- Webauthn
- database/factories
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
80 files changed
+2781
-1435
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments