method
App.AuthBootstrapAvailable
Report whether one-time anonymous setup is available for the configured admin collection.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
collection | string | The collection value. |
Returns
The declared result.
(bool, error)How it works
Returns false for secondary auth collections, explicit Create policies, and initialized admin collections. The atomic create transaction remains authoritative if callers race.
Full signature
func (application *App) AuthBootstrapAvailable(
ctx context.Context,
collection string,
) (bool, error)Related types
AppA resolved application bound to operation services.