type

AuthContext

Exact actor, operation, request, and LocalAPI state for an auth rule or hook.

Source ridu.go:50

Contextcontext.Context
Carries request cancellation and deadlines.
OperationAuthOperation
Identifies the authentication lifecycle boundary.
CollectionIDschema.StableID
Identifies the target auth collection.
User*store.Document
The current user when one has been resolved.
Identitystring
The normalized login identity when applicable.
IPAddressstring
The resolved direct or trusted-forwarded client address.
UserAgentstring
The request user-agent metadata.
Local*LocalAPI
Enters ordinary access-controlled content operations.

Passwords, bearer tokens, reset tokens, and API keys are intentionally never included.