supertokens-node
    Preparing search index...

    Interface SessionEventV2

    interface SessionEventV2 {
        body?: string;
        cookies?: string[];
        headers: APIGatewayProxyEventHeaders;
        isBase64Encoded: boolean;
        pathParameters?: APIGatewayProxyEventPathParameters;
        queryStringParameters?: APIGatewayProxyEventQueryStringParameters;
        rawPath: string;
        rawQueryString: string;
        requestContext: {
            accountId: string;
            apiId: string;
            authorizer?: {
                jwt: {
                    claims: { [name: string]: string | number | boolean | string[] };
                    scopes: string[];
                };
            };
            domainName: string;
            domainPrefix: string;
            http: {
                method: string;
                path: string;
                protocol: string;
                sourceIp: string;
                userAgent: string;
            };
            requestId: string;
            routeKey: string;
            stage: string;
            time: string;
            timeEpoch: number;
        };
        routeKey: string;
        session?: SessionContainer;
        stageVariables?: APIGatewayProxyEventStageVariables;
        supertokens: {
            response: {
                cookies: string[];
                headers: {
                    allowDuplicateKey: boolean;
                    key: string;
                    value: string
                    | number
                    | boolean;
                }[];
            };
        };
        version: string;
    }

    Hierarchy

    • SupertokensLambdaEventV2
      • SessionEventV2
    Index

    Properties

    body?: string
    cookies?: string[]
    headers: APIGatewayProxyEventHeaders
    isBase64Encoded: boolean
    pathParameters?: APIGatewayProxyEventPathParameters
    queryStringParameters?: APIGatewayProxyEventQueryStringParameters
    rawPath: string
    rawQueryString: string
    requestContext: {
        accountId: string;
        apiId: string;
        authorizer?: {
            jwt: {
                claims: { [name: string]: string | number | boolean | string[] };
                scopes: string[];
            };
        };
        domainName: string;
        domainPrefix: string;
        http: {
            method: string;
            path: string;
            protocol: string;
            sourceIp: string;
            userAgent: string;
        };
        requestId: string;
        routeKey: string;
        stage: string;
        time: string;
        timeEpoch: number;
    }
    routeKey: string
    stageVariables?: APIGatewayProxyEventStageVariables
    supertokens: {
        response: {
            cookies: string[];
            headers: {
                allowDuplicateKey: boolean;
                key: string;
                value: string | number | boolean;
            }[];
        };
    }
    version: string