method

App.CreateAuthUserWithOptions

func (application *App) CreateAuthUserWithOptions( ctx context.Context, collection string, values store.Values, password string, options MutationOptions, ) (store.Document, error)

Create an auth document and credential with exact identity and response-selection controls.

Source core/auth.go:140

@param ctx
The ctx value.
@param collection
The collection value.
@param values
The values value.
@param password
The password value.
@param options
The options value.
@returns
The declared result.

Related types

  • App

    A resolved application bound to operation services.

  • Values

    A map of field names to typed values.

  • MutationOptions

    Authorization, optimistic concurrency, response population, create status, and locale controls for one write.

  • Document

    A stored document with status and version metadata.