feat: add passkey creation functionality

This commit is contained in:
Prad Nukala
2024-12-08 22:53:04 -05:00
parent 5c3966a9d6
commit e0ebe92361
15 changed files with 189 additions and 118 deletions
+15
View File
@@ -0,0 +1,15 @@
package passkeys
//
// import (
// "github.com/go-webauthn/webauthn/protocol"
// "github.com/labstack/echo/v4"
// "github.com/onsonr/sonr/crypto/mpc"
// )
//
// func Link(c echo.Context, handle string, ks mpc.Keyset) protocol.PublicKeyCredentialCreationOptions {
// origin := c.Request().Host
// svcName := c.Request().Host
// addr := ks.Address()
// return c.String(200, origin+" "+svcName+" "+addr+" "+handle)
// }