method
App.CreateAuthUser
func (application *App) CreateAuthUser(
ctx context.Context,
collection string,
values store.Values,
password string,
actor *store.Document,
localeOptions ...LocaleOptions,
) (store.Document, error)Create a content document and private credential atomically.
Runs create access, field access, validation, hooks, transaction logic, password policy, and credential creation. The password never enters values or hooks.
Related types
AppA resolved application bound to operation services.
ValuesA map of field names to typed values.
DocumentA stored document with status and version metadata.
LocaleOptionsLocale selection for one single-document Local API operation.