method

App.AuthInitialized

func (application *App) AuthInitialized( ctx context.Context, collection string, ) (initialized bool, err error)

Report whether an auth collection has any active account.

Source core/auth.go:88

@param ctx
The ctx value.
@param collection
The collection value.
@returns
The declared result.

Used for the one-time first-user bootstrap flow. It is not a general user-count API.

Related types

  • App

    A resolved application bound to operation services.