Higher-order hook that wraps a callback with unauthenticated enforcement.
This ensures that the wrapped function can only be called when the user is not signed in.
Type Parameters
TArgsextendsunknown[]
Array type representing the arguments of the callback
TReturn
Type representing the return value of the callback
Higher-order hook that wraps a callback with unauthenticated enforcement. This ensures that the wrapped function can only be called when the user is not signed in.