mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-11 13:29:12 +00:00
16 lines
425 B
Go
16 lines
425 B
Go
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)
|
|
// }
|