feat: initial user identity structs
This commit is contained in:
parent
93782c9db7
commit
22e72da15c
|
@ -0,0 +1,11 @@
|
|||
package metadata
|
||||
|
||||
import "git.lumeweb.com/LumeWeb/libs5-go/encoding"
|
||||
|
||||
type UserIdentityMetadata struct {
|
||||
UserID *encoding.CID
|
||||
Details UserIdentityMetadataDetails
|
||||
SigningKeys []UserIdentityPublicKey
|
||||
EncryptionKeys []UserIdentityPublicKey
|
||||
Links map[int]*encoding.CID
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package metadata
|
||||
|
||||
type UserIdentityMetadataDetails struct {
|
||||
Created int64
|
||||
CreatedBy string
|
||||
Modified int64
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package metadata
|
||||
|
||||
type UserIdentityPublicKey struct {
|
||||
Key []byte
|
||||
}
|
Loading…
Reference in New Issue