Alokai
You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x

getUserIdFromRequest

Signature

getUserIdFromRequest: (
	options: {
    req: MiddlewareContext["req"] & {
        cookies: Record<string,
	string>;
    };
    props?: {
        userId?: string;
    };
}
) => any

Parameters

NameRequiredTypeDescription
optionsRequired{ req: MiddlewareContext["req"] & { cookies: Record<string, string>; }; props?: { userId?: string; }; }

Referenced Types

  • MiddlewareContext

On this page