auth: publish passkey foundations preview
verify / verify (push) Successful in 3m40s

This commit is contained in:
2026-08-21 17:33:00 -04:00
parent fb6bbd0dad
commit bfe6cfd29e
230 changed files with 44547 additions and 17 deletions
+19
View File
@@ -0,0 +1,19 @@
package webauthn_test
import "github.com/go-webauthn/webauthn/webauthn"
// Example_newRelyingParty demonstrates initializing a relying party.
func Example_newRelyingParty() {
config := &webauthn.Config{
RPDisplayName: "Go WebAuthn",
RPID: "app.awesome-go-webauthn.com",
RPOrigins: []string{"https://app.awesome-go-webauthn.com"},
}
handler, err := webauthn.New(config)
if err != nil {
panic(err)
}
_ = handler
}