OptionalauthThe number of consecutive auth-required cycles to tolerate before giving up. default is 1
OptionalauthThe maximum time (in milliseconds) to wait for a single auth phase (handler execution plus the
subsequent authentication wait). default is 30_000. Pass false to wait indefinitely for external
auth state to satisfy the requirement.
OptionalonCalled when the relay signals that authentication is required for this operation
OptionalwaitWhat authentication to wait for when the relay requires auth for this operation. default is true (any authenticated user)
Pass a pubkey (or array of pubkeys) to wait until those specific users are authenticated.
D-05 mixin: the shared set of auth-related options intersected into every operation's option type (
RelayReqOptions,PublishOptions,RelayCountOptions,RelaySyncOptions) sowaitForAuthand its siblings are declared exactly once.