interface
AuthBootstrapTransaction
Serialize and atomically create the first admin credential.
Properties
| Property | Type | Description |
|---|---|---|
CreateFirstAuthCredential | func(context.Context, | The CreateFirstAuthCredential value. |
How it works
Must atomically confirm that the new document is the only active user before commit.
Full signature
type AuthBootstrapTransaction interface {
CreateFirstAuthCredential(context.Context, schema.Collection, string, []byte, bool) error
}