Skip to content

Commit 6778707

Browse files
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

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

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"next",
66
"next-major",
77
{"name": "beta", "prerelease": true},
8-
{"name": "alpha", "prerelease": true},
8+
{"name": "alpha", "prerelease": true}
99
],
1010
"plugins": [
1111
[

0 commit comments

Comments
 (0)