Calls the resolver server-side with authentication (always reads the refresh cookie). Use in Server Components.
Resolves to null when authorized: true and there is no session — guard it, or gate the page ahead of it.
OptionalauthorizedCalls the resolver server-side. For authorized queries, reads the refresh cookie; for non-authorized, passes null userId.
Resolves to null when authorized: true and there is no session.
OptionalinputOptionalinputOptionalmutationOptionaloutput
Full query/mutation definition returned by resolver. Contains the resolver function, plus
.call()and.authCall()for direct server-side invocation.