MCPcopy
hub / github.com/ory/kratos / CreateIdentity

Method CreateIdentity

identity/pool.go:110–110  ·  view source on GitHub ↗

CreateIdentity creates an identity. It is capable of setting credentials without encoding. Will return an error if identity exists, backend connectivity is broken, or trait validation fails.

(context.Context, *Identity)

Source from the content-addressed store, hash-verified

108 // CreateIdentity creates an identity. It is capable of setting credentials without encoding. Will return an error
109 // if identity exists, backend connectivity is broken, or trait validation fails.
110 CreateIdentity(context.Context, *Identity) error
111
112 // CreateIdentities creates multiple identities. It is capable of setting credentials without encoding. Will return an error
113 // if identity exists, backend connectivity is broken, or trait validation fails.

Callers 15

TestManagerFunction · 0.65
TestPersisterFunction · 0.65
CreateMethod · 0.65
TestHandlerFunction · 0.65
TestPoolFunction · 0.65
TestManagerHTTPFunction · 0.65
TestPersisterFunction · 0.65
makeIdentitiesFunction · 0.65
TestGetCmdFunction · 0.65
NewImportIdentitiesCmdFunction · 0.65
TestDeleteCmdFunction · 0.65

Implementers 1

IdentityPersisterpersistence/sql/identity/persister_ide

Calls

no outgoing calls

Tested by 15

TestManagerFunction · 0.52
TestPersisterFunction · 0.52
TestHandlerFunction · 0.52
TestPoolFunction · 0.52
TestManagerHTTPFunction · 0.52
TestPersisterFunction · 0.52
makeIdentitiesFunction · 0.52
TestGetCmdFunction · 0.52
TestDeleteCmdFunction · 0.52
TestHandleErrorFunction · 0.52
TestHandlerFunction · 0.52