sig-auth/keydirectory/registration.go

13 lines
218 B
Go
Raw Permalink Normal View History

2025-02-17 20:50:48 -05:00
package keydirectory
import (
"crypto"
"github.com/common-fate/httpsig/verifier"
)
type RegistrationDirectory interface {
verifier.KeyDirectory
2025-02-20 22:53:18 -05:00
RegisterKey(key crypto.PublicKey, userId string) (string, error)
2025-02-17 20:50:48 -05:00
}