type
AuthIdentity
An exact auth collection plus actor document.
Properties
| Property | Type | Description |
|---|---|---|
Collection | schema.CollectionSlug | Exact auth-enabled collection that owns Actor. |
Actor | store.Document | Authenticated document loaded from Collection. |
PreviewEpoch | uint64 | Opaque authentication lifecycle snapshot; direct callers normally leave it zero. |
How it works
Prefer identity-aware methods when an application has more than one auth collection. Actor-only compatibility methods reject ambiguous identities rather than guessing. PreviewEpoch is opaque framework lifecycle state; ordinary callers leave it zero.