AuthProcedureMeta
The meta keys the adapter reads. Pass it to initTRPC.meta<...>() (or
intersect it with your own meta type) to have them checked.
Extends
Section titled “Extends”Properties
Section titled “Properties”
readonlyoptionalauth?:"public"
The nestjs-trpc guard: no session needed. CSRF still applies.
rateLimit?
Section titled “rateLimit?”
readonlyoptionalrateLimit?:"exempt"
Inherited from
Section titled “Inherited from”touch?
Section titled “touch?”
readonlyoptionaltouch?:false
false: a call to this procedure does not count as activity for the
session’s idle timeout (a poll the page makes on a timer). The session
is still validated and the procedure’s guards still apply. A batch
touches when any of its procedures does.
twoFactorEnrollment?
Section titled “twoFactorEnrollment?”
readonlyoptionaltwoFactorEnrollment?:boolean
An enrollment-only session (the two-factor plugin’s enforcement,
past the grace window) may call this procedure: mark the enrollment
procedures and what a user needs on the way (status, re-authentication,
sign out). Every other procedure refuses such a session with
two_factor_enrollment_required. It opens nothing else.