interface
AuthBootstrapTransaction
type AuthBootstrapTransaction interface {
CreateFirstAuthCredential(context.Context, schema.Collection, string, []byte, bool) error
}Serialize and atomically create the first admin credential.
CreateFirstAuthCredentialfunc(context.Context, schema.Collection, string, []byte, bool) error- The CreateFirstAuthCredential value.
Must atomically confirm that the new document is the only active user before commit.