MCPcopy
hub / github.com/Infisical/agent-vault / CreateUser

Method CreateUser

internal/server/server.go:257–257  ·  view source on GitHub ↗
(ctx context.Context, email string, passwordHash, passwordSalt []byte, role string, kdfTime uint32, kdfMemory uint32, kdfThreads uint8)

Source from the content-addressed store, hash-verified

255type Store interface {
256 GetMasterKeyRecord(ctx context.Context) (*store.MasterKeyRecord, error)
257 CreateUser(ctx context.Context, email string, passwordHash, passwordSalt []byte, role string, kdfTime uint32, kdfMemory uint32, kdfThreads uint8) (*store.User, error)
258 GetUserByEmail(ctx context.Context, email string) (*store.User, error)
259 GetUserByID(ctx context.Context, id string) (*store.User, error)
260 GetUserEmailByID(ctx context.Context, id string) (string, error)

Implementers 1

SQLStoreinternal/store/sql_store.go

Calls

no outgoing calls